]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
4 months agoChanges file for removing RSA-SHA256-TLSSecret.
Nick Mathewson [Mon, 17 Mar 2025 14:41:25 +0000 (10:41 -0400)] 
Changes file for removing RSA-SHA256-TLSSecret.

Closes #41020.

4 months agoTrunnel: remove support for pre-ed25519 auth.
Nick Mathewson [Mon, 17 Mar 2025 14:02:21 +0000 (10:02 -0400)] 
Trunnel: remove support for pre-ed25519 auth.

This involves a more-than-usual bit of code churn in the generated C,
since the context argument is now gone.

4 months agoRemove support for RSA client auth key (KP_legacy_linkauth_rsa)
Nick Mathewson [Mon, 17 Mar 2025 13:56:55 +0000 (09:56 -0400)] 
Remove support for RSA client auth key (KP_legacy_linkauth_rsa)

4 months agoRemove now-needless RSA key argument for AUTHENTICATE body
Nick Mathewson [Mon, 17 Mar 2025 13:54:58 +0000 (09:54 -0400)] 
Remove now-needless RSA key argument for AUTHENTICATE body

4 months agoRemove higher-level RSA-SHA256-TLSSecret code.
Nick Mathewson [Mon, 17 Mar 2025 13:43:27 +0000 (09:43 -0400)] 
Remove higher-level RSA-SHA256-TLSSecret code.

This is all unreachable now, so we can tear it out
and simplify things a bit.

4 months agoRemove more tests for case where rsa-tlssecrets is supported.
Nick Mathewson [Mon, 17 Mar 2025 13:38:06 +0000 (09:38 -0400)] 
Remove more tests for case where rsa-tlssecrets is supported.

4 months agoNever claim to have LinkAuth=1
Nick Mathewson [Mon, 17 Mar 2025 13:33:41 +0000 (09:33 -0400)] 
Never claim to have LinkAuth=1

4 months agoAUTHTYPE_RSA_SHA256_TLSSECRET is never supported.
Nick Mathewson [Mon, 17 Mar 2025 13:32:55 +0000 (09:32 -0400)] 
AUTHTYPE_RSA_SHA256_TLSSECRET is never supported.

4 months agoAdapt authchallenge tests to always use ed25519+rfc5709 auth
Nick Mathewson [Mon, 17 Mar 2025 13:31:30 +0000 (09:31 -0400)] 
Adapt authchallenge tests to always use ed25519+rfc5709 auth

Previously they used RSA+TlsSecret auth, but that's about
to go away even more.

4 months agoRemove support for "tlssecrets" exporting
Nick Mathewson [Thu, 13 Mar 2025 15:37:15 +0000 (11:37 -0400)] 
Remove support for "tlssecrets" exporting

Before we could rely on RFC5705 key material exporters,
we did a fairly hinky thing involving the client random,
the server random, and the master secret.  These fields
are all opaque in sensible TLS libraries,
and the master secret is quite sensitive.
Therefore, we're removing them.

Some code still refers to them, but it does so behind
a `define(HAVE_WORKING_TOR_TLS_GET_TLSSECRETS)` check,
which macro is now never defined.

Part of #41020.

4 months agoRemove tests for RSA-SHA256-TLSSecret
Nick Mathewson [Mon, 17 Mar 2025 13:20:48 +0000 (09:20 -0400)] 
Remove tests for RSA-SHA256-TLSSecret

(Actually, most of them can remain: we just convert them
to test Ed25519+RFC5709 authentication instead.)

5 months agoStop using time(NULL) for certificate tests.
Nick Mathewson [Thu, 6 Mar 2025 13:47:55 +0000 (08:47 -0500)] 
Stop using time(NULL) for certificate tests.

The canned testing certificates added in order to fix #41041
will start to expire in a couple of months;
to avoid a test failure then, we should only validate
them against a time when they are valid.

Previously, we got away with using time(NULL) because the old
canned certificate (taken from testing.torproject.org)
was not only signed using SHA-1: it was valid until 2043!

5 months agoFix test failures with openssl security level >= 1
Nick Mathewson [Thu, 6 Mar 2025 13:36:00 +0000 (08:36 -0500)] 
Fix test failures with openssl security level >= 1

When OpenSSL compiled to run at security level >= 1,
certificates signed using SHA-1 aren't allowed.
We don't generate or use any such certificates in our regular protocol,
but we had a few in our tests.

