David Goulet
a08b12568e
Merge branch 'maint-0.4.5' into maint-0.4.6
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
ec5611e876
Merge branch 'maint-0.4.5' into maint-0.4.6
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
7d9d769123
Merge branch 'maint-0.4.5' into maint-0.4.6
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
Tor CI Release
9a4366b3e3
Update geoip files to match ipfire location db, 2021/12/15.
2021-12-16 09:27:46 -05:00
Tor CI Release
57e8a9b8cb
fallbackdir: Update list generated on December 15, 2021
2021-12-16 09:27:39 -05:00
David Goulet
cda7acb35d
relay: Don't make DNS timeout trigger an overload
...
Tor has configure libevent to attempt up to 3 times a DNS query for a
maximum of 5 seconds each. Once that 5 seconds has elapsed, it consider
the query "Timed Out" but tor only gets a timeout if all 3 attempts have
failed.
For example, using Unbound, it has a much higher threshold of timeout.
It is well defined in
https://www.nlnetlabs.nl/documentation/unbound/info-timeout/ and has
some complexity to it. But the gist is that if it times out, it will be
much more than 5 seconds.
And so the Tor DNS timeouts are more of a "UX issue" rather than a
"network issue". For this reason, we are removing this metric from the
overload general signal.
See https://gitlab.torproject.org/tpo/network-health/team/-/issues/139
for more information.
Fixes #40527
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-12-13 10:47:46 -05:00
Alexander Færøy
a78dafbf7c
Merge branch 'maint-0.4.5' into maint-0.4.6
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
83f8fe05e8
Merge branch 'maint-0.4.5' into maint-0.4.6
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:53:31 -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
6926c9192a
man: Missing OverloadStatistics option in tor.1
...
Closes #40504
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-02 09:51:43 -04:00
David Goulet
77c47417f2
Merge branch 'maint-0.4.5' into maint-0.4.6
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
5363d9b118
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-28 14:26:35 -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
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
0c5128eeb2
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-25 21:02:55 +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
d496a75026
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-21 10:01:38 -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
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
bd1c14f015
Merge branch 'maint-0.4.5' into maint-0.4.6
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
1e08efdb58
Merge branch 'maint-0.4.5' into maint-0.4.6
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
16cbbf04c4
Merge branch 'maint-0.4.5' into maint-0.4.6
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
caa305a5ad
changes: Add file for ticket 40491
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20 09:15:51 -04:00
David Goulet
af48f5736a
hs: Fix merge conflicts after merging forward 40476
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 10:57:10 -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
f748a497c7
Merge branch 'ticket40476_045_01' into ticket40476_046_01
2021-10-19 09:48:13 -04:00
David Goulet
2a4a0c9012
changes: Add file for ticket 40476
...
Closes #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:36:14 -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
065ebd10c2
Merge branch 'tor-gitlab/mr/393' into maint-0.4.5
2021-10-06 15:41:12 -04:00
David Goulet
474c85a98d
Merge branch 'maint-0.4.5' into maint-0.4.6
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
602dcd8e37
hs-v2: Only log once the connection warning to v2
...
Closes #40474
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-06 13:22:02 -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