Commit Graph

31675 Commits

Author SHA1 Message Date
Roger Dingledine 08e4b8d2fc 0.3.5 changelog cleanups 2021-10-25 12:06:40 -04:00
David Goulet 5aa7bd4308 changelog: Changelog for 0.3.5.17
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25 10:43:33 -04:00
David Goulet c0c3400499 Merge branch 'maint-0.3.5' into release-0.3.5 2021-10-21 10:01:38 -04:00
David Goulet 66e8e0f71b fallbackdir: Regenerate the list for October 2021
Closes #40493

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-21 09:13:40 -04:00
Alexander Færøy 2a247f4255 Merge branch 'maint-0.3.5' into release-0.3.5 2021-10-20 21:44:56 +00:00
Alexander Færøy 7372739765 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
2021-10-20 21:44:45 +00:00
Alexander Færøy 46de5eb054 Merge branch 'maint-0.3.5' into release-0.3.5 2021-10-20 17:36:06 +00:00
Alexander Færøy 5a043825d0 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
2021-10-20 17:35:52 +00:00
Alexander Færøy db112329a0 Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5 2021-10-20 17:35:35 +00:00
David Goulet a9913435bc Merge branch 'maint-0.3.5' into release-0.3.5 2021-10-19 10:24:24 -04:00
David Goulet 44e105c27f 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>
2021-10-19 09:51:24 -04:00
David Goulet 18b5630a7c changes: Add file for ticket 40476
Closes #40476

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:51:24 -04:00
David Goulet f9750249ac test: Don't run HSv2 Chutney test networks
Part of #40476

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:51:24 -04:00
David Goulet 9a6c6e8ec5 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>
2021-10-19 09:51:24 -04:00
David Goulet ef7a64e3b8 hs-v2: Disable version 2 HSPOST and HSFETCH command
Part of #40476

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-09-30 11:18:08 -04:00
David Goulet 59bae7cbee 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>
2021-09-30 10:46:17 -04:00
David Goulet ff3ac02702 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>
2021-09-30 10:40:19 -04:00
David Goulet 765bdb9c33 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>
2021-09-30 10:38:08 -04:00
David Goulet 13b2b1108f 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>
2021-09-30 10:26:37 -04:00
David Goulet bc106b9e16 Merge branch 'maint-0.3.5' into release-0.3.5 2021-09-13 13:25:23 -04:00
Alexander Færøy fcef8e3f75 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
2021-09-13 18:33:27 +02:00
Alexander Færøy 12b64845ae Use Debian bullseye for our hardened build. 2021-09-13 18:13:10 +02:00
Alexander Færøy 84d6f977e7 Force amd64 for CI builds. 2021-09-13 18:08:49 +02:00
David Goulet 2d54f2002a Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-16 16:34:52 -04:00
David Goulet a8ce645ab0 Bump version to -dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-16 16:33:58 -04:00
David Goulet 15139a1c00 changelog: Run format_changelog.py
Signed-off-by: David Goulet <dgoulet@torproject.org>
tor-0.3.5.16
2021-08-16 15:27:26 -04:00
David Goulet 59c522b964 changelog: Update with security fix stanza
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-16 11:53:34 -04:00
Alexander Færøy 16eb4d4c8b Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-16 13:58:31 +00:00
Alexander Færøy b07cd2ee90 Use debian:buster instead of debian:stable for now. 2021-08-16 13:57:56 +00:00
Nick Mathewson c62d13fd8f Use the correct release date and backport version sources 2021-08-16 08:25:36 -04:00
Nick Mathewson a2e39fa3b0 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-16 08:21:28 -04:00
Nick Mathewson 2984fba97a Make the version 0.3.6.16, not 0.3.6.16-dev. 2021-08-16 08:17:59 -04:00
David Goulet 4f20c0d9d4 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-13 09:48:50 -04:00
David Goulet b3ec9e961e changelog: Fix missing double newline
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-13 09:48:29 -04:00
David Goulet 041a0a362f Update version to 0.3.5.16
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-13 09:43:44 -04:00
David Goulet 5c520d5f0d Changelog for 0.3.5.16
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-13 09:39:43 -04:00
David Goulet f55edf5b34 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-12 12:13:25 -04:00
Alexander Færøy eca5b62213 Update GeoIP files to match IPFire location DB as per 2021/08/12. 2021-08-12 15:38:11 +00:00
Alexander Færøy a141b355a1 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-11 13:15:58 +00:00
Alexander Færøy 7e0971d868 Merge remote-tracking branch 'tor-gitlab/mr/417' into maint-0.3.5 2021-08-11 13:15:35 +00:00
Alexander Færøy ae6ab63f24 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-11 13:14:26 +00:00
George Kadianakis fe5a9db1e6 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.
2021-08-11 13:14:05 +00:00
David Goulet 0e60b65f6c fallbackdir: Regenerate list
New list for all stable releases.

Closes #40447

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-11 09:07:05 -04:00
Alexander Færøy 9c52846fe5 Merge branch 'maint-0.3.5' into release-0.3.5 2021-08-11 12:52:08 +00:00
David Goulet 399518da02 relay: Reduce streaming compression ratio from HIGH to LOW
Fixes #40301

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-11 12:51:32 +00:00
Nick Mathewson f863870398 Merge branch 'maint-0.3.5' into release-0.3.5 2021-06-14 11:49:01 -04:00
Nick Mathewson 87492154e0 Bump to 0.3.5.15-dev 2021-06-14 11:45:30 -04:00
Nick Mathewson b925cef1e3 Copy ChangeLog into ReleaseNotes. tor-0.3.5.15 2021-06-14 10:50:47 -04:00
Nick Mathewson 6abafc1018 Pick a date, draft a blurb 2021-06-10 13:19:43 -04:00
Nick Mathewson 31b55c14ca Backport changelog entries 2021-06-10 13:14:29 -04:00