This commit replaces those certs with the current certs
from www.torproject.org.

Closes #41021.  Bugfix on 0.2.8.1 when the tests were introduced.

5 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 3 Mar 2025 18:18:32 +0000 (13:18 -0500)] 
Merge branch 'maint-0.4.8'

5 months agofix sandbox for bandwidth authority
Peter Palfrader [Fri, 7 Jun 2024 17:29:52 +0000 (19:29 +0200)] 
fix sandbox for bandwidth authority

5 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 3 Mar 2025 17:40:02 +0000 (12:40 -0500)] 
Merge branch 'maint-0.4.8'

5 months agoTicket 40872: Changes file
Mike Perry [Thu, 21 Nov 2024 17:09:39 +0000 (17:09 +0000)] 
Ticket 40872: Changes file

5 months agoTicket 40872: Output conflux nonce and circ rtt to control port
Mike Perry [Thu, 21 Nov 2024 17:08:19 +0000 (17:08 +0000)] 
Ticket 40872: Output conflux nonce and circ rtt to control port

5 months agoTicket 40872: Add conflux helper functions for control port info
Mike Perry [Thu, 21 Nov 2024 17:06:26 +0000 (17:06 +0000)] 
Ticket 40872: Add conflux helper functions for control port info

5 months agoMerge branch 'floating-point-fuzzing' into 'main'
David Goulet [Mon, 3 Mar 2025 13:46:56 +0000 (13:46 +0000)] 
Merge branch 'floating-point-fuzzing' into 'main'

float-divide-by-zero set in libfuzzer

Closes #24745

See merge request tpo/core/tor!859

5 months agoMerge branch 'settings_distribution' into 'main'
David Goulet [Mon, 3 Mar 2025 13:19:11 +0000 (13:19 +0000)] 
Merge branch 'settings_distribution' into 'main'

relay: add settings distribution setting and remove moat

See merge request tpo/core/tor!860

5 months agorelay: add settings distribution setting and remove moat
meskio [Tue, 25 Feb 2025 15:07:50 +0000 (16:07 +0100)] 
relay: add settings distribution setting and remove moat

moat is being deprecated and replaced by settings. Let's not give a
warning if 'settings' is set but do if 'moat' is set.

5 months agofloat-divide-by-zero set in libfuzzer
john [Fri, 21 Feb 2025 15:16:50 +0000 (16:16 +0100)] 
float-divide-by-zero set in libfuzzer

6 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 5 Feb 2025 14:49:31 +0000 (09:49 -0500)] 
Merge branch 'maint-0.4.8'

6 months agoversion: Bump version to 0.4.8.14-dev
Tor CI Release [Wed, 5 Feb 2025 14:33:19 +0000 (14:33 +0000)] 
version: Bump version to 0.4.8.14-dev

6 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 5 Feb 2025 14:30:13 +0000 (09:30 -0500)] 
Merge branch 'maint-0.4.8'

6 months agoversion: Bump version to 0.4.8.14
Tor CI Release [Wed, 5 Feb 2025 14:22:05 +0000 (14:22 +0000)] 
version: Bump version to 0.4.8.14

6 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 5 Feb 2025 14:23:52 +0000 (09:23 -0500)] 
Merge branch 'maint-0.4.8'

6 months agofallbackdir: Update list generated on February 05, 2025
Tor CI Release [Wed, 5 Feb 2025 14:21:16 +0000 (14:21 +0000)] 
fallbackdir: Update list generated on February 05, 2025

6 months agoUpdate geoip files to match ipfire location db, 2025/02/05.
Tor CI Release [Wed, 5 Feb 2025 14:20:40 +0000 (14:20 +0000)] 
Update geoip files to match ipfire location db, 2025/02/05.

6 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 28 Jan 2025 18:44:17 +0000 (13:44 -0500)] 
Merge branch 'maint-0.4.8'

6 months agohs: Make Windows CI 32bit happy
David Goulet [Tue, 28 Jan 2025 18:44:11 +0000 (13:44 -0500)] 
hs: Make Windows CI 32bit happy

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 28 Jan 2025 18:28:36 +0000 (13:28 -0500)] 
Merge branch 'maint-0.4.8'

6 months agohashx: Move Windows function within another ifdef
David Goulet [Tue, 28 Jan 2025 18:27:14 +0000 (13:27 -0500)] 
hashx: Move Windows function within another ifdef

