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
David Goulet
fa405ca27f
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-28 09:42:32 -04:00
David Goulet
7c4fd150cd
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-28 09:42:25 -04:00
David Goulet
27caad6f5c
version: Missing version update in couple files
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 09:41:56 -04:00
David Goulet
97c976778a
version: Missing version update in couple files
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 09:41:13 -04:00
David Goulet
fa438b6cf0
version: Missing version update in couple files
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 09:40:50 -04:00
David Goulet
61aed5200c
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-26 14:33:49 -04:00
David Goulet
ae92a92453
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 14:33:49 -04:00
David Goulet
14385ce71e
ci: Missing source dir when parsing configure.ac version
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 14:33:31 -04:00
David Goulet
90a74a2ea8
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-26 11:31:28 -04:00
David Goulet
d672cc6e47
version: Bump to 0.4.6.8-dev
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 11:31:24 -04:00
David Goulet
d4af7bdb26
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 11:31:14 -04:00
David Goulet
00ff6dffa1
version: Bump to 0.4.5.11-dev
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 11:31:06 -04:00
David Goulet
66193ee708
version: Bump to 0.3.5.17-dev
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 11:30:56 -04:00
David Goulet
fadb57e853
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-26 09:17:58 -04:00
David Goulet
6f776001cb
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 09:17:52 -04:00
David Goulet
a647c26a6b
version: Bump to 0.4.6.8
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 09:17:01 -04:00
David Goulet
446135aff0
version: Bump to 0.4.5.11
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 09:16:44 -04:00
David Goulet
9280f32fc0
version: Bump to 0.3.5.17
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 09:16:17 -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
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
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
996409c9c4
test: Add unit tests for DNS timeout overload state
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20 09:09:25 -04:00
David Goulet
de907893be
relay: Overload state on DNS timeout is now X% over Y secs
...
With this commit, we will only report a general overload state if we've
seen more than X% of DNS timeout errors over Y seconds. Previous
behavior was to report when a single timeout occured which is really too
small of a threshold.
The value X is a consensus parameters called
"overload_dns_timeout_scale_percent" which is a scaled percentage
(factor of 1000) so we can represent decimal points for X like 0.5% for
instance. Its default is 1000 which ends up being 1%.
The value Y is a consensus parameters called
"overload_dns_timeout_period_secs" which is the time period for which
will gather DNS errors and once over, we assess if that X% has been
reached ultimately triggering a general overload signal.
Closes #40491
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20 09:09:25 -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
326f954f10
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-19 10:35:35 -04:00
David Goulet
d949a2f924
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-19 10:29:15 -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
d0053fdfb5
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:50:23 -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
48e6e0843b
test: Don't run HSv2 Chutney test networks
...
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:50:23 -04:00
David Goulet
1589e6bf28
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:50:22 -04:00
David Goulet
fb0c949df6
hs-v2: Disable version 2 HSPOST and HSFETCH command
...
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:50:22 -04:00
David Goulet
7a15296c43
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-10-19 09:50:22 -04:00
David Goulet
f748a497c7
Merge branch 'ticket40476_045_01' into ticket40476_046_01
2021-10-19 09:48:13 -04:00