]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Mon, 18 Mar 2019 01:28:34 +0000 (11:28 +1000)]
test/sr: update sr_state_free() to sr_state_free_all() in a comment
teor [Mon, 18 Mar 2019 01:27:59 +0000 (11:27 +1000)]
Merge branch 'bug29706_029_minimal' into bug29706_034_minimal_merge
teor [Mon, 18 Mar 2019 01:12:25 +0000 (11:12 +1000)]
test/sr: Clear SRVs after init, and before setup
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.
teor [Wed, 13 Mar 2019 20:56:38 +0000 (06:56 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:56:09 +0000 (06:56 +1000)]
Merge remote-tracking branch 'tor-github/pr/795' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:55:57 +0000 (06:55 +1000)]
Merge remote-tracking branch 'tor-github/pr/794' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:53:17 +0000 (06:53 +1000)]
Merge branch 'bug28096-029-squashed' into bug28096-034-squashed
Merge the new code, and preserve the #else macro comment from 0.3.4.
teor [Wed, 13 Mar 2019 20:47:32 +0000 (06:47 +1000)]
Merge remote-tracking branch 'nickm/bug27073_029' into bug27073_034
Replace == with OP_EQ in test macros.
teor [Wed, 13 Mar 2019 20:41:14 +0000 (06:41 +1000)]
Merge remote-tracking branch 'tor-github/pr/771' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:37:50 +0000 (06:37 +1000)]
Merge remote-tracking branch 'tor-github/pr/770' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:37:17 +0000 (06:37 +1000)]
Merge remote-tracking branch 'tor-github/pr/765' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:36:47 +0000 (06:36 +1000)]
Merge remote-tracking branch 'tor-github/pr/746' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:36:11 +0000 (06:36 +1000)]
Merge remote-tracking branch 'tor-github/pr/510' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:35:05 +0000 (06:35 +1000)]
Merge remote-tracking branch 'tor-github/pr/331' into maint-0.2.9
teor [Sat, 9 Mar 2019 00:50:07 +0000 (10:50 +1000)]
test/sr: Free SRVs before replacing them in test_sr_setup_srv()
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.
teor [Fri, 8 Mar 2019 09:37:18 +0000 (19:37 +1000)]
Merge branch 'bug23512-v4-029-fixes-keep-typedef' into bug23512-v4-034-fixes
Nick Mathewson [Wed, 6 Mar 2019 19:29:33 +0000 (14:29 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 6 Mar 2019 19:29:29 +0000 (14:29 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Wed, 6 Mar 2019 10:45:27 +0000 (11:45 +0100)]
Update geoip and geoip6 to the March 4 2019 database.
teor [Fri, 1 Mar 2019 04:16:22 +0000 (14:16 +1000)]
Merge branch 'maint-0.3.3' into maint-0.3.4
teor [Fri, 1 Mar 2019 04:15:59 +0000 (14:15 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.3
teor [Fri, 1 Mar 2019 04:15:00 +0000 (14:15 +1000)]
Merge remote-tracking branch 'tor-github/pr/749' into maint-0.2.9
teor [Fri, 1 Mar 2019 04:14:51 +0000 (14:14 +1000)]
Merge remote-tracking branch 'tor-github/pr/748' into maint-0.2.9
teor [Fri, 1 Mar 2019 04:14:26 +0000 (14:14 +1000)]
Merge remote-tracking branch 'tor-github/pr/747' into maint-0.2.9
Mike Perry [Mon, 16 Apr 2018 22:49:27 +0000 (22:49 +0000)]
Bug 25733: Avoid assert failure if all circuits time out.
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.
teor [Thu, 28 Feb 2019 00:49:19 +0000 (10:49 +1000)]
Merge branch 'maint-0.3.3' into maint-0.3.4
teor [Thu, 28 Feb 2019 00:48:46 +0000 (10:48 +1000)]
Merge remote-tracking branch 'tor-github/pr/731' into maint-0.3.3
teor [Thu, 28 Feb 2019 00:45:44 +0000 (10:45 +1000)]
Merge branch 'maint-0.3.3' into maint-0.3.4
teor [Thu, 28 Feb 2019 00:45:30 +0000 (10:45 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.3
teor [Wed, 27 Feb 2019 04:57:35 +0000 (14:57 +1000)]
test/shared-random: use sr_state_free_all() rather than sr_state_free()
sr_state_free() was renamed to sr_state_free_all() between 0.2.9 and 0.3.3.
Part of 29599.
teor [Wed, 27 Feb 2019 05:06:39 +0000 (15:06 +1000)]
Merge branch 'bug29599_029' into bug29599_033
teor [Tue, 26 Feb 2019 12:14:30 +0000 (22:14 +1000)]
test/shared-random: Stop leaking shared random state in the unit tests
Stop leaking parts of the shared random state in the shared-random unit
tests.
Fixes bug 29599; bugfix on 0.2.9.1-alpha.
teor [Tue, 26 Feb 2019 23:37:50 +0000 (09:37 +1000)]
Merge branch 'maint-0.3.3' into maint-0.3.4
teor [Tue, 26 Feb 2019 23:37:36 +0000 (09:37 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Thu, 21 Feb 2019 18:23:46 +0000 (13:23 -0500)]
Bump to 0.3.4.11-dev
Nick Mathewson [Thu, 21 Feb 2019 18:23:22 +0000 (13:23 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"ours" to avoid version bump
Nick Mathewson [Thu, 21 Feb 2019 18:22:56 +0000 (13:22 -0500)]
Bump to 0.3.3.12-dev
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
David Goulet [Thu, 24 Jan 2019 15:52:08 +0000 (10:52 -0500)]
kist: Don't write above the highwater outbuf mark
KIST works by computing how much should be allowed to write to the kernel for
a given socket, and then it writes that amount to the outbuf.
The problem is that it could be possible that the outbuf already has lots of
data in it from a previous scheduling round (because the kernel is full/busy
and Tor was not able to flush the outbuf yet). KIST ignores that the outbuf
has been filling (is above its "highwater") and writes more anyway. The end
result is that the outbuf length would exceed INT_MAX, hence causing an
assertion error and a corresponding "Bug()" message to get printed to the
logs.
This commit makes it for KIST to take into account the outbuf length when
computing the available space.
Bug found and patch by Rob Jansen.
Closes #29168. TROVE-2019-001.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 21 Feb 2019 14:50:22 +0000 (09:50 -0500)]
Bump to 0.3.4.11
Nick Mathewson [Thu, 21 Feb 2019 14:49:56 +0000 (09:49 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Feb 2019 14:49:48 +0000 (09:49 -0500)]
Update to 0.3.3.12
Kris Katterjohn [Mon, 21 Jan 2019 22:33:32 +0000 (16:33 -0600)]
Fix a compiler warning on OpenBSD
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>
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Tue, 12 Feb 2019 13:40:42 +0000 (14:40 +0100)]
Update geoip and geoip6 to the February 5 2019 database.
Roger Dingledine [Tue, 5 Feb 2019 13:09:47 +0000 (08:09 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 1 Feb 2019 15:38:23 +0000 (16:38 +0100)]
Update Cargo.lock with new comment; suppress 29244.
Nick Mathewson [Wed, 23 Jan 2019 14:51:02 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 23 Jan 2019 14:50:38 +0000 (09:50 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
"ours" merge to avoid dropping non-broken changes files after
removal of merged 0.2.9 changes files.
Nick Mathewson [Wed, 23 Jan 2019 14:48:28 +0000 (09:48 -0500)]
maint-0.2.9: remove changes files that are merged in 0.2.9 releases
Many of these files cause check-changes to fail, which will be a
long-term problem as we continue to support 0.2.9.
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
teor [Wed, 9 Jan 2019 08:00:34 +0000 (18:00 +1000)]
rend: stop warning when clients send multiple rend establish cells
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.
Nick Mathewson [Tue, 8 Jan 2019 02:17:34 +0000 (21:17 -0500)]
Update to 0.3.4.10-dev
Nick Mathewson [Tue, 8 Jan 2019 02:16:56 +0000 (21:16 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"Ours" to avoid version bump.
Nick Mathewson [Tue, 8 Jan 2019 02:16:40 +0000 (21:16 -0500)]
Update to 0.3.3.3.11-dev
Nick Mathewson [Mon, 7 Jan 2019 15:22:42 +0000 (10:22 -0500)]
Bump to 0.3.4.10
Nick Mathewson [Mon, 7 Jan 2019 15:22:13 +0000 (10:22 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"ours" merge to avoid version bump.
Nick Mathewson [Mon, 7 Jan 2019 15:21:59 +0000 (10:21 -0500)]
Bump to 0.3.3.11
Nick Mathewson [Mon, 7 Jan 2019 13:43:45 +0000 (08:43 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 7 Jan 2019 13:43:45 +0000 (08:43 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Mon, 7 Jan 2019 08:00:29 +0000 (09:00 +0100)]
Update geoip and geoip6 to the January 3 2019 database.
Nick Mathewson [Fri, 4 Jan 2019 20:04:58 +0000 (15:04 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 4 Jan 2019 20:04:58 +0000 (15:04 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Fri, 4 Jan 2019 20:04:54 +0000 (15:04 -0500)]
Merge branch 'bug21394_029_redux' into maint-0.2.9
Nick Mathewson [Fri, 4 Jan 2019 19:57:06 +0000 (14:57 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 4 Jan 2019 19:49:16 +0000 (14:49 -0500)]
Merge remote-tracking branch 'dgoulet/ticket28619_033_01' into maint-0.3.3
Nick Mathewson [Fri, 4 Jan 2019 19:34:38 +0000 (14:34 -0500)]
Merge branch 'ticket27750_034_01_squashed' into maint-0.3.4
Nick Mathewson [Thu, 3 Jan 2019 14:02:39 +0000 (09:02 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 3 Jan 2019 14:01:40 +0000 (09:01 -0500)]
Merge branch 'ticket28973_033_squashed' into maint-0.3.3
Nick Mathewson [Wed, 2 Jan 2019 19:23:42 +0000 (14:23 -0500)]
Detect openssl bug 7712 and work around it.
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.
David Goulet [Fri, 21 Dec 2018 16:17:45 +0000 (11:17 -0500)]
mainloop: Reactivate the linked connection event with a non empty list
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
Nick Mathewson [Tue, 11 Dec 2018 15:00:22 +0000 (10:00 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Tue, 11 Dec 2018 15:00:22 +0000 (10:00 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 11 Dec 2018 15:00:19 +0000 (10:00 -0500)]
Note ticket number in changes file for 24803
Nick Mathewson [Tue, 11 Dec 2018 14:41:05 +0000 (09:41 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 11 Dec 2018 14:41:04 +0000 (09:41 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
teor [Mon, 10 Dec 2018 06:56:29 +0000 (16:56 +1000)]
Fallbacks: Update the hard-coded fallback list in December 2018
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.
teor [Fri, 7 Dec 2018 06:43:10 +0000 (16:43 +1000)]
Fallbacks: Update the hard-coded fallback list in December 2018
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.
Nick Mathewson [Thu, 6 Dec 2018 14:26:32 +0000 (09:26 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 6 Dec 2018 14:26:32 +0000 (09:26 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Wed, 5 Dec 2018 20:02:39 +0000 (21:02 +0100)]
Update geoip and geoip6 to the December 5 2018 database.
Nick Mathewson [Sat, 1 Dec 2018 16:15:09 +0000 (11:15 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Alexander Færøy [Tue, 27 Nov 2018 01:35:44 +0000 (02:35 +0100)]
Explicitly specify path to OpenSSL for Appveyor.
This patch explicitly specifies the path to our OpenSSL dependency and
disables the installation of an external OpenSSL version and instead
uses the OpenSSL version available from the MinGW environments.
See: https://bugs.torproject.org/28574
David Goulet [Mon, 26 Nov 2018 19:40:22 +0000 (14:40 -0500)]
hs-v3: Do not close RP circuits when deleting an ephemeral service
Bug reported on tor-dev@ and here is the detail explanation of the issue:
https://lists.torproject.org/pipermail/tor-dev/2018-November/013558.html
Fixes bug #28619
Signed-off-by: David Goulet <dgoulet@torproject.org>
teor [Wed, 21 Nov 2018 05:56:30 +0000 (15:56 +1000)]
Test: Fix memory leaks and missing unmocks in entry guard tests
test_entry_guard_outdated_dirserver_exclusion leaks memory, and is
missing some unmocks.
Fixes 28554; bugfix on 0.3.0.1-alpha.
Nick Mathewson [Tue, 20 Nov 2018 18:10:18 +0000 (13:10 -0500)]
Merge remote-tracking branch 'teor/ticket28459-034' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 22:01:54 +0000 (17:01 -0500)]
Merge remote-tracking branch 'public/ticket27686_034' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 21:58:16 +0000 (16:58 -0500)]
Merge branch 'bug25573-034-typefix' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 21:54:56 +0000 (16:54 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 21:54:16 +0000 (16:54 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Thu, 15 Nov 2018 21:47:25 +0000 (16:47 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 21:47:22 +0000 (16:47 -0500)]
Merge branch 'bug26913_033' into maint-0.3.3
Nick Mathewson [Thu, 15 Nov 2018 21:43:50 +0000 (16:43 -0500)]
Merge remote-tracking branch 'public/bug24104_029_squashed' into maint-0.2.9
Resolved conflicts with the 26269 fix in
015fcd0e1191aa6f .
Nick Mathewson [Thu, 15 Nov 2018 21:37:41 +0000 (16:37 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 15 Nov 2018 21:37:02 +0000 (16:37 -0500)]
Merge remote-tracking branch 'dgoulet/bug27550_033_01' into maint-0.3.3
teor [Thu, 15 Nov 2018 11:04:17 +0000 (21:04 +1000)]
Appveyor: always show the logs, and upload them as build artifacts
Always show the configure and test logs, and upload them as build
artifacts, when building for Windows using Appveyor CI.
Implements 28459.
teor [Thu, 15 Nov 2018 08:57:39 +0000 (18:57 +1000)]
Appveyor: add comments to the config file
Documentation for 28399, 28454, and previous fixes.
teor [Thu, 15 Nov 2018 08:32:52 +0000 (18:32 +1000)]
Appveyor: manually add zstd flags to configure
The mingw zstd from MSYS2 doesn't come with a pkg-config file.
Fixes 28454 on Tor 0.3.4.1-alpha.