]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Mon, 24 Jan 2022 15:49:41 +0000 (10:49 -0500)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Mon, 24 Jan 2022 15:45:46 +0000 (10:45 -0500)]
release: ChangeLog and ReleaseNotes for 0.3.5.18
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:47:29 +0000 (10:47 -0500)]
version: Bump version to 0.3.5.18
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:35:02 +0000 (10:35 -0500)]
fallbackdir: Update list generated on January 24, 2022
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:31:43 +0000 (10:31 -0500)]
geoip: Update to match ipfire location db, 2022/01/24.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Tue, 18 Jan 2022 18:15:33 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/511' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Tue, 18 Jan 2022 18:15:23 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/510' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:07:30 +0000 (13:07 -0500)]
Merge branch 'maint-0.3.5' into release-0.3.5
Jérôme Charaoui [Mon, 10 Jan 2022 15:16:24 +0000 (15:16 +0000)]
Update new relay blogpost URL
This removes the '/blog/' URL component which relies on a
redirection since the blog has been migrated to Lektor
David Goulet [Tue, 18 Jan 2022 17:51:52 +0000 (12:51 -0500)]
main: Update a dead URL in a log notice
Change https://www.torproject.org/download/download#warning to
https://support.torproject.org/faq/staying-anonymous/
Closes #40544
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 4 Nov 2021 18:44:58 +0000 (14:44 -0400)]
relay: Don't advertise HSv2 protocol version
We removed HSIntro=3 and HSDir=1 that are v2 specific. Since 0.3.5.17,
we do not support introducing or being a directory for onion service v2.
Closes #40509
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Mon, 8 Nov 2021 14:16:18 +0000 (14:16 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Mon, 8 Nov 2021 14:15:59 +0000 (14:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/487' into maint-0.3.5
Alexander Færøy [Mon, 8 Nov 2021 14:15:56 +0000 (14:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/486' into maint-0.3.5
Nick Mathewson [Sat, 6 Nov 2021 15:04:08 +0000 (11:04 -0400)]
Give an error message if LibreSSL's TLSv1.3 APIs aren't what we need
From LibreSSL versions 3.2.1 through 3.4.0, our configure script
would conclude that TLSv1.3 as supported, but it actually wasn't.
This led to annoying breakage like #40128 and #40445.
Now we give an error message if we try to build with one of those
versions.
Closes #40511.
Nick Mathewson [Fri, 5 Nov 2021 17:23:05 +0000 (13:23 -0400)]
Reverse the direction of the test for openssl 3.0.0
Previously the logic was reversed, and always gave the wrong answer.
This has no other effect than to change whether we suppress
deprecated API warnings.
Fixes #40429; bugfix on 0.3.5.13.
David Goulet [Fri, 5 Nov 2021 14:33:53 +0000 (10:33 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Nick Mathewson [Fri, 5 Nov 2021 14:30:57 +0000 (10:30 -0400)]
Light edit to protover warnings.
David Goulet [Fri, 5 Nov 2021 14:16:08 +0000 (10:16 -0400)]
protover: Add a note on why LinkAuth is not recommended or required
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 5 Nov 2021 14:10:24 +0000 (10:10 -0400)]
protover: Move all hardcoded lists in one place
This also moves the warnings and add some theatrical effect around the
code so anyone modifying those list should notice the warnings signs and
read the comment accordingly.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Fri, 5 Nov 2021 13:15:10 +0000 (09:15 -0400)]
Add scary warnings about changing the protover list.
Doing this in the wrong way has potential to cause serious havoc on
the network, so let's make it harder for future programmers to mess
it up.
Alexander Færøy [Fri, 5 Nov 2021 03:10:28 +0000 (03:10 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Fri, 5 Nov 2021 03:10:12 +0000 (03:10 +0000)]
Merge remote-tracking branch 'ahf/ahf/ci-i386' into maint-0.3.5
David Goulet [Wed, 3 Nov 2021 13:47:43 +0000 (09:47 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Wed, 3 Nov 2021 13:47:30 +0000 (09:47 -0400)]
shellcheck: Make it happy on couple scripts
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 3 Nov 2021 12:36:30 +0000 (12:36 +0000)]
Add i386 version of debian-minimal for 32-bit Gitlab CI builds.
See: tpo/core/tor#40505
Alexander Færøy [Fri, 29 Oct 2021 16:56:32 +0000 (16:56 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Fri, 5 Feb 2021 17:12:52 +0000 (17:12 +0000)]
Fix Windows build.
While trying to resolve our CI issues, the Windows build broke with an
unused function error:
src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’
defined but not used [-Werror=unused-function]
We solve this by moving the `#if !defined(_WIN32)` test above the
`unprivileged_port_range_start()` function defintion such that it is
included in its body.
This is an unreviewed commit.
See: tor#40275
David Goulet [Fri, 29 Oct 2021 13:20:21 +0000 (09:20 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Fri, 29 Oct 2021 13:19:21 +0000 (09:19 -0400)]
changes: Add file for ticket 26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 28 Oct 2021 20:29:22 +0000 (16:29 -0400)]
makefile: Add a reproducible dist make job
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Fri, 10 Jul 2020 00:31:35 +0000 (02:31 +0200)]
release: Patches to make tarball reproducible
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 28 Oct 2021 13:42:43 +0000 (09:42 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Thu, 28 Oct 2021 13:40:50 +0000 (09:40 -0400)]
version: Missing version update in couple files
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 26 Oct 2021 18:33:48 +0000 (14:33 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Tue, 26 Oct 2021 18:33:31 +0000 (14:33 -0400)]
ci: Missing source dir when parsing configure.ac version
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 26 Oct 2021 15:31:45 +0000 (11:31 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Tue, 26 Oct 2021 15:30:56 +0000 (11:30 -0400)]
version: Bump to 0.3.5.17-dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 26 Oct 2021 13:18:08 +0000 (09:18 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Tue, 26 Oct 2021 13:16:13 +0000 (09:16 -0400)]
version: Bump to 0.3.5.17
Signed-off-by: David Goulet <dgoulet@torproject.org>
Roger Dingledine [Mon, 25 Oct 2021 16:06:40 +0000 (12:06 -0400)]
0.3.5 changelog cleanups
David Goulet [Mon, 25 Oct 2021 14:43:33 +0000 (10:43 -0400)]
changelog: Changelog for 0.3.5.17
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 21 Oct 2021 14:01:38 +0000 (10:01 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Thu, 21 Oct 2021 13:13:40 +0000 (09:13 -0400)]
fallbackdir: Regenerate the list for October 2021
Closes #40493
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 20 Oct 2021 21:44:56 +0000 (21:44 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Mon, 23 Nov 2020 23:41:17 +0000 (23:41 +0000)]
Announce URL to bridge status page when starting Tor as a bridge relay.
This patch makes Tor announce the relay specific bridge status page URL
when Tor is starting up before bootstrap occours.
See: tor#30477
Alexander Færøy [Wed, 20 Oct 2021 17:36:06 +0000 (17:36 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Mon, 10 May 2021 13:07:24 +0000 (13:07 +0000)]
Remove unused function: dns_randfn_() in dns.c.
This patch unbreaks the current build after tor!369 landed.
See: https://bugs.torproject.org/tpo/core/tor/40371
Alexander Færøy [Wed, 20 Oct 2021 17:35:35 +0000 (17:35 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5
David Goulet [Tue, 19 Oct 2021 14:24:24 +0000 (10:24 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Thu, 14 Oct 2021 13:56:10 +0000 (09:56 -0400)]
hs: Improve warning for bad service version
Now that we don't have version 2, it gives us:
[warn] HiddenServiceVersion must be between 3 and 3, not 2.
This commit changes it to:
[warn] HiddenServiceVersion must be 3, not 2.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 15:21:13 +0000 (11:21 -0400)]
changes: Add file for ticket 40476
Closes #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 15:12:46 +0000 (11:12 -0400)]
test: Don't run HSv2 Chutney test networks
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 15:09:48 +0000 (11:09 -0400)]
test: Fix unit tests after disabling version 2
Some tests were removed because they were testing something not usable
anymore.
Some tests remains to make sure that things are indeed disabled.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 14:59:24 +0000 (10:59 -0400)]
hs-v2: Disable version 2 HSPOST and HSFETCH command
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 14:46:17 +0000 (10:46 -0400)]
hs-v2: Disable version 2 directory
Relay do not accept both stores and lookups of version 2 descriptor.
This effectively disable version 2 HSDir supports for relays.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 14:40:19 +0000 (10:40 -0400)]
hs-v2: Disable version 2 introduction point
Upon receiving a v2 introduction request, the relay will close the
circuit and send back a tor protocol error.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 14:32:05 +0000 (10:32 -0400)]
hs-v2: Disable version 2 service
The minimum service version is raised from 2 to 3 which effectively
disable loading or creating an onion service v2.
As for ADD_ONION, for version 2, a 551 error is returned:
"551 Failed to add Onion Service"
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 30 Sep 2021 14:26:37 +0000 (10:26 -0400)]
hs-v2: Disable SOCKS connection for v2 addresses
This effectively turns off the ability of tor to use HSv2 as a client by
invalidating the v2 onion hostname passed through a SOCKS request.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 13 Sep 2021 17:25:23 +0000 (13:25 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Thu, 4 Feb 2021 23:11:11 +0000 (23:11 +0000)]
Only check for bindable ports if we are unsure if it will fail.
We currently assume that the only way for Tor to listen on ports in the
privileged port range (1 to 1023), on Linux, is if we are granted the
NET_BIND_SERVICE capability. Today on Linux, it's possible to specify
the beginning of the unprivileged port range using a sysctl
configuration option. Docker (and thus the CI service Tor uses) recently
changed this sysctl value to 0, which causes our tests to fail as they
assume that we should NOT be able to bind to a privileged port *without*
the NET_BIND_SERVICE capability.
In this patch, we read the value of the sysctl value via the /proc/sys/
filesystem iff it's present, otherwise we assume the default
unprivileged port range begins at port 1024.
See: tor#40275
Alexander Færøy [Mon, 16 Aug 2021 13:52:58 +0000 (13:52 +0000)]
Use Debian bullseye for our hardened build.
Alexander Færøy [Mon, 13 Sep 2021 16:05:58 +0000 (18:05 +0200)]
Force amd64 for CI builds.
David Goulet [Mon, 16 Aug 2021 20:34:52 +0000 (16:34 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Mon, 16 Aug 2021 20:33:58 +0000 (16:33 -0400)]
Bump version to -dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 16 Aug 2021 19:27:26 +0000 (15:27 -0400)]
changelog: Run format_changelog.py
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 16 Aug 2021 15:53:34 +0000 (11:53 -0400)]
changelog: Update with security fix stanza
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Mon, 16 Aug 2021 13:58:31 +0000 (13:58 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Mon, 16 Aug 2021 13:57:56 +0000 (13:57 +0000)]
Use debian:buster instead of debian:stable for now.
Nick Mathewson [Mon, 16 Aug 2021 12:25:12 +0000 (08:25 -0400)]
Use the correct release date and backport version sources
Nick Mathewson [Mon, 16 Aug 2021 12:21:28 +0000 (08:21 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Nick Mathewson [Mon, 16 Aug 2021 12:17:59 +0000 (08:17 -0400)]
Make the version 0.3.6.16, not 0.3.6.16-dev.
David Goulet [Fri, 13 Aug 2021 13:48:50 +0000 (09:48 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Fri, 13 Aug 2021 13:48:29 +0000 (09:48 -0400)]
changelog: Fix missing double newline
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 13 Aug 2021 13:43:44 +0000 (09:43 -0400)]
Update version to 0.3.5.16
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 13 Aug 2021 13:39:43 +0000 (09:39 -0400)]
Changelog for 0.3.5.16
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 12 Aug 2021 16:13:25 +0000 (12:13 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Thu, 12 Aug 2021 15:36:52 +0000 (15:36 +0000)]
Update GeoIP files to match IPFire location DB as per 2021/08/12.
Alexander Færøy [Wed, 11 Aug 2021 13:15:58 +0000 (13:15 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
Alexander Færøy [Wed, 11 Aug 2021 13:15:35 +0000 (13:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/417' into maint-0.3.5
Alexander Færøy [Wed, 11 Aug 2021 13:14:26 +0000 (13:14 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
George Kadianakis [Fri, 30 Jul 2021 13:35:48 +0000 (16:35 +0300)]
Disable
ed25519 -donna's batch verification.
Fixes bug 40078.
As reported by hdevalence our batch verification logic can cause an assert
crash.
The assert happens because when the batch verification of
ed25519 -donna fails,
the code in `ed25519_checksig_batch()` falls back to doing a single
verification for each signature.
The crash occurs because batch verification failed, but then all signatures
individually verified just fine.
That's because batch verification and single verification use a different
equation which means that there are sigs that can pass single verification
but fail batch verification.
Fixing this would require modding
ed25519 -donna which is not in scope for
this ticket, and will be soon deprecated in favor of arti and
ed25519 -dalek, so my branch instead removes batch verification.
David Goulet [Wed, 11 Aug 2021 13:04:40 +0000 (09:04 -0400)]
fallbackdir: Regenerate list
New list for all stable releases.
Closes #40447
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 11 Aug 2021 12:52:08 +0000 (12:52 +0000)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Thu, 18 Feb 2021 17:49:33 +0000 (12:49 -0500)]
relay: Reduce streaming compression ratio from HIGH to LOW
Fixes #40301
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 14 Jun 2021 15:49:01 +0000 (11:49 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Nick Mathewson [Mon, 14 Jun 2021 15:45:30 +0000 (11:45 -0400)]
Bump to 0.3.5.15-dev
Nick Mathewson [Mon, 14 Jun 2021 14:50:47 +0000 (10:50 -0400)]
Copy ChangeLog into ReleaseNotes.
Nick Mathewson [Thu, 10 Jun 2021 17:19:43 +0000 (13:19 -0400)]
Pick a date, draft a blurb
Nick Mathewson [Thu, 10 Jun 2021 17:14:29 +0000 (13:14 -0400)]
Backport changelog entries
Nick Mathewson [Thu, 10 Jun 2021 16:30:29 +0000 (12:30 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
George Kadianakis [Tue, 18 May 2021 14:06:57 +0000 (17:06 +0300)]
Fix TROVE-2021-006: Out-of-bounds read on v3 desc parsing
Nick Mathewson [Thu, 10 Jun 2021 12:53:07 +0000 (08:53 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
David Goulet [Thu, 3 Jun 2021 13:33:21 +0000 (09:33 -0400)]
TROVE-2021-003: Check layer_hint before half-closed end and resolve cells
This issue was reported by Jann Horn part of Google's Project Zero.
Jann's one-sentence summary: entry/middle relays can spoof RELAY_END cells on
half-closed streams, which can lead to stream confusion between OP and
exit.
Fixes #40389
Nick Mathewson [Thu, 10 Jun 2021 12:42:14 +0000 (08:42 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Nick Mathewson [Thu, 10 Jun 2021 12:41:59 +0000 (08:41 -0400)]
Merge branch 'bug40391_035' into maint-0.3.5
Nick Mathewson [Thu, 10 Jun 2021 12:37:34 +0000 (08:37 -0400)]
Merge branch 'maint-0.3.5' into release-0.3.5
Nick Mathewson [Thu, 10 Jun 2021 12:34:25 +0000 (08:34 -0400)]
Merge branch 'bug40390_035_squashed' into maint-0.3.5