]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Fri, 13 Mar 2020 20:57:03 +0000 (16:57 -0400)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" to avoid version bump.
Nick Mathewson [Fri, 13 Mar 2020 20:56:44 +0000 (16:56 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.1
"ours" to avoid version bump.
Nick Mathewson [Fri, 13 Mar 2020 20:56:31 +0000 (16:56 -0400)]
Bump to 0.3.5.10
Nick Mathewson [Fri, 13 Mar 2020 20:56:22 +0000 (16:56 -0400)]
Bump to 0.4.1.9
Nick Mathewson [Fri, 13 Mar 2020 20:56:06 +0000 (16:56 -0400)]
Bump to 0.4.2.7.
Nick Mathewson [Fri, 13 Mar 2020 20:46:16 +0000 (16:46 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.1
Nick Mathewson [Fri, 13 Mar 2020 20:46:16 +0000 (16:46 -0400)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Fri, 13 Mar 2020 20:46:09 +0000 (16:46 -0400)]
Merge remote-tracking branch 'tor-github/pr/1693/head' into maint-0.3.5
Nick Mathewson [Fri, 13 Mar 2020 20:42:47 +0000 (16:42 -0400)]
Merge remote-tracking branch 'tor-github/pr/1718/head' into maint-0.4.2
teor [Thu, 13 Feb 2020 03:58:13 +0000 (13:58 +1000)]
Merge branch 'bug33195_041' into bug33195_042
Conflicts:
* Keep RUST_VERSION from maint-0.4.2
* Keep the commented-out allow_failure entries from bug33195_041
teor [Thu, 13 Feb 2020 03:55:55 +0000 (13:55 +1000)]
Merge branch 'bug33195_035' into bug33195_041
Conflicts:
* Keep TOR_TEST_RNG_SEED from maint-0.4.1
* Keep the ordering from bug33195_035
teor [Thu, 13 Feb 2020 03:37:02 +0000 (13:37 +1000)]
Travis: Sort jobs in order of speed
Putting the slowest jobs first takes full advantage of Travis
concurrency.
Closes 33194.
teor [Thu, 13 Feb 2020 03:22:19 +0000 (13:22 +1000)]
Travis: Remove a redundant distcheck job
Part of 33194.
teor [Thu, 13 Feb 2020 03:13:40 +0000 (13:13 +1000)]
Travis: Require the macOS IPv6 chutney job
The job was previously set to fast_finish / allow_failure, to
speed up the build.
Closes ticket 33195.
teor [Wed, 12 Feb 2020 02:22:04 +0000 (12:22 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Wed, 12 Feb 2020 02:21:57 +0000 (12:21 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.1
Alexander Færøy [Wed, 15 Jan 2020 17:18:30 +0000 (17:18 +0000)]
Lowercase the BridgeDistribution value from torrc in descriptors.
This patch ensures that we always lowercase the BridgeDistribution from
torrc in descriptors before submitting it.
See: https://bugs.torproject.org/32753
teor [Wed, 12 Feb 2020 02:18:59 +0000 (12:18 +1000)]
Merge remote-tracking branch 'tor-github/pr/1689' into maint-0.3.5
David Goulet [Thu, 6 Feb 2020 14:49:00 +0000 (09:49 -0500)]
dirauth: Rename function for better clarity
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 11 Feb 2020 15:15:04 +0000 (10:15 -0500)]
test: Add unit test for connection_dir_is_global_write_low()
Part of #33029
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Jan 2020 14:39:09 +0000 (09:39 -0500)]
dirauth: Resume sending 503 directory error code
Authorities were never sending back 503 error code because by design they
should be able to always answer directory requests regardless of bandwidth
capacity.
However, that recently backfired because of a large number of requests from
unknown source using the DirPort that are _not_ getting their 503 code which
overloaded the DirPort leading to the authority to be unable to answer to its
fellow authorities.
This is not a complete solution to the problem but it will help ease off the
load on the authority side by sending back 503 codes *unless* the connection
is from a known relay or an authority.
Fixes #33029
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 11 Feb 2020 14:56:44 +0000 (09:56 -0500)]
dirauth: Add option AuthDirRejectRequestsUnderLoad
This controls the previous feature added that makes dirauth send back a 503
error code on non relay connections if under bandwidth pressure.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Jan 2020 14:26:28 +0000 (09:26 -0500)]
dirlist: Add configured trusted dir to the nodelist address set
The configured, within the torrc or hardcoded, directory authorities addresses
are now added to the nodelist address set.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Jan 2020 14:17:34 +0000 (09:17 -0500)]
nodelist: Helper to add an address to the nodelist address set
We separate v4 and v6 because we often use an IPv4 address represented with
a uint32_t instead of a tor_addr_t.
This will be used to also add the trusted directory addresses taken from the
configuration.
The trusted directories from the consensus are already added to the address
set from their descriptor.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Jan 2020 13:55:20 +0000 (08:55 -0500)]
mainloop: Modernize a bit connection_dir_is_global_write_low()
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Jan 2020 13:50:46 +0000 (08:50 -0500)]
mainloop: Remove unused parameter from connection_dir_is_global_write_low()
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 22 Jan 2020 16:06:11 +0000 (11:06 -0500)]
mainloop: Rename global_write_bucket_low()
That function is only used to test the global bucket write limit for a
directory connection.
It should _not_ be used for anything else since that function looks to see if
we are a directory authority.
Rename it to something more meaningful. No change in behavior at this commit,
only renaming.
Part of #33029
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Tue, 11 Feb 2020 13:53:00 +0000 (08:53 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" merge, since the exceptions.txt file is already fixed in this branch.
Nick Mathewson [Tue, 11 Feb 2020 13:52:23 +0000 (08:52 -0500)]
Remove a redundant practracker exception line in maint-0.4.1
This will our "git push" hook not complain about pushing from
maint-0.4.1.
Nick Mathewson [Mon, 10 Feb 2020 19:17:10 +0000 (14:17 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Mon, 10 Feb 2020 19:17:10 +0000 (14:17 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 10 Feb 2020 19:17:09 +0000 (14:17 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Mon, 10 Feb 2020 19:17:03 +0000 (14:17 -0500)]
Merge branch 'bug33212_035' into maint-0.3.5
Nick Mathewson [Mon, 10 Feb 2020 18:32:09 +0000 (13:32 -0500)]
Fix a Rust compilation warning; resolve bug 33212.
Nick Mathewson [Thu, 30 Jan 2020 16:19:23 +0000 (11:19 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Using "ours" strategy to avoid version bump
Nick Mathewson [Thu, 30 Jan 2020 16:19:16 +0000 (11:19 -0500)]
bump to 0.4.2.6-dev
Nick Mathewson [Thu, 30 Jan 2020 16:18:50 +0000 (11:18 -0500)]
Bump to 0.4.1.8-dev
Nick Mathewson [Thu, 30 Jan 2020 00:44:29 +0000 (19:44 -0500)]
Bump version to 0.4.2.6
Nick Mathewson [Thu, 30 Jan 2020 00:42:43 +0000 (19:42 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"Ours" merge to avoid version bump.
Nick Mathewson [Thu, 30 Jan 2020 00:42:24 +0000 (19:42 -0500)]
bump to 0.4.1.8
teor [Wed, 29 Jan 2020 21:55:12 +0000 (07:55 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Wed, 29 Jan 2020 21:55:05 +0000 (07:55 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Wed, 29 Jan 2020 21:54:58 +0000 (07:54 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Wed, 29 Jan 2020 21:54:39 +0000 (07:54 +1000)]
Merge remote-tracking branch 'tor-github/pr/1634' into maint-0.4.1
teor [Wed, 29 Jan 2020 21:53:53 +0000 (07:53 +1000)]
Merge remote-tracking branch 'tor-github/pr/1614' into maint-0.3.5
Nick Mathewson [Wed, 29 Jan 2020 13:31:22 +0000 (08:31 -0500)]
Change BUG() messages in buf_flush_to_tls() to IF_BUG_ONCE()
We introduced these BUG() checks in
b0ddaac07428a06 to prevent a
recurrence of bug 23690. But there's a report of the BUG() message
getting triggered and filling up the disk. Let's change it to
IF_BUG_ONCE().
Fixes bug 33093; bugfix on 0.3.2.2-alpha.
teor [Tue, 28 Jan 2020 09:55:35 +0000 (19:55 +1000)]
Travis: Stop allowing stem test failures
Stop allowing failures on the Travis CI stem tests job. It looks like
all the stem hangs we were seeing are now fixed, but let's make sure we
see them if they happen again.
Closes ticket 33075.
teor [Thu, 16 Jan 2020 00:00:47 +0000 (10:00 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Thu, 16 Jan 2020 00:00:40 +0000 (10:00 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Thu, 16 Jan 2020 00:00:32 +0000 (10:00 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Wed, 15 Jan 2020 23:57:27 +0000 (09:57 +1000)]
Merge remote-tracking branch 'tor-github/pr/1513' into maint-0.3.5
teor [Tue, 14 Jan 2020 07:32:11 +0000 (17:32 +1000)]
practracker: print a notice to stderr when disabled
When TOR_DISABLE_PRACTRACKER is set, print a message to
stderr when skipping practracker checks.
Part of 32705.
Nick Mathewson [Mon, 13 Jan 2020 21:17:51 +0000 (16:17 -0500)]
test_practracker.sh: never disable practracker
When practracker is disabled, its output will be empty. We don't
want that happening during our tests.
Fixes bug 32705; bugfix on 0.4.2.1-alpha, when test_practracker.sh
was introduced.
Nick Mathewson [Mon, 6 Jan 2020 18:20:57 +0000 (13:20 -0500)]
Merge remote-tracking branch 'tor-github/pr/1612' into maint-0.4.2
Nick Mathewson [Mon, 6 Jan 2020 13:45:29 +0000 (08:45 -0500)]
Initialize publish/subscribe code when running as an NT service.
Fixes bug 32778; bugfix on 0.4.1.1-alpha.
Nick Mathewson [Mon, 6 Jan 2020 13:08:59 +0000 (08:08 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Mon, 6 Jan 2020 13:08:48 +0000 (08:08 -0500)]
update changes file to pass "make check-changes"
Nick Mathewson [Mon, 6 Jan 2020 13:06:54 +0000 (08:06 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Peter Gerber [Sun, 5 Jan 2020 14:48:54 +0000 (15:48 +0100)]
Fix sandbox crash during reload of logging configuration
Allow calls to dup() which was introduced in commit
a22fbab986 .
From a security perspective, I don't think this should impact the
security of the sandbox significantly. As far as I can tell, there
is nothing an adversary can do with a duplicated FD that can't be
done with the original.
teor [Fri, 20 Dec 2019 00:12:51 +0000 (10:12 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Fri, 20 Dec 2019 00:12:43 +0000 (10:12 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Peter Gerber [Mon, 10 Jun 2019 12:56:31 +0000 (14:56 +0200)]
Correct how we use libseccomp
This fixes a startup crash with libseccomp v2.4.0 if Sandbox is
set to 1.
Nick Mathewson [Mon, 16 Dec 2019 20:31:23 +0000 (15:31 -0500)]
Fix formatting in tor_assertf() message in struct_check_magic().
Closes 32771; bugfix on 0.4.2.1-alpha.
Nick Mathewson [Mon, 16 Dec 2019 20:27:18 +0000 (15:27 -0500)]
Merge branch 'bug32765_041' into bug32771_042
Nick Mathewson [Mon, 16 Dec 2019 20:14:13 +0000 (15:14 -0500)]
Use CHECK_PRINTF() for printf-like functions in util_bug.h
teor [Sun, 15 Dec 2019 23:23:46 +0000 (09:23 +1000)]
Merge branch 'bug32240_32242_041' into bug32240_32242_042
teor [Sun, 15 Dec 2019 23:23:41 +0000 (09:23 +1000)]
Merge branch 'bug32240_32242_040' into bug32240_32242_041
teor [Sun, 15 Dec 2019 23:22:52 +0000 (09:22 +1000)]
Merge branch 'bug32240_32242_035' into bug32240_32242_040
Merge:
* libzstd-dev from ticket32242_035
* shellcheck from maint-0.4.0
teor [Sun, 15 Dec 2019 23:21:05 +0000 (09:21 +1000)]
Merge remote-tracking branch 'tor-github/pr/1459' into bug32240_32242_035
teor [Sun, 15 Dec 2019 23:15:42 +0000 (09:15 +1000)]
Merge branch 'bug32240_041' into bug32240_042
Merge:
* CHUTNEY_TOR_SANDBOX=0 from bug32240_041
* RUST_VERSION from maint-0.4.2
teor [Sun, 15 Dec 2019 23:14:38 +0000 (09:14 +1000)]
Merge branch 'bug32240_040' into bug32240_041
teor [Sun, 15 Dec 2019 23:14:32 +0000 (09:14 +1000)]
Merge branch 'bug32240_035' into bug32240_040
teor [Sun, 15 Dec 2019 23:09:16 +0000 (09:09 +1000)]
Merge branch 'bug32240_029' into bug32240_035
Merge
* Chutney Trusty deletion in bug32240_029
* NSS addition in maint-0.3.5
teor [Sun, 15 Dec 2019 23:06:25 +0000 (09:06 +1000)]
changes: file for 32240
teor [Sun, 15 Dec 2019 23:03:48 +0000 (09:03 +1000)]
Travis: Run Chutney jobs in Ubuntu Bionic images
Closes 32240.
teor [Sun, 15 Dec 2019 23:01:45 +0000 (09:01 +1000)]
Travis: Turn off Tor's Sandbox in Chutney jobs
We need to set "Sandbox 0", until we fix sandbox errors that are
triggered by Ubuntu Xenial and Bionic. See 32722.
Part of 32240.
teor [Sun, 15 Dec 2019 22:16:20 +0000 (08:16 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Sun, 15 Dec 2019 22:16:12 +0000 (08:16 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Sun, 15 Dec 2019 22:16:04 +0000 (08:16 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Sun, 15 Dec 2019 22:15:55 +0000 (08:15 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Sun, 15 Dec 2019 22:14:29 +0000 (08:14 +1000)]
Merge remote-tracking branch 'tor-github/pr/1577' into maint-0.4.2
teor [Sun, 15 Dec 2019 22:14:04 +0000 (08:14 +1000)]
Merge remote-tracking branch 'tor-github/pr/1576' into maint-0.3.5
teor [Sun, 15 Dec 2019 22:13:38 +0000 (08:13 +1000)]
Merge remote-tracking branch 'tor-github/pr/1575' into maint-0.2.9
Nick Mathewson [Mon, 9 Dec 2019 21:03:31 +0000 (16:03 -0500)]
bump to 0.4.2.5-dev
Nick Mathewson [Mon, 9 Dec 2019 21:03:01 +0000 (16:03 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" to avoid version bump.
Nick Mathewson [Mon, 9 Dec 2019 21:02:36 +0000 (16:02 -0500)]
bump to 0.4.1.7-dev
Nick Mathewson [Mon, 9 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 9 Dec 2019 21:01:56 +0000 (16:01 -0500)]
Bump version to 0.4.0.6-dev
Nick Mathewson [Mon, 9 Dec 2019 21:01:22 +0000 (16:01 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
"ours" to avoid version bump.
Nick Mathewson [Mon, 9 Dec 2019 21:01:11 +0000 (16:01 -0500)]
bump to 0.3.5.9-dev
Nick Mathewson [Fri, 6 Dec 2019 21:02:08 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Fri, 6 Dec 2019 21:02:08 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Fri, 6 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Fri, 6 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Karsten Loesing [Fri, 6 Dec 2019 10:50:35 +0000 (11:50 +0100)]
Update geoip and geoip6 to the December 3 2019 database.
teor [Fri, 6 Dec 2019 00:51:05 +0000 (10:51 +1000)]
changes: file for 32629
teor [Fri, 6 Dec 2019 00:51:05 +0000 (10:51 +1000)]
changes: file for 32629
teor [Fri, 6 Dec 2019 00:51:05 +0000 (10:51 +1000)]
changes: file for 32629
Nick Mathewson [Thu, 5 Dec 2019 18:32:30 +0000 (13:32 -0500)]
Bump to 0.4.2.5
Nick Mathewson [Thu, 5 Dec 2019 18:32:06 +0000 (13:32 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" to avoid version bump.