Function only used within the hugepage ifdef for Windows so move it there so we
avoid a unused function warning on our Windows CI:

src/ext/equix/hashx/src/virtual_memory.c:30:13: error: 'set_privilege' defined but not used [-Werror=unused-function]
   30 | static bool set_privilege(const char* pszPrivilege, BOOL bEnable) {
      |             ^~~~~~~~~~~~~

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 months agoMerge branch 'vuln' into 'main'
David Goulet [Tue, 28 Jan 2025 14:34:07 +0000 (14:34 +0000)] 
Merge branch 'vuln' into 'main'

cargo: fix RUSTSEC-2024-0006

See merge request tpo/core/tor!856

6 months agocargo: fix RUSTSEC-2024-0006
Dimitris Apostolou [Wed, 22 Jan 2025 23:21:07 +0000 (01:21 +0200)] 
cargo: fix RUSTSEC-2024-0006

6 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 22 Jan 2025 14:52:44 +0000 (09:52 -0500)] 
Merge branch 'maint-0.4.8'

6 months agoscripts: Fix rust clippy warning
David Goulet [Wed, 22 Jan 2025 13:59:03 +0000 (08:59 -0500)] 
scripts: Fix rust clippy warning

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 22 Jan 2025 14:06:14 +0000 (09:06 -0500)] 
Merge branch 'maint-0.4.8'

6 months agoBug 40976: Ensure conflux guards obey family and subnet restrictions
Cecylia Bocovich [Wed, 25 Sep 2024 13:06:35 +0000 (09:06 -0400)] 
Bug 40976: Ensure conflux guards obey family and subnet restrictions

6 months agoAdd unit test for selecting guards with exit restrictions
Cecylia Bocovich [Tue, 24 Sep 2024 20:32:41 +0000 (16:32 -0400)] 
Add unit test for selecting guards with exit restrictions

This test checks to see whether guard selection for circuits honor exit
family restrictions.

6 months agoscripts: Fix rust clippy warning
David Goulet [Wed, 22 Jan 2025 13:59:03 +0000 (08:59 -0500)] 
scripts: Fix rust clippy warning

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 months agochanges: Add file for ticket 40996
David Goulet [Wed, 18 Dec 2024 16:31:03 +0000 (11:31 -0500)] 
changes: Add file for ticket 40996

Part of #40996

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 months agotest: Add HS cache OOM cleanup test
David Goulet [Wed, 18 Dec 2024 16:28:59 +0000 (11:28 -0500)] 
test: Add HS cache OOM cleanup test

Part of #40996

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 months agohs: Use downloaded counter for HSDir OOM cache cleanup
David Goulet [Wed, 18 Dec 2024 16:04:00 +0000 (11:04 -0500)] 
hs: Use downloaded counter for HSDir OOM cache cleanup

The OOM cache cleanup is now done by looking at the downloaded counter. The
cleanup process start at 0 and increment it to the next lowest value until
enough bytes have been removed.

This process could be expensive for large amount of descriptors in the cache
but since it is very expensive to increment counters, most cleanup should
happen within a tight range of downloaded counter target.

Fixes #40996

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 months agohs: Add downloaded counter to an HSDir cache entry
David Goulet [Wed, 18 Dec 2024 15:24:28 +0000 (10:24 -0500)] 
hs: Add downloaded counter to an HSDir cache entry

This adds a counter for the number of times a descriptor is downloaded from an
HSDir. Future commit will change the OOM subsystem to clean that cache based on
the lowest downloaded counts instead of time in cache.

In order to raise the bar even more for an attacker, the downloaded counter is
only marked when the directory request stream is closed. To pull this off, the
HS identifier on the directory connection is populated with the blinded key
requested (only on success). Finally, when the connection closes, we can then
lookup the cache entry with it and increment the counter.

Part of #40996

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 months agoMerge branch 'fix-changelogs' into 'main'
David Goulet [Tue, 3 Dec 2024 20:47:57 +0000 (20:47 +0000)] 
Merge branch 'fix-changelogs' into 'main'

clean up the 0.4.9.1-alpha changelog/releasenotes

See merge request tpo/core/tor!849

8 months agoremove redundant change entries
Roger Dingledine [Tue, 3 Dec 2024 19:03:20 +0000 (14:03 -0500)] 
remove redundant change entries

they are already in a released stable, so they are not new to
this alpha

