aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-01-14Rework rep_hist_log_link_protocol_counts()rl1987
2019-01-11Merge remote-tracking branch 'tor-github/pr/563' into maint-0.3.5Nick Mathewson
2019-01-09Merge remote-tracking branch 'tor-github/pr/636' into maint-0.3.5Nick Mathewson
2019-01-09Stop logging 'Your Guard' in circpathbias.crl1987
2019-01-09Fix (and make consistent) the use of OpenBSD preprocessor macro testsKris Katterjohn
Prior to this commit, the testsuite was failing on OpenBSD. After this commit the testsuite runs fine on OpenBSD. It was previously decided to test for the OpenBSD macro (rather than __OpenBSD__, etc.) because OpenBSD forks seem to have the former macro defined. sys/param.h must be included for the OpenBSD macro definition; however, many files tested for the OpenBSD macro without having this header included. This commit includes sys/param.h in the files where the OpenBSD macro is used (and sys/param.h is not already included), and it also changes some instances of the __OpenBSD__ macro to OpenBSD. See commit 27df23abb675ffeb198bf0c1cc85c4baed77a988 which changed everything to use OpenBSD instead of __OpenBSD__ or OPENBSD. See also tickets #6982 and #20980 (the latter ticket is where it was decided to use the OpenBSD macro). Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2019-01-07Update to 0.3.5.7-devNick Mathewson
2019-01-07Fix tor_ersatz_socketpair on IPv6-only systemsKris Katterjohn
In get_local_listener used by tor_ersatz_socketpair, the address family used when binding the IPv6 socket was AF_INET instead of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2019-01-07Bump version to 0.3.5.7Nick Mathewson
2019-01-07Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2019-01-07Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2019-01-07Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2019-01-07Update geoip and geoip6 to the January 3 2019 database.Karsten Loesing
2019-01-04Merge branch 'bug21394_029_redux' into maint-0.2.9Nick Mathewson
2019-01-04Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2019-01-04Merge remote-tracking branch 'dgoulet/ticket28619_033_01' into maint-0.3.3Nick Mathewson
2019-01-04Merge branch 'ticket27750_034_01_squashed' into maint-0.3.4Nick Mathewson
2019-01-03Merge branch 'ticket28879' into maint-0.3.5Nick Mathewson
2019-01-03Merge branch 'ticket28851_035_squashed' into maint-0.3.5Nick Mathewson
2019-01-03Stop re-checking our hardcoded dh parameters on every startupNick Mathewson
Closes ticket 28851.
2019-01-03Merge remote-tracking branch 'public/ticket28838_035' into maint-0.3.5Nick Mathewson
2019-01-03Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2019-01-03Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2019-01-03Detect openssl bug 7712 and work around it.Nick Mathewson
In theory it would be better to detect this bug in advance, but this approach is much simpler, and therefore safer to backport. This closes tor issue 28973.
2019-01-02Add an errno.h include to freespace.c to fix bug 28974.Nick Mathewson
2018-12-21Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-12-21mainloop: Reactivate the linked connection event with a non empty listDavid Goulet
Linked connections aren't woken up by libevent due to I/O but rather artificially so we can, by chunks, empty the spooled object(s). Commit 5719dfb48f87a54aeb5982ff03345303bc058ebb (in 0.3.4.1-alpha) made it that the schedule_active_linked_connections_event would be only called once at startup but this is wrong because then we would never go through again the active linked connections. Fortunately, everytime a new linked connection is created, the event is activated and thus we would go through the active list again. On a busy relay, this issue is mitigated by that but on a slower relays or bridge, a connection could get stuck for a while until a new directory information request would show up. Fixes #28717, #28912
2018-12-19Merge branch 'ticket28883_035' into maint-0.3.5Nick Mathewson
2018-12-18Merge branch 'bug28612_squashed' into maint-0.3.5Nick Mathewson
2018-12-18Call run_tor_main_loop() in ntmain.c, rather than do_main_loop().Nick Mathewson
Fixes bug 28612; bugfix on 0.3.5.3-alpha.
2018-12-18Merge branch 'ticket28881_035' into maint-0.3.5Nick Mathewson
2018-12-18Always initialize addr in parse_port_config()Nick Mathewson
It was always analyzed before use, but scan-build wasn't able to persuade itself of that. Closes ticket 28881.
2018-12-18Bump version to 0.3.5.6-rc-devNick Mathewson
2018-12-18Revert "Log bootstrap tag names"Nick Mathewson
This reverts commit 1b855af5e33189d70d74273af03a535c343b63a5.
2018-12-18Bump to 0.3.5.6-rcNick Mathewson
2018-12-17Create a temporary directory for tor's DataDirectory in test_rebind.Taylor R Campbell
Fixes #28562. While here, put the argument count test and usage message _before_ we attempt to read from sys.argv.
2018-12-17test_rebind: wait for tor to timeout, even if it is logging a lotNick Mathewson
Fixes bug 28883; bugfix on 0.3.5.4-alpha.
2018-12-17Check hostname before using it in send_resolved_hostname_cell()Nick Mathewson
Also, turn an absent hostname into a BUG(), not a crash. Found by scan-build. Closes ticket 28879; bugfix on 0.1.2.7-alpha
2018-12-13Merge remote-tracking branch 'tlyu-github/ticket28731-035' into maint-0.3.5Nick Mathewson
2018-12-13Lower the loop_max constant in curve25519_basepoint_spot_check()Nick Mathewson
The point of this function is to make sure that the ed25519-based implementation of curve25519_basepoint() actually works when we start tor, and use the regular fallback implementation if it doesn't. But it accounts for 9% of our startup time in the case when we have directory information, and I think it's safe to make the test shorter. After all, it has yet to find any actual bugs in curved25519_scalarmult_basepoint_donna() on any platforms. Closes ticket 28838.
2018-12-11Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-12-11Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-12-11Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-12-10Log bootstrap tag namesTaylor Yu
Add the bootstrap tag name to the log messages, so people troubleshooting connection problems can look up a symbol instead of a number. Closes ticket 28731.
2018-12-10Fallbacks: Update the hard-coded fallback list in December 2018teor
Merge Phoul's two lists into teor's list. Replace the 150 fallbacks originally introduced in Tor 0.3.3.1-alpha in January 2018 (of which ~115 were still functional), with a list of 157 fallbacks (92 new, 65 existing, 85 removed) generated in December 2018. Closes ticket 24803.
2018-12-07Fallbacks: Update the hard-coded fallback list in December 2018teor
Replace the 150 fallbacks originally introduced in Tor 0.3.3.1-alpha in January 2018 (of which ~115 were still functional), with a list of 148 fallbacks (89 new, 59 existing, 91 removed) generated in December 2018. Closes ticket 24803.
2018-12-06Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-12-06Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-12-06Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-12-05Update geoip and geoip6 to the December 5 2018 database.Karsten Loesing
2018-12-05Merge remote-tracking branch 'tor-github/pr/546' into maint-0.3.5Nick Mathewson