Commit Graph

38972 Commits

Author SHA1 Message Date
David Goulet e153e72c01 Merge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.13 2024-10-24 10:38:41 -04:00
Tor CI Release 2f1dfe85ab version: Bump version to 0.4.8.13 2024-10-24 10:38:17 -04:00
David Goulet a092579e48 release: ChangeLog and ReleaseNotes for 0.4.8.13
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-10-24 10:37:06 -04:00
David Goulet 0be3befd6c Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-24 10:33:30 -04:00
Tor CI Release 200e89ee69 fallbackdir: Update list generated on October 24, 2024 2024-10-24 10:32:45 -04:00
Tor CI Release dd9c6a4992 Update geoip files to match ipfire location db, 2024/10/24. 2024-10-24 10:30:55 -04:00
David Goulet cb2b4f5d5c Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-16 09:05:33 -04:00
Roger Dingledine 7cca6dc1a3 don't build preemptive conflux circuits if no predicted ports
Conflux circuit building was ignoring the "predicted ports" feature,
which aims to make Tor stop building circuits if there have been
no user requests lately. This bug led to every idle Tor on the
network building and discarding circuits every 30 seconds, which
added overall load to the network, used bandwidth and battery from
clients that weren't actively using their Tor, and kept sockets open
on guards which added connection padding essentially forever.

Bug went in on commit 39c2927d when we added preemptive conflux circuit
pools.

Fixes bug 40981; bugfix on 0.4.8.1-alpha.
2024-10-15 15:59:25 -04:00
David Goulet d1eea43d93 Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-10 09:55:56 -04:00
Waldemar Zimpel 6feaea8fa4 Fix: Memory leaks in cpuworker on shutdown
Resources allocated by cpuworker weren't being freed on clean shutdown.
This applies for worker threads, worker thread pool, reply queue, reply
event, ...
2024-10-10 09:55:46 -04:00
David Goulet 1b1b2b1a4a Merge branch 'maint-0.4.8' into release-0.4.8 2024-08-05 15:26:38 -04:00
David Goulet 93df26b11a dirvote: Fix memleak when computing consensus
Fixes #40966

Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-08-05 11:59:30 -04:00
David Goulet f32b39236d Merge branch 'maint-0.4.8' into release-0.4.8 2024-06-18 15:19:12 -04:00
David Goulet d587ba01a7 bridge: Always put transport-info line
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-06-18 15:15:32 -04:00
Alexander Færøy 1941f25f4c Clean-up Managed Proxy state in PT tests.
This patch makes sure we clean up our version and implementation fields
in our Managed Proxy struct after each test run.

This was detected by LeakSanitizer.

See: tpo/core/tor#11101.
2024-06-18 15:15:32 -04:00
Alexander Færøy 3c8035b452 Add changes file for tpo/core/tor#11101. 2024-06-18 15:15:32 -04:00
Alexander Færøy b4f8518f8f Add implementation and version metadata to bridge extra-info.
This patch adds two new keys to bridges' extra-info document:
"transport-version" and "transport-implementation".

These two new values always appear together (if one is missing, the
other one will be missing too) and is parsed from PT's STATUS
TYPE=version messages.

See: tpo/core/tor#11101.
2024-06-18 15:15:20 -04:00
Alexander Færøy f459344488 Include "IMPLEMENTATION" parameter to STATUS TYPE=version PT messages. 2024-06-18 15:15:20 -04:00
Alexander Færøy d27ce6b8f0 Drop requirement for TRANSPORT being present in STATUS messages. 2024-06-18 15:15:20 -04:00
Alexander Færøy b6e260e699 Add support for PT STATUS TYPE=version messages.
This patch adds support for handling the version status message. Once we
receive such message, we add the given version string to the
managed_proxy_t instance. Note this value can be NULL and the value can
change throughout the lifetime of the PT as multiple status version
messages are handled.

