Commit Graph

10432 Commits

Author SHA1 Message Date
David Goulet eeb1f8b0fd Merge branch 'maint-0.4.7' into release-0.4.7 2023-05-31 14:32:07 -04:00
David Goulet 066da91521 changes: Add file for MR 714
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-05-31 14:31:59 -04:00
David Goulet 322c1ed8fb Merge branch 'maint-0.4.7' into release-0.4.7 2023-03-07 08:39:48 -05:00
Roger Dingledine 36612b9bf8 vote AuthDirMaxServersPerAddr in consensus params
Directory authorities now include their AuthDirMaxServersPerAddr
config option in the consensus parameter section of their vote. Now
external tools can better predict how they will behave.

In particular, the value should make its way to the
https://consensus-health.torproject.org/#consensusparams page.

Once enough dir auths vote this param, they should also compute a
consensus value for it in the consensus document. Nothing uses this
consensus value yet, but we could imagine having dir auths consult it
in the future.

Implements ticket 40753.
2023-02-13 13:54:29 -05:00
David Goulet 0b38e2e75a Merge branch 'maint-0.4.7' into release-0.4.7 2023-02-13 10:16:13 -05:00
Gabriela Moldovan 21b3397f9b metrics: Decrement hs_intro_established_count on intro circuit close.
Closes #40751.

Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-02-10 20:31:36 +00:00
David Goulet f731134697 Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-26 13:11:22 -05:00
David Goulet e390a7cdee Merge branch 'tor-gitlab/mr/687' into maint-0.4.7 2023-01-26 13:11:18 -05:00
David Goulet ee3173c965 Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-25 14:13:35 -05:00
David Goulet 7b87ecf7e2 Merge branch 'maint-0.4.5' into maint-0.4.7 2023-01-25 14:13:35 -05:00
Micah Elizabeth Scott a1d3d201ae compress_lzma: New enum values from liblzma 5.3.x
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*)
conditional to the API version they arrived in. The first stable
version of liblzma this affects is 5.4.0

Fixes #40741

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-01-25 14:13:31 -05:00
David Goulet bff6d7a944 relay: Use the right max queue size value in log
Fixes #40745

Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-25 14:10:20 -05:00
Tor CI Release 7a78436b0c release: ChangeLog and ReleaseNotes for 0.4.7.13 2023-01-12 11:14:51 -05:00
David Goulet 30d31e7a0e Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-12 11:07:40 -05:00
David Goulet 64cebf4e1b Merge branch 'maint-0.4.5' into maint-0.4.7 2023-01-12 11:07:39 -05:00
Tor CI Release 64c0a9fa74 fallbackdir: Update list generated on January 12, 2023 2023-01-12 11:07:33 -05:00
Tor CI Release 049d0818c6 Update geoip files to match ipfire location db, 2023/01/12. 2023-01-12 11:07:23 -05:00
David Goulet 3b14909785 Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-12 10:52:35 -05:00
David Goulet 0df4083299 Merge branch 'maint-0.4.5' into maint-0.4.7 2023-01-12 10:52:35 -05:00
David Goulet 7b83e336ec Merge branch 'ticket40730_045_01' into maint-0.4.5 2023-01-12 10:52:31 -05:00
David Goulet 1ee37f32f3 Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-12 10:49:57 -05:00
David Goulet f2e9ce72d6 dirauth: Reject 0.4.6.x series at the authority level
Closes #40664

Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-12 09:07:52 -05:00
David Goulet ae89d6967b Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-11 09:03:29 -05:00
David Goulet b9c7825f0e Merge branch 'maint-0.4.5' into maint-0.4.7 2023-01-11 09:03:29 -05:00
David Goulet 85547a9b5b Merge branch 'tor-gitlab/mr/538' into maint-0.4.5 2023-01-11 09:03:26 -05:00
David Goulet c1d8db8ba5 Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-10 11:57:11 -05:00
Mike Perry 894ddb837c Changes file for bug 40732 2023-01-10 11:56:21 -05:00
David Goulet 80748f41af Merge branch 'maint-0.4.7' into release-0.4.7 2023-01-10 11:15:36 -05:00
David Goulet 726e9ec0a3 sandbox: Allow my-consensus-* files for an authority
Fixes #40729

Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10 09:02:13 -05:00
David Goulet 2b4651174e Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-20 09:09:46 -05:00
Alex Xu (Hello71) 1d9166c8c9 Enable IP_BIND_ADDRESS_NO_PORT if supported
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-20 09:09:33 -05:00
David Goulet e1458945a7 Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-12 15:07:05 -05:00
David Goulet da48104c99 Merge branch 'tor-gitlab/mr/667' into maint-0.4.7 2022-12-12 15:07:00 -05:00
David Goulet e6a0c5c08e Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-12 13:15:08 -05:00
David Goulet a282145b36 socks: Make SafeSocks refuse SOCKS4 and accept SOCKS4a
The logic was inverted. Introduced in commit
9155e08450.

This was reported through our bug bounty program on H1. It fixes the
TROVE-2022-002.

Fixes #40730

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-12 10:02:07 -05:00
qontinuum 3c968ca996 Add issue40613 2022-12-11 10:14:26 +01:00
David Goulet 1d1eb29443 metrics: Fix typo in a label
Fixes #40727

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-07 08:43:41 -05:00
Tor CI Release ca1e0888f5 release: ChangeLog and ReleaseNotes for 0.4.7.12 2022-12-06 10:21:53 -05:00
David Goulet d889eba875 Merge branch 'maint-0.4.5' into maint-0.4.7 2022-12-06 10:10:41 -05:00
David Goulet 90ec6a8d67 Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-06 10:10:41 -05:00
Tor CI Release 1992c553d5 fallbackdir: Update list generated on December 06, 2022 2022-12-06 10:09:32 -05:00
Tor CI Release ec0414270a Update geoip files to match ipfire location db, 2022/12/06. 2022-12-06 10:09:26 -05:00
David Goulet 18b0cb6935 Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-06 08:56:04 -05:00
David Goulet 01efb15496 Merge branch 'maint-0.4.5' into maint-0.4.7 2022-12-06 08:56:04 -05:00
David Goulet 2595913bd6 Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-05 13:23:34 -05:00
Mike Perry 4c419183cc Ticket 40724: Changes file 2022-12-01 22:22:45 +00:00
Roger Dingledine 72b04a5aa4 dirauth: rotate moria1 keys and ports
Rotate the relay identity key and v3 identity key for moria1. They
have been online for more than a decade, there was a known potential
compromise, and anyway refreshing keys periodically is good practice.

Advertise new ports too, to avoid confusion.

Closes ticket 40722.
2022-11-29 20:33:58 -05:00
David Goulet efeef819f5 changes: Add file for ticket 40674
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-28 10:25:48 -05:00
David Goulet 0f72752037 Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-23 14:54:43 -05:00
David Goulet fbc9e92fdb relay: Use the configured number of threads for worker work calculation
We cap our number of CPU worker threads to at least 2 even if we have a
single core. But also, before we used to always add one extra thread
regardless of the number of core.

This meant that we were off when re-using the get_num_cpus() function
when calculating our onionskin work overhead because we were always off
by one.

This commit makes it that we always use the number of thread our actual
thread pool was configured with.

Fixes #40719

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-23 14:05:10 -05:00