aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-14Add tor_cond_init/uninitNick Mathewson
2015-01-14Add a timeout to tor_cond_wait; add tor_cond impl from libeventNick Mathewson
The windows code may need some tweaks for it to compile; I've not tested it yet.
2015-01-14Split threading-related code out of compat.cNick Mathewson
Also, re-enable the #if'd out condition-variable code. Work queues are going to make us hack on all of this stuff a bit more closely, so it might not be a terrible idea to make it easier to hack.
2015-01-14Do not log a notice on every socks connectionNick Mathewson
2015-01-14New minimum uptime to become an HSDir is 96 hours.George Kadianakis
2015-01-13Fix new unused variable warning in connection_listener_newNick Mathewson
2015-01-13update bug12585 changes fileNick Mathewson
2015-01-13whitespace fixNick Mathewson
2015-01-13Merge remote-tracking branch 'andrea/ticket12585_v3'Nick Mathewson
2015-01-12Fix a conversion warning on 32-bit clangNick Mathewson
2015-01-12On jessie, we need a =, not a ==Nick Mathewson
2015-01-12mktemp wants some XsNick Mathewson
2015-01-12Tweak zero_length_keys.sh and test/include.am to make out-of-tree builds workNick Mathewson
2015-01-13Explicitly chmod AF_UNIX sockets to 0600 when *GroupWritable isn't specifiedAndrea Shepard
2015-01-13Remove no-longer-accurate comment from connection.cAndrea Shepard
2015-01-13Fix ipv4/ipv6 traffic bits on AF_UNIX socks listeners and remove hacky ↵Andrea Shepard
workarounds for brokenness
2015-01-12Fix default list handling for parse_unix_socket_config(); avoid clearing ↵Andrea Shepard
whole pre-existing list
2015-01-12Merge remote-tracking branch 'teor/bug13111-empty-key-files-fn-empty'Nick Mathewson
2015-01-12reindent cell_queues_check_size()Nick Mathewson
2015-01-12Merge branch 'bug13806_squashed'Nick Mathewson
Conflicts: src/or/relay.c
2015-01-12When OOM, free cached hidden service descriptors too.Nick Mathewson
2015-01-12Kill duplicated code in connection_listener_new()Andrea Shepard
2015-01-12If libsystemd-daemon.pc is not found, look for libsystemdNick Mathewson
(Thanks to toralf for noting that the build was broken, and to Sebastian for telling me that my fix still wasn't right.)
2015-01-12src/common/compat_libevent.h: include testsupport.hAnthony G. Basile
When tor is configured with --enable-bufferevents, the build fails because compat_libevent.h makes use of the macro MOCK_DECL() which is defined in testsupport.h, but not included. We add the include.
2015-01-12Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2015-01-12Merge remote-tracking branch 'public/bug14129_024' into maint-0.2.5Nick Mathewson
2015-01-11Actually remove LOCALSTATEDIR@/run/tor line from tor.service.inNick Mathewson
2015-01-11Fix build on systemdless systemsNick Mathewson
Fixes bug 14170.
2015-01-11changes file for bug13805Nick Mathewson
2015-01-11systemd changes for 13805 as recommened by Tomasz on that ticket.Nick Mathewson
2015-01-11Merge remote-tracking branch 'candrews/issue13805'Nick Mathewson
2015-01-11Fix unused-parameter warning in systemd_watchdog_callbackNick Mathewson
2015-01-11changes file for 14141Nick Mathewson
2015-01-11fix and enable systemd watchdogTomasz Torcz
There were following problems: - configure.ac wrongly checked for defined HAVE_SYSTEMD; this wasn't working, so the watchdog code was not compiled in. Replace library search with explicit version check - sd_notify() watchdog call was unsetting NOTIFY_SOCKET from env; this means only first "watchdog ping" was delivered, each subsequent one did not have socket to be sent to and systemd was killing service - after those fixes, enable Watchdog in systemd unit with one minute intervals
2015-01-11send more details about daemon status to supervisorTomasz Torcz
If running under systemd, send back information when reloading configuration and gracefully shutting down. This gives administator more information about current Tor daemon state.
2015-01-11send PID of the main daemon to supervisorTomasz Torcz
If running under systemd, notify the supervisor about current PID of Tor daemon. This makes systemd unit simpler and more robust: it will do the right thing regardless of RunAsDaemon settings.
2015-01-11Merge remote-tracking branch 'teor/nickm-bug13401'Nick Mathewson
2015-01-11Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2015-01-11Don't crash on torrc Vi[rtualAddrNetworkIPv[4|6]] with no option valueteor
Check for a missing option value in parse_virtual_addr_network before asserting on the NULL in tor_addr_parse_mask_ports. This avoids crashing on torrc lines like Vi[rtualAddrNetworkIPv[4|6]] when no value follows the option. Bugfix on 0.2.3 (de4cc126cbb5 on 24 November 2012), fixes #14142.
2015-01-10Fix tortls.c build with GCC<4.6Nick Mathewson
apparantly, "pragma GCC diagnostic push/pop" don't exist with older versions. Fixes bug in 740e592790f570c446cbb5e6d4a77f842f75; bug not in any released Tor.
2015-01-10Better workaround for CFLAGS issues from #14072; fixes #14162Nick Mathewson
When I applied patch fcc78e5f8a3249eadfea31db, I somehow broke stack trace symbols on Linux. I'll leave it to others to figure out why that happens. This should be better. Really. Fixes bug 14162; bug not in any released version of Tor.
2015-01-10Ignore warning for redundant decl in openssl/srtp.hNick Mathewson
2015-01-10Merge remote-tracking branch 'teor/fix-typos'Nick Mathewson
2015-01-10Speed up hidden service bootstrap by reducing the initial post delayteor
Drop the MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but keep the default at 30 seconds. Reduces the hidden service bootstrap to 25 seconds from around 45 seconds. Change the default src/test/test-network.sh delay to 25 seconds. Closes ticket 13401.
2015-01-10Create TestingDirAuthVoteHSDir like TestingDirAuthVoteExit/Guardteor
TestingDirAuthVoteHSDir ensures that authorities vote the HSDir flag for the listed relays regardless of uptime or ORPort connectivity. Respects the value of VoteOnHidServDirectoriesV2. Partial fix for bug 14067.
2015-01-10Smaller RendPostPeriod on test networksNick Mathewson
This patch makes the minimum 5 seconds, and the default 2 minutes. Closes 13401.
2015-01-10Merge branch 'master' of https://git.torproject.org/tor into ↵teor
bug13111-empty-key-files-fn-empty Conflicts: src/or/connection_edge.c Merged in favour of origin.
2015-01-10Test that tor correctly handles zero-length keysteor
Check that tor generates new keys, and overwrites the empty key files. Test that tor generates new keys when keys are missing (existing behaviour). Test that tor does not overwrite key files that already contain data (existing behaviour). Tests fixes to bug 13111.
2015-01-10Merge branch 'bug14001-clang-warning' into bug13111-empty-key-files-fn-emptyteor
Conflicts: src/or/router.c Choose newer comment. Merge changes to comment and function invocation.
2015-01-10Fix a minor misspelling in util.cteor