8 months agoforward-port the 0.4.8.13 changes
Roger Dingledine [Tue, 3 Dec 2024 18:54:01 +0000 (13:54 -0500)] 
forward-port the 0.4.8.13 changes

8 months agoremove the 0.4.9.1-alpha entries from releasenotes
Roger Dingledine [Tue, 3 Dec 2024 18:50:51 +0000 (13:50 -0500)] 
remove the 0.4.9.1-alpha entries from releasenotes

releasenotes is for stables, and 1-alpha is not a stable

8 months agoversion: Bump version to 0.4.9.1-alpha-dev
Tor CI Release [Tue, 3 Dec 2024 16:20:23 +0000 (16:20 +0000)] 
version: Bump version to 0.4.9.1-alpha-dev

8 months agoversion: Bump version to 0.4.9.1-alpha tor-0.4.9.1-alpha
Tor CI Release [Tue, 3 Dec 2024 15:48:12 +0000 (15:48 +0000)] 
version: Bump version to 0.4.9.1-alpha

8 months agorelease: ChangeLog and ReleaseNotes for 0.4.9.1-alpha
Tor CI Release [Tue, 3 Dec 2024 15:48:11 +0000 (15:48 +0000)] 
release: ChangeLog and ReleaseNotes for 0.4.9.1-alpha

8 months agoMerge branch 'ticket40990_049_01' into 'main'
Alexander Hansen Færøy [Tue, 3 Dec 2024 15:43:34 +0000 (15:43 +0000)] 
Merge branch 'ticket40990_049_01' into 'main'

process: Don't close all FDs on new spawn

Closes #40990

See merge request tpo/core/tor!848

8 months agoprocess: Don't close all FDs on new spawn
David Goulet [Tue, 3 Dec 2024 15:16:26 +0000 (10:16 -0500)] 
process: Don't close all FDs on new spawn

Fixes #40990

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 months agoRevert "Rework of worker threads' start and exit + slight changes in cleanup code"
David Goulet [Tue, 3 Dec 2024 15:06:25 +0000 (10:06 -0500)] 
Revert "Rework of worker threads' start and exit + slight changes in cleanup code"

This reverts commit 4f3aafa1e422e9aa005b74c8a1d40cc3e9143346.

Once merged upstream, the CI failed here with:

Warning: Failed to confirm worker threads' start up after timeout.
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(_start+0x2a) [0x56404d21ddaa] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(cpuworker_init+0x53) [0x56404d373d53] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(log_backtrace_impl+0x57) [0x56404d29e1f7] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(main+0x19) [0x56404d21dd59] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(run_tor_main_loop+0xce) [0x56404d22188e] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(threadpool_new+0x295) [0x56404d3e28f5] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(tor_assertion_failed_+0x148) [0x56404d2a9248] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(tor_main+0x49) [0x56404d21e179] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /builds/tpo/core/tor/build/src/app/tor(tor_run_main+0x1e5) [0x56404d221db5] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f6aa3b1cd7a] (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)
Warning: Bug: Tor 0.4.9.0-alpha-dev (git-4f3aafa1e422e9aa): Assertion 0 failed in threadpool_new at /builds/tpo/core/tor/src/lib/evloop/workqueue.c:641: . Stack trace: (on Tor 0.4.9.0-alpha-dev 4f3aafa1e422e9aa)

We are figuring it out but revert this so we can release an alpha.

8 months agoRework of worker threads' start and exit + slight changes in cleanup code
Waldemar Zimpel [Tue, 12 Nov 2024 23:58:30 +0000 (00:58 +0100)] 
Rework of worker threads' start and exit + slight changes in cleanup code

See issue #40991

8 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 19 Nov 2024 16:05:03 +0000 (11:05 -0500)] 
Merge branch 'maint-0.4.8'

8 months agotest-network-run: refactor away test_network_ipv6
Jim Newsome [Mon, 18 Nov 2024 16:26:26 +0000 (10:26 -0600)] 
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.

8 months agotest-network: include IPv6 tests unconditionally
Jim Newsome [Fri, 15 Nov 2024 00:38:22 +0000 (18:38 -0600)] 
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.

8 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 19 Nov 2024 15:24:44 +0000 (10:24 -0500)] 
Merge branch 'maint-0.4.8'

8 months agodebian-i386-minimal: explicitly set platform
Jim Newsome [Mon, 18 Nov 2024 19:58:25 +0000 (13:58 -0600)] 
debian-i386-minimal: explicitly set platform