See: tpo/core/tor#11101
2024-06-18 15:15:20 -04:00
David Goulet 43b8689ac7 Merge branch 'maint-0.4.8' into release-0.4.8 2024-06-06 10:32:14 -04:00
Tor CI Release 0c1a39a955 version: Bump version to 0.4.8.12-dev 2024-06-06 10:31:51 -04:00
David Goulet 2beaa7557c Merge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.12 2024-06-06 09:22:27 -04:00
Tor CI Release dd30232582 version: Bump version to 0.4.8.12 2024-06-06 09:20:41 -04:00
Tor CI Release 9b0496f611 release: ChangeLog and ReleaseNotes for 0.4.8.12 2024-06-06 09:20:19 -04:00
David Goulet ca7b72a230 Merge branch 'maint-0.4.8' into release-0.4.8 2024-06-06 08:56:54 -04:00
Tor CI Release 31f8b43e2d fallbackdir: Update list generated on June 06, 2024 2024-06-06 08:45:09 -04:00
Tor CI Release 9b69c25d3a Update geoip files to match ipfire location db, 2024/06/06. 2024-06-06 08:44:54 -04:00
David Goulet 2bc77e62f2 Merge branch 'maint-0.4.8' into release-0.4.8 2024-05-30 12:31:51 -04:00
Georg Koppen 928ba47ddf Update OverloadStatistics to match prop 328
Closes: #40940.
2024-05-30 12:31:45 -04:00
David Goulet 1c6720a035 Merge branch 'maint-0.4.8' into release-0.4.8 2024-05-30 12:30:44 -04:00
David Goulet 1b924c0d6c Merge branch 'ticket40689_048_01' into maint-0.4.8 2024-05-30 12:30:40 -04:00
David Goulet e963f6147e Merge branch 'maint-0.4.8' into release-0.4.8 2024-05-30 09:51:52 -04:00
David Goulet 50800fa240 scripts: Fix Python3 warnings
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-05-30 09:51:48 -04:00
David Goulet 39ba9ce0d7 dirauth: Add new faravahar
Brand new address, brand new keys, brand new day.

Closes #40689

Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-05-30 09:49:27 -04:00
David Goulet b8c4d2a7d7 Merge branch 'maint-0.4.8' into release-0.4.8 2024-04-30 15:34:11 -04:00
hiro 7708f9a4ea Fix typo in tor-relays list address 2024-04-30 15:34:07 -04:00
David Goulet 927cd24a79 Merge branch 'maint-0.4.8' into release-0.4.8 2024-04-29 16:02:12 -04:00
David Goulet bedc6a90d2 circuit: Remove log_warn triggered by a proto violation
Fixes #40932

Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-16 13:49:42 -04:00
David Goulet fa312de1ec Merge branch 'maint-0.4.8' into release-0.4.8 2024-04-15 15:11:30 -04:00
David Goulet 29e3601c42 Merge branch 'tor-gitlab/mr/808' into maint-0.4.8 2024-04-15 15:11:16 -04:00
David Goulet 612b801ea5 conflux: Don't process a closed circuit on get packaged window
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-15 14:45:29 -04:00
David Goulet 269b4561a1 conflux: Avoid noting a cell was sent on a closed circuit
It turns out that circuit_package_relay_cell() returns 0 in order to drop a
cell but there is a code path, if the circuit queue is full, that also silently
closes the circuit and returns 0.

This lead to Conflux thinking a cell was sent but actually the cell was not and
the circuit was closed leading to the hard assert.

And so this function makes sure that circuit_package_relay_cell() and
append_cell_to_circuit_queue() returns a value that indicate what happened with
the cell and circuit so the caller can make an informed decision with it.

This change makes it that we do NOT enter the Conflux subsystem if the cell is
not queued on the circuit.

Fixes #40921

Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-15 14:24:45 -04:00
David Goulet caa2ddaa8d Merge branch 'maint-0.4.8' into release-0.4.8 2024-04-10 15:48:05 -04:00
Tor CI Release 6ebf436084 version: Bump version to 0.4.8.11-dev 2024-04-10 15:47:49 -04:00
David Goulet cc3037ba77 Merge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.11 2024-04-10 13:06:37 -04:00
Tor CI Release e04dfe6c1f version: Bump version to 0.4.8.11 2024-04-10 13:06:00 -04:00
David Goulet 101afb7ba2 release: ChangeLog and ReleaseNotes for 0.4.8.11
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-10 13:04:50 -04:00
David Goulet 32a0a31fea Merge branch 'maint-0.4.8' into release-0.4.8 2024-04-10 12:59:04 -04:00
Tor CI Release 461679e8c0 fallbackdir: Update list generated on April 10, 2024 2024-04-10 12:58:56 -04:00