summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update geoip and geoip6 to the May 13 2019 database.geoip-2019-05-13Karsten Loesing2019-05-17
|
* Merge remote-tracking branch 'tor-github/pr/792' into maint-0.2.9teor2019-04-19
|\
| * relays shouldn't close idle rend circuitsRoger Dingledine2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | Allow connections to single onion services to remain idle without being disconnected. Relays acting as rendezvous points for single onion services were mistakenly closing idle established rendezvous circuits after 60 seconds, thinking that they are unused directory-fetching circuits that had served their purpose. Fixes bug 29665; bugfix on 0.2.1.26.
* | Merge remote-tracking branch 'tor-github/pr/772' into maint-0.2.9teor2019-04-19
|\ \
| * | hs-v2: Copy needed information between service on prunningDavid Goulet2019-03-08
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out that when reloading a tor configured with hidden service(s), we weren't copying all the needed information between the old service object to the new one. For instance, the desc_is_dirty timestamp wasn't which could lead to the service uploading its descriptor much later than it would need to. The replaycache wasn't also moved over and some intro point information as well. Fixes #23790 Signed-off-by: David Goulet <dgoulet@torproject.org>
* | Merge remote-tracking branch 'tor-github/pr/902' into maint-0.2.9teor2019-04-06
|\ \
| * | Do not cache bogus results from classifying client ciphersNick Mathewson2019-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When classifying a client's selection of TLS ciphers, if the client ciphers are not yet available, do not cache the result. Previously, we had cached the unavailability of the cipher list and never looked again, which in turn led us to assume that the client only supported the ancient V1 link protocol. This, in turn, was causing Stem integration tests to stall in some cases. Fixes bug 30021; bugfix on 0.2.4.8-alpha.
* | | Merge remote-tracking branch 'tor-github/pr/877' into maint-0.2.9teor2019-04-06
|\ \ \ | |/ / |/| |
| * | Makefile: actually, don't delete the gcno filesteor2019-04-05
| | | | | | | | | | | | We need to keep the gcno files, because they are created at compile time.
| * | Makefile: delete all the gcov-related files in reset-gcovteor2019-04-01
| | | | | | | | | | | | | | | | | | | | | And fix a comment. See: https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html#Gcov-Data-Files
| * | changes: Use the first Tor version with CI coverage for the 29036 changes fileteor2019-04-01
| | | | | | | | | | | | Otherwise, "make check-changes" will complain when we backport the change.
| * | Handle errors from coveralls more gracefully.Alexander Færøy2019-03-20
| | | | | | | | | | | | | | | | | | | | | | | | Since we have moved coveralls to the script target the entire build will now fail if coveralls fail. We handle it more gracefully by echo'ing the failure instead of doing a hard-failure. See: https://bugs.torproject.org/29036
| * | Run `make reset-gcov` after the script target in Travis CI is done.Alexander Færøy2019-03-20
| | | | | | | | | | | | | | | | | | | | | This should ensure that GCDA files are never entering the cache of Travis CI. See: https://bugs.torproject.org/29036
* | | 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.