Commit Graph

10393 Commits

Author SHA1 Message Date
David Goulet 90ec6a8d67 Merge branch 'maint-0.4.7' into release-0.4.7 2022-12-06 10:10:41 -05:00
David Goulet d889eba875 Merge branch 'maint-0.4.5' into maint-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
Tor CI Release f5e5ae7300 release: ChangeLog and ReleaseNotes for 0.4.7.11 2022-11-10 09:51:06 -05:00
David Goulet 776c3adeb4 Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-10 09:44:52 -05:00
Tor CI Release 58bd4e0899 fallbackdir: Update list generated on November 10, 2022 2022-11-10 09:43:55 -05:00
Tor CI Release e39be4a14f Update geoip files to match ipfire location db, 2022/11/10. 2022-11-10 09:43:47 -05:00
David Goulet 421e3dab99 Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-09 15:35:58 -05:00
David Goulet e2a94e050d changes: Add file for ticket 40674
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-09 15:35:51 -05:00
David Goulet 163dfc46e8 Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-09 15:29:04 -05:00
David Goulet e3f6908984 relay: Make the max pending tasks per CPU a consensus parameter
Until now, there was this magic number (64) used as the maximum number
of tasks a CPU worker can take at once.

This commit makes it a consensus parameter so our future selves can
think of a better value depending on network conditions.

Part of #40704

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-09 13:13:21 -05:00
David Goulet 9c8c7804d5 relay: Add the onion_queue_wait_cutoff consensus param
Transform the hardcoded value ONIONQUEUE_WAIT_CUTOFF into a consensus
parameter so we can control it network wide.

Closes #40704

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-09 11:57:32 -05:00
David Goulet 09f59ae7af Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-08 12:36:44 -05:00
David Goulet fde87096c3 Merge branch 'tor-gitlab/mr/650' into maint-0.4.7 2022-11-08 12:36:19 -05:00
David Goulet 9e9d6f2fe5 Merge branch 'maint-0.4.7' into release-0.4.7 2022-11-08 12:35:48 -05:00
David Goulet d634a5ebc7 relay: Remove unused conn->ext_or_conn_id
This also incidently removes a use of uninitialized stack data from the
connection_or_set_ext_or_identifier() function.

Fixes #40648

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-08 12:35:09 -05:00
David Goulet f270d20cb0 changes: Add file for ticket 40708
Closes #40708

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-07 09:55:06 -05:00
David Goulet f0e0957080 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-31 15:00:15 -04:00
David Goulet 619dd35321 sandbox: Add my-consensus-<flavor-name> to sandbox for dirauth
Fixese #40663

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-31 11:37:43 -04:00
David Goulet fb15bf94f2 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-31 11:21:21 -04:00
David Goulet 5db238f3e3 thread: Bump max detectable CPU from 16 to 128
Lets take advantage of those beefy machines ;).

Closes #40703

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-28 11:28:43 -04:00
David Goulet 2eb875b4a0 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-27 11:42:10 -04:00
David Goulet f09b913e18 Merge branch 'tor-gitlab/mr/645' into maint-0.4.7 2022-10-27 11:42:07 -04:00
David Goulet 9f6eb2485d Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-27 11:41:26 -04:00
Mike Perry b30193416c Changes file for 40683 2022-10-27 15:36:53 +00:00
David Goulet 504a6da5ab changes: Update changes for ticket 40194
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-27 10:50:37 -04:00
David Goulet f1b6135959 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 15:13:00 -04:00
David Goulet 609a82a595 changes: Ticket 40694
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-26 15:10:41 -04:00
David Goulet 082219436c Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 15:07:47 -04:00
David Goulet a7aa22a4e7 hs: Retry rdv circuit if repurposed
This can happen if our measurement subsystem decides to snatch it.

Fixes #40696

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-26 15:05:44 -04:00
David Goulet aab5d8c84a Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 15:01:43 -04:00
David Goulet 0a49e04691 Merge branch 'tor-gitlab/mr/635' into maint-0.4.7 2022-10-26 15:01:40 -04:00
David Goulet 680aa1f5fd Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 14:58:25 -04:00
David Goulet 59008c6f51 hs: Change the error for a collapsing client circuit
Change it to an "unreachable" error so the intro point can be retried
and not flagged as a failure and never retried again.

Closes #40692

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-26 14:56:45 -04:00
David Goulet 59fe3d2664 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 14:21:41 -04:00
David Goulet a317326aae Merge branch 'maint-0.4.5' into maint-0.4.7 2022-10-26 14:21:41 -04:00
David Goulet 7a851e8983 Merge branch 'tor-gitlab/mr/631' into maint-0.4.5 2022-10-26 14:21:35 -04:00
David Goulet efad436432 dirauth: Remove Faravahar
Closes #40688

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-26 14:20:07 -04:00
David Goulet e374572d43 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 14:12:51 -04:00
David Goulet e19cf2dac6 Merge branch 'maint-0.4.5' into maint-0.4.7 2022-10-26 14:12:51 -04:00
David Goulet 020ec678b1 Merge branch 'maint-0.4.7' into release-0.4.7 2022-10-26 14:07:49 -04:00