This is to work around
https://github.com/docker-library/official-images/issues/17896

8 months agoCI: Use TPA-based images
Jim Newsome [Mon, 18 Nov 2024 19:25:13 +0000 (13:25 -0600)] 
CI: Use TPA-based images

8 months agodebian-gpl: Run on debian:bullseye instead of buster
Jim Newsome [Mon, 18 Nov 2024 20:15:37 +0000 (14:15 -0600)] 
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).

8 months agoMerge branch 'tpa-images' into 'main'
David Goulet [Tue, 19 Nov 2024 14:02:46 +0000 (14:02 +0000)] 
Merge branch 'tpa-images' into 'main'

Update images

See merge request tpo/core/tor!846

8 months agodebian-i386-minimal: explicitly set platform
Jim Newsome [Mon, 18 Nov 2024 19:58:25 +0000 (13:58 -0600)] 
debian-i386-minimal: explicitly set platform

This is to work around
https://github.com/docker-library/official-images/issues/17896

8 months agoCI: Use TPA-based images
Jim Newsome [Mon, 18 Nov 2024 19:25:13 +0000 (13:25 -0600)] 
CI: Use TPA-based images

8 months agodebian-gpl: Run on debian:bullseye instead of buster
Jim Newsome [Mon, 18 Nov 2024 20:15:37 +0000 (14:15 -0600)] 
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).

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 31 Oct 2024 12:37:51 +0000 (08:37 -0400)] 
Merge branch 'maint-0.4.8'

9 months agoFix: Use FREE_AND_NULL() for releasing workqueue resources
Waldemar Zimpel [Wed, 30 Oct 2024 01:51:20 +0000 (02:51 +0100)] 
Fix: Use FREE_AND_NULL() for releasing workqueue resources

See issue #40989

9 months agoMerge branch 'pin-chutney' into 'main'
David Goulet [Wed, 30 Oct 2024 17:36:28 +0000 (17:36 +0000)] 
Merge branch 'pin-chutney' into 'main'

CI: use a fixed version of chutney

See merge request tpo/core/tor!843

9 months agoCI: use a fixed version of chutney
Jim Newsome [Wed, 30 Oct 2024 15:34:58 +0000 (10:34 -0500)] 
CI: use a fixed version of chutney

While chutney currently runs tor's chutney test in its own CI,
it's difficult to guarantee the two won't accidentally diverge.
Probably best to use a fixed version here so that we can control
chutney version bumps and avoid surprise breakage in tor's CI.

This will also free us to intentionally make breaking changes in
chutney (though I don't have any immediate plans for any).

9 months agoMerge branch 'whitespace' into 'main'
Alexander Hansen Færøy [Mon, 28 Oct 2024 11:30:25 +0000 (11:30 +0000)] 
Merge branch 'whitespace' into 'main'

whitespace fix while debugging #40981

See merge request tpo/core/tor!841

9 months agowhitespace fix while debugging #40981
Roger Dingledine [Thu, 24 Oct 2024 22:55:29 +0000 (18:55 -0400)] 
whitespace fix while debugging #40981

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 24 Oct 2024 15:43:14 +0000 (11:43 -0400)] 
Merge branch 'maint-0.4.8'

9 months agoMerge branch 'tor-gitlab/mr/840' into maint-0.4.8
David Goulet [Thu, 24 Oct 2024 15:43:07 +0000 (11:43 -0400)] 
Merge branch 'tor-gitlab/mr/840' into maint-0.4.8

9 months agoUse pip to install chutney's python dependencies
Jim Newsome [Thu, 24 Oct 2024 14:53:19 +0000 (09:53 -0500)] 
Use pip to install chutney's python dependencies

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 24 Oct 2024 14:58:52 +0000 (10:58 -0400)] 
Merge branch 'maint-0.4.8'

9 months agoversion: Bump version to 0.4.8.13-dev
Tor CI Release [Thu, 24 Oct 2024 14:45:02 +0000 (14:45 +0000)] 
version: Bump version to 0.4.8.13-dev

9 months agoRe-format CHUTNEY installation block into multiple lines
Jim Newsome [Thu, 24 Oct 2024 14:44:47 +0000 (09:44 -0500)] 
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.

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 24 Oct 2024 14:38:31 +0000 (10:38 -0400)] 
Merge branch 'maint-0.4.8'

