Commit Graph

10023 Commits

Author SHA1 Message Date
David Goulet c2452da6ad Merge branch 'maint-0.4.5' into release-0.4.5 2022-02-03 08:30:40 -05:00
David Goulet 3c73622f27 hs: Double quote the metrics label value
Fixes #40552

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-02-03 08:30:23 -05:00
David Goulet ae149b2b63 Merge branch 'maint-0.4.5' into release-0.4.5 2022-01-18 13:15:29 -05:00
David Goulet 49c758af47 Merge branch 'maint-0.3.5' into maint-0.4.5 2022-01-18 13:15:29 -05:00
David Goulet e523480691 Merge branch 'tor-gitlab/mr/510' into maint-0.3.5 2022-01-18 13:15:23 -05:00
David Goulet c2029e1da9 Merge branch 'maint-0.4.5' into release-0.4.5 2022-01-18 13:12:35 -05:00
David Goulet aac5731f86 Merge branch 'maint-0.3.5' into maint-0.4.5 2022-01-18 13:12:13 -05:00
David Goulet b9c06718a8 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>
2022-01-18 12:51:52 -05:00
David Goulet 72041c6306 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>
2022-01-18 12:39:06 -05:00
Alexander Færøy 6470aed5ae Merge branch 'maint-0.4.5' into release-0.4.5 2021-11-08 14:16:19 +00:00
Alexander Færøy 882fd1f0d4 Merge branch 'maint-0.3.5' into maint-0.4.5 2021-11-08 14:16:18 +00:00
Nick Mathewson cee6e7d9e1 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.
2021-11-06 11:04:08 -04:00
Nick Mathewson 8beb560bfd 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.
2021-11-05 13:23:05 -04:00
David Goulet 70e49331b6 Merge branch 'maint-0.4.5' into release-0.4.5 2021-11-03 09:52:48 -04:00
David Goulet 6e8e1a4e6f relay: Don't allow DirPort on non-IPv4
Our code doesn't allow it and so this prevents an assert() crash if the
DirPort is for instance IPv6 only.

Fixes #40494

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:51:46 -04:00
David Goulet 41c7646d69 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-29 09:20:21 -04:00
David Goulet f5bd575401 changes: Add file for ticket 26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29 09:19:59 -04:00
David Goulet 92fedb9f44 changes: Add file for ticket 26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29 09:19:21 -04:00
David Goulet 27738a9cba Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-28 14:22:21 -04:00
David Goulet a80868c118 changes: Typo in file, wrong version was used
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 14:22:14 -04:00
David Goulet f0678b37ed Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-28 10:38:20 -04:00
Alexander Færøy 31fa3cc1a0 Fix compilation on systems with older compilers.
This patch fixes a build error with GCC 7.x which doesn't seem to accept
const int's as constants in macro initialization.

See: tpo/core/tor#40410
2021-10-28 10:37:45 -04:00
Alexander Færøy 2504bce7c3 Update ChangeLog and ReleaseNotes after tor#40500 was merged. 2021-10-25 21:08:07 +00:00
Alexander Færøy 290196a139 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-25 21:01:58 +00:00
David Goulet 12c3787305 ci: Exclude HSv2 Stem tests
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25 20:56:26 +00:00
David Goulet 0c9e27ddbe changelog: Changelog for 0.4.5.11
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25 10:43:42 -04:00
David Goulet 1dab1c8ad5 Merge branch 'maint-0.3.5' into maint-0.4.5 2021-10-21 10:01:38 -04:00
David Goulet f216fedb9e Merge branch 'maint-0.4.5' into release-0.4.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 b98aad5be2 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-21 12:35:36 +00:00
Alexander Færøy 0135fb028c Merge remote-tracking branch 'tor-gitlab/mr/338' into maint-0.4.5 2021-10-21 12:35:26 +00:00
Alexander Færøy d6b6cd7cd7 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-20 21:47:26 +00:00
Alexander Færøy 5717b88bcb Merge branch 'maint-0.3.5' into maint-0.4.5 2021-10-20 21:47:17 +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 04886b3393 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-20 17:36:07 +00:00
Alexander Færøy fdc7549b61 Merge branch 'maint-0.3.5' into maint-0.4.5 2021-10-20 17:36:06 +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 d4c697b2f7 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-19 10:29:20 -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 3dd4b3316d changes: Add file for ticket 40476
Closes #40476

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:50:23 -04:00
David Goulet 816c45606b Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-06 15:45:19 -04:00
David Goulet adcb094cb6 Merge branch 'tor-gitlab/mr/392' into maint-0.4.5 2021-10-06 15:45:13 -04:00
David Goulet 8fa7bace29 Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-06 15:41:17 -04:00
David Goulet 065ebd10c2 Merge branch 'tor-gitlab/mr/393' into maint-0.4.5 2021-10-06 15:41:12 -04:00
David Goulet a6c848ff6f Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-06 15:35:43 -04:00
David Goulet a53c949dcf Merge branch 'tor-gitlab/mr/420' into maint-0.4.5 2021-10-06 15:35:30 -04:00
David Goulet ac623fa2ac Merge branch 'maint-0.4.5' into release-0.4.5 2021-10-06 13:24:22 -04:00
David Goulet f0d1240a07 hs-v2: Only log once the connection warning to v2
Closes #40474

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-06 13:20:22 -04:00
David Goulet cac612af42 dir: Do not flag non-running failing HSDir
When a directory request fails, we flag the relay as non Running so we
don't use it anymore.

This can be problematic with onion services because there are cases
where a tor instance could have a lot of services, ephemeral ones, and
keeps failing to upload descriptors, let say due to a bad network, and
thus flag a lot of nodes as non Running which then in turn can not be
used for circuit building.

This commit makes it that we never flag nodes as non Running on a onion
service directory request (upload or fetch) failure as to keep the
hashring intact and not affect other parts of tor.

Fortunately, the onion service hashring is _not_ selected by looking at
the Running flag but since we do a 3-hop circuit to the HSDir, other
services on the same instance can influence each other by removing nodes
from the consensus for path selection.

This was made apparent with a small network that ran out of nodes to
used due to rapid succession of onion services uploading and failing.
See #40434 for details.

Fixes #40434

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-17 13:27:14 -04:00
David Goulet 63e41778c0 Changelog for 0.4.5.10
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-13 09:39:29 -04:00