]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
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.

9 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

11 months agoMerge branch 'typo-socks-proxy' into 'main'
David Goulet [Tue, 10 Sep 2024 12:49:51 +0000 (12:49 +0000)] 
Merge branch 'typo-socks-proxy' into 'main'

Fix a typo in the HTTP proxy error message.

See merge request tpo/core/tor!829

11 months agotest: Add unit tests for prop351
David Goulet [Tue, 10 Sep 2024 12:46:02 +0000 (08:46 -0400)] 
test: Add unit tests for prop351

Signed-off-by: David Goulet <dgoulet@torproject.org>
11 months agoFix a typo in the HTTP proxy error message.
Pier Angelo Vendrame [Tue, 10 Sep 2024 12:24:46 +0000 (14:24 +0200)] 
Fix a typo in the HTTP proxy error message.

11 months agoImplement proposal 351
Nick Mathewson [Mon, 9 Sep 2024 21:00:50 +0000 (17:00 -0400)] 
Implement proposal 351

This proposal adds new syntax to the SOCKS5 username/password extension scheme,
so that requests with usernames starting with <torS0X> are now reserved.

For C tor, all we need to do is reject every username starting with <torS0X>
unless it is exactly "<torS0X>0".

12 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 5 Aug 2024 19:26:38 +0000 (15:26 -0400)] 
Merge branch 'maint-0.4.8'

12 months agodirvote: Fix memleak when computing consensus
David Goulet [Mon, 5 Aug 2024 15:59:30 +0000 (11:59 -0400)] 
dirvote: Fix memleak when computing consensus

Fixes #40966

Signed-off-by: David Goulet <dgoulet@torproject.org>
12 months agoMerge branch 'manpage-typos' into 'main'
David Goulet [Mon, 22 Jul 2024 14:54:42 +0000 (14:54 +0000)] 
Merge branch 'manpage-typos' into 'main'

two small presentation issues in man page

See merge request tpo/core/tor!824

13 months agotwo small presentation issues in man page
Roger Dingledine [Fri, 12 Jul 2024 21:46:40 +0000 (17:46 -0400)] 
two small presentation issues in man page

13 months agoMerge branch 'tap-out-phase-1' into 'main'
David Goulet [Thu, 27 Jun 2024 13:34:12 +0000 (13:34 +0000)] 
Merge branch 'tap-out-phase-1' into 'main'

Implement phase 1 of Proposal 350 (remove TAP onion keys)

See merge request tpo/core/tor!822

13 months agoChanges file for proposal 350 phase 1
Nick Mathewson [Tue, 25 Jun 2024 12:35:12 +0000 (08:35 -0400)] 
Changes file for proposal 350 phase 1

13 months agoDo not publish TAP key when publish-dummy-tap-key is 0.
Nick Mathewson [Tue, 25 Jun 2024 13:01:21 +0000 (09:01 -0400)] 
Do not publish TAP key when publish-dummy-tap-key is 0.

13 months agoUpdate supported protovers for prop350
Nick Mathewson [Mon, 24 Jun 2024 23:53:50 +0000 (19:53 -0400)] 
Update supported protovers for prop350

Relay=1 is no longer supported; it corresponds to TAP.

Microdesc=3 and Desc=3 are now supported; they correspond to the ability to
handle (micro)descriptors without TAP onion keys.

13 months agoAdd a test for parsing a routerdesc with no TAP key.
Nick Mathewson [Mon, 24 Jun 2024 21:48:42 +0000 (17:48 -0400)] 
Add a test for parsing a routerdesc with no TAP key.