9 months agoversion: Bump version to 0.4.8.13
Tor CI Release [Thu, 24 Oct 2024 14:27:20 +0000 (14:27 +0000)] 
version: Bump version to 0.4.8.13

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 24 Oct 2024 14:33:31 +0000 (10:33 -0400)] 
Merge branch 'maint-0.4.8'

9 months agofallbackdir: Update list generated on October 24, 2024
Tor CI Release [Thu, 24 Oct 2024 14:26:19 +0000 (14:26 +0000)] 
fallbackdir: Update list generated on October 24, 2024

9 months agoUpdate geoip files to match ipfire location db, 2024/10/24.
Tor CI Release [Thu, 24 Oct 2024 14:25:23 +0000 (14:25 +0000)] 
Update geoip files to match ipfire location db, 2024/10/24.

9 months agoRevert "Handle empty DNS reply without error as NOERROR"
David Goulet [Mon, 21 Oct 2024 16:03:54 +0000 (12:03 -0400)] 
Revert "Handle empty DNS reply without error as NOERROR"

Closes #40984

This reverts commit 3d2f7c3467e7aff545d8e22ffd4153d7598c6d7c.

9 months agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 16 Oct 2024 13:05:34 +0000 (09:05 -0400)] 
Merge branch 'maint-0.4.8'

9 months agoMerge branch 'tor-resolve-bugfix' into 'main'
Alexander Hansen Færøy [Wed, 16 Oct 2024 12:35:57 +0000 (12:35 +0000)] 
Merge branch 'tor-resolve-bugfix' into 'main'

Create socket with correct family as given by sockshost

See merge request tpo/core/tor!836

9 months agoAdd changes file
Daniel Winzen [Tue, 15 Oct 2024 20:01:13 +0000 (22:01 +0200)] 
Add changes file

9 months agodon't build preemptive conflux circuits if no predicted ports
Roger Dingledine [Tue, 15 Oct 2024 06:54:27 +0000 (02:54 -0400)] 
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.

10 months agoCreate socket with correct family as given by sockshost
Daniel Winzen [Sun, 13 Oct 2024 20:32:56 +0000 (22:32 +0200)] 
Create socket with correct family as given by sockshost

10 months agoMerge branch 'changelogs' into 'main'
David Goulet [Thu, 10 Oct 2024 13:57:12 +0000 (13:57 +0000)] 
Merge branch 'changelogs' into 'main'

forward-port the 0.4.8.12 changes

See merge request tpo/core/tor!834

10 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 10 Oct 2024 13:55:57 +0000 (09:55 -0400)] 
Merge branch 'maint-0.4.8'

10 months agoFix: Memory leaks in cpuworker on shutdown
Waldemar Zimpel [Thu, 26 Sep 2024 01:37:19 +0000 (03:37 +0200)] 
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, ...

10 months agochanges: Add file for ticket 40248
David Goulet [Thu, 10 Oct 2024 13:24:39 +0000 (09:24 -0400)] 
changes: Add file for ticket 40248

Signed-off-by: David Goulet <dgoulet@torproject.org>
10 months agoMerge branch 'empty-dns' into 'main'
David Goulet [Thu, 10 Oct 2024 13:22:23 +0000 (13:22 +0000)] 
Merge branch 'empty-dns' into 'main'

Handle empty DNS reply without error as NOERROR

Closes #40248

See merge request tpo/core/tor!830

10 months agoforward-port the 0.4.8.12 changes
Roger Dingledine [Tue, 1 Oct 2024 19:17:40 +0000 (15:17 -0400)] 
forward-port the 0.4.8.12 changes

10 months agoMerge branch 'fix-unittest' into 'main'
David Goulet [Wed, 25 Sep 2024 18:34:43 +0000 (18:34 +0000)] 
Merge branch 'fix-unittest' into 'main'

Fix unit test in test_entrynodes.c

See merge request tpo/core/tor!831

10 months agoFix unit test in test_entrynodes.c
Cecylia Bocovich [Tue, 24 Sep 2024 20:13:29 +0000 (16:13 -0400)] 
Fix unit test in test_entrynodes.c

10 months agoHandle empty DNS reply without error as NOERROR
Daniel Winzen [Tue, 24 Sep 2024 13:07:59 +0000 (15:07 +0200)] 
Handle empty DNS reply without error as NOERROR