Commit Graph

38987 Commits

Author SHA1 Message Date
David Goulet d9f8e5a6c2 Merge branch 'maint-0.4.8' into release-0.4.8 2024-11-19 11:05:03 -05:00
Jim Newsome 08e872ef51 test-network-run: refactor away test_network_ipv6
This should be a pure refactor to simplify the logic a bit now that we
no longer probe for IPv6 support.
2024-11-19 09:25:35 -06:00
Jim Newsome 3e54c985a2 test-network: include IPv6 tests unconditionally
Previously we would incorrectly detect that ipv6 isn't supported if the
ping binary isn't present (as it may not be in a relatively stripped
down container image), or if ICMP packets aren't permitted (as they
often aren't in containers).

We don't really have a need to run these network tests on non-IPv6
systems, so it makes more sense to just run them unconditionally.
2024-11-19 09:25:35 -06:00
David Goulet 5aa4d9195d Merge branch 'maint-0.4.8' into release-0.4.8 2024-11-19 10:24:44 -05:00
Jim Newsome 704540fe46 debian-i386-minimal: explicitly set platform
This is to work around
https://github.com/docker-library/official-images/issues/17896
2024-11-19 10:24:39 -05:00
Jim Newsome 4fe6ef38a2 CI: Use TPA-based images 2024-11-19 10:24:37 -05:00
Jim Newsome e0888653d8 debian-gpl: Run on debian:bullseye instead of buster
* buster is now very old
* all the other jobs run bullseye
* This will facilitate switching to a TPA-maintained image (there is no
  buster image).
2024-11-19 10:24:34 -05:00
David Goulet e33c09a91f Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-31 08:37:51 -04:00
Waldemar Zimpel 4759350b9a Fix: Use FREE_AND_NULL() for releasing workqueue resources
See issue #40989
2024-10-31 08:37:37 -04:00
David Goulet 369fa42e68 Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-24 11:43:14 -04:00
David Goulet 3abcb33545 Merge branch 'tor-gitlab/mr/840' into maint-0.4.8 2024-10-24 11:43:07 -04:00
Jim Newsome 09e91e2f56 Use pip to install chutney's python dependencies 2024-10-24 10:09:19 -05:00
David Goulet 3a7231fcc4 Merge branch 'maint-0.4.8' into release-0.4.8 2024-10-24 10:58:55 -04:00
Tor CI Release 20b075eea8 version: Bump version to 0.4.8.13-dev 2024-10-24 10:58:37 -04:00
Jim Newsome e6bfc2a4ea Re-format CHUTNEY installation block into multiple lines
We're about to add a few more steps, which would make the single-line
format a bit unwieldy.
2024-10-24 09:44:47 -05:00
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