summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update geoip and geoip6 to the March 4 2019 database.geoip-2019-03-04Karsten Loesing2019-03-06
|
* Merge remote-tracking branch 'tor-github/pr/749' into maint-0.2.9teor2019-03-01
|\
| * When extending a circuit's path length, clear onehop_tunnel.Nick Mathewson2018-03-26
| | | | | | | | | | | | | | There was a nonfatal assertion in pathbias_should_count that would trigger if onehop_tunnel was set, but the desired_path_length was greater than 1. This patch fixes that. Fixes bug 24903; bugfix on 0.2.5.2-alpha.
* | Merge remote-tracking branch 'tor-github/pr/748' into maint-0.2.9teor2019-03-01
|\ \
| * | test: Bump to 10 msec gap in the monotonic testDavid Goulet2018-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On slow system, 1 msec between one read and the other was too tight. For instance, it failed on armel with a 4msec gap: https://buildd.debian.org/status/package.php?p=tor&suite=experimental Increase to 10 msec for now to address slow system. It is important that we keep this OP_LE test in so we make sure the msec/usec/nsec read aren't desynchronized by huge gaps. We'll adjust again if we ever encounter a system that goes slower than 10 msec between calls. Fixes #25113 Signed-off-by: David Goulet <dgoulet@torproject.org>
* | | Merge remote-tracking branch 'tor-github/pr/747' into maint-0.2.9teor2019-03-01
|\ \ \
| * | | Make circuit_log_ancient_one_hop_circuits() ignore established service ↵David Goulet2018-02-05
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rendezvous Services can keep rendezvous circuits for a while so don't log them if tor is a single onion service. Fixes #25116 Signed-off-by: David Goulet <dgoulet@torproject.org>
* | | test/shared-random: Stop leaking shared random state in the unit teststeor2019-02-27
| | | | | | | | | | | | | | | | | | | | | Stop leaking parts of the shared random state in the shared-random unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
* | | Fix a compiler warning on OpenBSDKris Katterjohn2019-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | malloc_options needs to be declared extern (and declaring it extern means we need to initialize it separately) Fixes bug 29145; bugfix on 0.2.9.3-alpha Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
* | | Update geoip and geoip6 to the February 5 2019 database.geoip-2019-02-05Karsten Loesing2019-02-12
| | |
* | | maint-0.2.9: remove changes files that are merged in 0.2.9 releasesNick Mathewson2019-01-23
| | | | | | | | | | | | | | | Many of these files cause check-changes to fail, which will be a long-term problem as we continue to support 0.2.9.
* | | rend: stop warning when clients send multiple rend establish cellsteor2019-01-10
| | | | | | | | | | | | | | | | | | | | | | | | Stop logging "Tried to establish rendezvous on non-OR circuit..." as a warning. Instead, log it as a protocol warning, because there is nothing that relay operators can do to fix it. Fixes bug 29029; bugfix on 0.2.5.7-rc.
* | | Update geoip and geoip6 to the January 3 2019 database.geoip-2019-01-03Karsten Loesing2019-01-07
| | |
* | | Merge branch 'bug21394_029_redux' into maint-0.2.9Nick Mathewson2019-01-04
|\ \ \
| * | | Bug 21394 touchup: Increase DNS attempts to 3Dhalgren2018-04-04
| | | | | | | | | | | | | | | | Also don't give up on a resolver as quickly if multiple are configured.
* | | | Note ticket number in changes file for 24803Nick Mathewson2018-12-11
| | | |
* | | | Fallbacks: Update the hard-coded fallback list in December 2018teor2018-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fallbacks: Update the hard-coded fallback list in December 2018teor2018-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Update geoip and geoip6 to the December 5 2018 database.geoip-2018-12-05Karsten Loesing2018-12-05
| | | |
* | | | Merge remote-tracking branch 'public/bug24104_029_squashed' into maint-0.2.9Nick Mathewson2018-11-15
|\ \ \ \ | | | | | | | | | | | | | | | Resolved conflicts with the 26269 fix in 015fcd0e1191aa6f.
| * | | | Test for descriptor does not change when hibernatingjuga02018-09-01
| | | | |
| * | | | Add missing router_tests to test.hjuga02018-09-01
| | | | |
| * | | | Check descriptor bandwidth changed if not hibernatingjuga02018-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | There should be a separate check to update descriptor when start or end hibernating.
| * | | | Add test for check_descriptor_bandwidth_changedjuga02018-09-01
| | | | |
| * | | | Allow mocking rep_hist_bandwidth_assessjuga02018-09-01
| | | | |
| * | | | Add test log helpers for msgs not containing strjuga02018-09-01
| | | | |
| * | | | Add changes filejuga02018-09-01
| | | | |
| * | | | Make bandwidth change factor a constantjuga02018-09-01
| | | | | | | | | | | | | | | | | | | | used to determine large changes in bandwidth.
| * | | | Check bandwidth changes only if small uptimejuga02018-06-03
| | | | | | | | | | | | | | | | | | | | to upload a new descriptor.
* | | | | Merge branch 'bug28413_029' into maint-0.2.9Nick Mathewson2018-11-13
|\ \ \ \ \
| * | | | | Fix a compiler warning in aes.c.Nick Mathewson2018-11-12
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently some freebsd compilers can't tell that 'c' will never be used uninitialized. Fixes bug 28413; bugfix on 0.2.9.3-alpha when we added support for longer AES keys to this function.
* | | | | Fix a bug in usage of SSL_set1_groups_list()Nick Mathewson2018-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, even though the manpage says it returns an int, it can return a long instead and cause a warning. Bug not in any released Tor. Part of #28399
* | | | | Update geoip and geoip6 to the November 6 2018 database.geoip-2018-11-06Karsten Loesing2018-11-11
| | | | |
* | | | | Merge branch 'bug28245_029' into maint-0.2.9Nick Mathewson2018-11-09
|\ \ \ \ \
| * | | | | Always declare groups when building with openssl 1.1.1 APIsNick Mathewson2018-11-09
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Failing to do on clients was causing TLS 1.3 negotiation to fail. Fixes bug 28245; bugfix on 0.2.9.15, when we added TLS 1.3 support.
* | | | | Merge remote-tracking branch 'tor-github/pr/436' into maint-0.2.9Nick Mathewson2018-10-31
|\ \ \ \ \
| * | | | | Treat backtrace test failures as expected on most BSD-derived systemsteor2018-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat backtrace test failures as expected on NetBSD, OpenBSD, and macOS/Darwin, until we solve bug 17808. (FreeBSD failures have been treated as expected since 18204 in 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
* | | | | | Fix two other cases of (buf + N > end) patternNick Mathewson2018-10-25
| | | | | | | | | | | | | | | | | | | | | | | | Related to fix for 28202.
* | | | | | Fix possible UB in an end-of-string check in get_next_token().Nick Mathewson2018-10-25
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember, you can't check to see if there are N bytes left in a buffer by doing (buf + N < end), since the buf + N computation might take you off the end of the buffer and result in undefined behavior. Fixes 28202; bugfix on 0.2.0.3-alpha.
* | | | | Fix make check-spaces.Nick Mathewson2018-10-15
| | | | |
* | | | | Merge branch 'bug27709_029' into maint-0.2.9Nick Mathewson2018-10-15
|\ \ \ \ \
| * | | | | Explain a bit more about branch prediction in the unit-test caseNick Mathewson2018-10-15
| | | | | |
| * | | | | Revise our assertion and bug macros to work with -WparenthesesNick Mathewson2018-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On GCC and Clang, there's a feature to warn you about bad conditionals like "if (a = b)", which should be "if (a == b)". However, they don't warn you if there are extra parentheses around "a = b". Unfortunately, the tor_assert() macro and all of its kin have been passing their inputs through stuff like PREDICT_UNLIKELY(expr) or PREDICT_UNLIKELY(!(expr)), both of which expand to stuff with more parentheses around "expr", thus suppressing these warnings. To fix this, this patch introduces new macros that do not wrap expr. They're only used when GCC or Clang is enabled (both define __GNUC__), since they require GCC's "({statement expression})" syntax extension. They're only used when we're building the unit-test variant of the object files, since they suppress the branch-prediction hints. I've confirmed that tor_assert(), tor_assert_nonfatal(), tor_assert_nonfatal_once(), BUG(), and IF_BUG_ONCE() all now give compiler warnings when their argument is an assignment expression. Fixes bug 27709. Bugfix on 0.0.6, where we first introduced the "tor_assert()" macro.
* | | | | | Merge remote-tracking branch 'tor-github/pr/392' into maint-0.2.9Nick Mathewson2018-10-10
|\ \ \ \ \ \
| * | | | | | Travis: use the Homebrew addonteor2018-09-18
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the Travis Homebrew addon to install packages on macOS. The package list is the same, but the Homebrew addon does not do a `brew update` by default. This makes builds faster, at the cost of using slightly older packages. Implements ticket 27738.
* | | | | | Update geoip and geoip6 to the October 9 2018 database.geoip-2018-10-09Karsten Loesing2018-10-10
| | | | | |
* | | | | | protover: reject invalid protocol namescypherpunks2018-09-14
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec only allows the characters [A-Za-z0-9-]. Fix on b2b2e1c7f24d9b65059e3d089768d6c49ba4f58f. Fixes #27316; bugfix on 0.2.9.4-alpha.
* | | | | Merge branch 'bug27658_029' into maint-0.2.9Nick Mathewson2018-09-13
|\ \ \ \ \
| * | | | | Check waitpid return value and exit status in tinytest.cNick Mathewson2018-09-12
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible for a unit test to report success via its pipe, but to fail as it tries to clean up and exit. Notably, this happens on a leak sanitizer failure. Fixes bug 27658; bugfix on 0.2.2.4-alpha when tinytest was introduced.
* | | | | Merge remote-tracking branch 'teor/ticket27252-029' into maint-0.2.9Nick Mathewson2018-09-11
|\ \ \ \ \