summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update geoip and geoip6 to the April 2 2019 database.geoip-2019-04-02Karsten Loesing2019-04-03
|
* test: Backport the 0.3.4 src/test/test-network.sh to 0.2.9teor2019-03-22
| | | | | | We need a recent test-network.sh to use new chutney features in CI. Fixes bug 29703; bugfix on 0.2.9.1-alpha.
* Merge remote-tracking branch 'tor-github/pr/774' into maint-0.2.9teor2019-03-20
|\
| * test/sr: Clear SRVs after init, and before setupteor2019-03-18
| | | | | | | | | | | | | | Already merged to 0.4.0 and later in tor-github/pr/776. Backported to 0.2.9 and later with minor comment changes. Part of 29706.
| * test/sr: Free SRVs before replacing them in test_sr_setup_srv()teor2019-03-09
| | | | | | | | | | | | | | Stop leaking parts of the shared random state in the shared-random unit tests. The previous fix in 29599 was incomplete. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
* | Merge remote-tracking branch 'tor-github/pr/770' into maint-0.2.9teor2019-03-14
|\ \
| * | Fix a pair of errors in bug23512Nick Mathewson2018-09-20
| | |
| * | Bug 23512: Test recording bytes in circ queues.Mike Perry2018-09-17
| | |
| * | Bug 23512: Changes file.Mike Perry2018-09-17
| | |
| * | Bug 23512: Report queued cells on or circs as written.Mike Perry2018-09-17
| | | | | | | | | | | | | | | This avoids asymmetry in our public relay stats, which can be exploited for guard discovery and other attacks.
| * | Promote rep_hist bw functions to uint64_t.Mike Perry2018-09-17
| | | | | | | | | | | | | | | The rest of rephist uses uint64_t internally. Let's make these take it too, so we don't have to worry about overflowing size_t on 32 bit systems.
* | | Merge remote-tracking branch 'tor-github/pr/765' into maint-0.2.9teor2019-03-14
|\ \ \
| * | | circuit: Don't timeout opened C_INTRODUCING circuitDavid Goulet2017-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A circuit with purpose C_INTRODUCING means that its state is opened but the INTRODUCE1 cell hasn't been sent yet. We shouldn't consider that circuit when looking for timing out "building circuit". We have to wait on the rendezvous circuit to be opened before sending that cell so the intro circuit needs to be kept alive for at least that period of time. This patch makes that the purpose C_INTRODUCING is ignored in the circuit_expire_building() which means that we let the circuit idle timeout take care of it if we end up never using it. Fixes #23681 Signed-off-by: David Goulet <dgoulet@torproject.org>
* | | | Merge remote-tracking branch 'tor-github/pr/746' into maint-0.2.9teor2019-03-14
|\ \ \ \
| * | | | Bug 25733: Avoid assert failure if all circuits time out.Mike Perry2019-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to #23100, we were not counting HS circuit build times in our calculation of the timeout. This could lead to a condition where our timeout was set too low, based on non HS circuit build times, and then we would abandon all HS circuits, storing no valid timeouts in the histogram. This commit avoids the assert.
* | | | | Merge remote-tracking branch 'tor-github/pr/510' into maint-0.2.9teor2019-03-14
|\ \ \ \ \
| * | | | | Windows: fix uname on recent Windows versionsteor2018-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correctly identify Windows 8.1, Windows 10, and Windows Server 2008 and later from their NT versions. On recent Windows versions, the GetVersionEx() function may report an earlier Windows version than the running OS. To avoid user confusion, add "[or later]" to Tor's version string on affected versions of Windows. Remove Windows versions that were never supported by the GetVersionEx() function. Stop duplicating the latest Windows version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34; reported by Keifer Bly.
* | | | | | Merge remote-tracking branch 'tor-github/pr/331' into maint-0.2.9teor2019-03-14
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | In conditionvar_timeout test, wait for threads to timeoutNick Mathewson2018-09-13
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we just waited 200msec, which was not enough on slow/busy systems. Fixes bug 27073; bugfix on 0.2.6.3-alpha when the test was introduced.
* | | | | 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.