]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
2 days agoMerge branch 'maint-0.4.8' main
David Goulet [Fri, 3 Oct 2025 14:17:21 +0000 (10:17 -0400)] 
Merge branch 'maint-0.4.8'

2 days agoci: Unpin TPA runners, the CI failure has been resolved maint-0.4.8
David Goulet [Fri, 3 Oct 2025 12:32:16 +0000 (08:32 -0400)] 
ci: Unpin TPA runners, the CI failure has been resolved

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 days 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>
3 days agoci: Revert i386 minimal to use Bullseye
David Goulet [Thu, 2 Oct 2025 18:49:57 +0000 (14:49 -0400)] 
ci: Revert i386 minimal to use Bullseye

Signed-off-by: David Goulet <dgoulet@torproject.org>
3 days agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 2 Oct 2025 17:45:18 +0000 (13:45 -0400)] 
Merge branch 'maint-0.4.8'

3 days agoci: Pin TPA runners for now
David Goulet [Thu, 2 Oct 2025 17:43:34 +0000 (13:43 -0400)] 
ci: Pin TPA runners for now

For unknown reasons, the non TPA runners lead to this failure:

slow/process/callbacks:
  FAIL ../../src/test/test_process_slow.c:157: assert(timer_tick_count OP_LT 10): 10 vs 10
  FAIL ../../src/test/test_process_slow.c:188: assert(ret OP_EQ 0): -1 vs 0
  FAIL ../../src/test/test_process_slow.c:240: assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 0 vs 12
  [callbacks FAILED]

slow/process/nonexistent_executable: Sep 30 13:29:58.340 [err] tor_assertion_failed_(): Bug: ../../src/core/mainloop/mainloop.c:750: shutdown_did_not_work_callback: Assertion line should be unreached failed; aborting. (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug: Tor 0.4.8.18-dev: Assertion line should be unreached failed in shutdown_did_not_work_callback at ../../src/core/mainloop/mainloop.c:750: . Stack trace: (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(log_backtrace_impl+0x57) [0x5648f4b4fef7] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(tor_assertion_failed_+0x147) [0x5648f4b5d837] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(+0x1b3676) [0x5648f4b0b676] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x21482) [0x7f75a879c482] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x49f) [0x7f75a879cc1f] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(+0x1b4024) [0x5648f4b0c024] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(run_main_loop_until_done+0x35) [0x5648f4b0fa45] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(+0x81d3d) [0x5648f49d9d3d] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(+0x82237) [0x5648f49da237] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(+0x9aeb4) [0x5648f49f2eb4] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(testcase_run_one+0x72) [0x5648f49f2f82] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(tinytest_main+0x104) [0x5648f49f3814] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(main+0x493) [0x5648f49d32c3] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f75a803724a] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f75a8037305] (on Tor 0.4.8.18-dev )
Sep 30 13:29:58.341 [err] Bug:     ./src/test/test-slow(_start+0x21) [0x5648f49d33e1] (on Tor 0.4.8.18-dev )

It is unclear why this is being triggered only on 0.4.8 and non TPA runners
(not happening on main) thus for now pin the runners until we either figure
this one out or deprecate 0.4.8

Signed-off-by: David Goulet <dgoulet@torproject.org>
3 days agoci: Match maint-0.4.8 file
David Goulet [Thu, 2 Oct 2025 17:40:22 +0000 (13:40 -0400)] 
ci: Match maint-0.4.8 file

Will allow forward merging from fixes in 0.4.8

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 days agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 30 Sep 2025 20:22:08 +0000 (16:22 -0400)] 
Merge branch 'maint-0.4.8'

4 days agoFix log integer format
David Goulet [Tue, 30 Sep 2025 20:22:02 +0000 (16:22 -0400)] 
Fix log integer format

Signed-off-by: David Goulet <dgoulet@torproject.org>
5 days agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 30 Sep 2025 19:04:05 +0000 (15:04 -0400)] 
Merge branch 'maint-0.4.8'

5 days agoMerge branch 'tor-gitlab/mr/937' into maint-0.4.8
David Goulet [Tue, 30 Sep 2025 19:04:02 +0000 (15:04 -0400)] 
Merge branch 'tor-gitlab/mr/937' into maint-0.4.8

5 days agomaint: fix formatting of changes file (v2) 937/head
Steven Engler [Tue, 30 Sep 2025 18:14:53 +0000 (14:14 -0400)] 
maint: fix formatting of changes file (v2)

5 days agoflow-ctrl: fix line length warnings
Steven Engler [Tue, 30 Sep 2025 14:45:23 +0000 (10:45 -0400)] 
flow-ctrl: fix line length warnings

5 days agomaint: fix formatting of changes file
Steven Engler [Tue, 30 Sep 2025 14:41:51 +0000 (10:41 -0400)] 
maint: fix formatting of changes file

5 days agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 30 Sep 2025 13:56:51 +0000 (09:56 -0400)] 
Merge branch 'maint-0.4.8'

5 days agoMerge branch 'tor-gitlab/mr/936' into maint-0.4.8
David Goulet [Tue, 30 Sep 2025 13:56:45 +0000 (09:56 -0400)] 
Merge branch 'tor-gitlab/mr/936' into maint-0.4.8

5 days agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 30 Sep 2025 13:43:24 +0000 (09:43 -0400)] 
Merge branch 'maint-0.4.8'

5 days agogeoip: Upgrade crates to their latest
David Goulet [Tue, 30 Sep 2025 13:43:18 +0000 (09:43 -0400)] 
geoip: Upgrade crates to their latest

Signed-off-by: David Goulet <dgoulet@torproject.org>
5 days agoMerge branch 'maxhsdircache' into 'main'
David Goulet [Tue, 30 Sep 2025 13:24:52 +0000 (13:24 +0000)] 
Merge branch 'maxhsdircache' into 'main'

fix default MaxHSDirCacheBytes setting

See merge request tpo/core/tor!928

5 days agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 30 Sep 2025 13:15:41 +0000 (09:15 -0400)] 
Merge branch 'maint-0.4.8'

5 days agogeoip: Fix cargo clippy warning
David Goulet [Tue, 30 Sep 2025 13:15:20 +0000 (09:15 -0400)] 
geoip: Fix cargo clippy warning

Signed-off-by: David Goulet <dgoulet@torproject.org>
5 days agogeoip: Fix cargo clippy warning
David Goulet [Tue, 30 Sep 2025 13:15:20 +0000 (09:15 -0400)] 
geoip: Fix cargo clippy warning

Signed-off-by: David Goulet <dgoulet@torproject.org>
5 days agoflow-ctrl: improve log line
Steven Engler [Tue, 30 Sep 2025 01:59:39 +0000 (21:59 -0400)] 
flow-ctrl: improve log line

5 days agoflow-ctrl: add XOFF grace period
Steven Engler [Tue, 30 Sep 2025 01:57:57 +0000 (21:57 -0400)] 
flow-ctrl: add XOFF grace period

This is meant to reduce the number of XOFF sent, especially on conflux
circuits.

5 days agoflow-ctrl: indentation-only change
Steven Engler [Tue, 30 Sep 2025 01:54:06 +0000 (21:54 -0400)] 
flow-ctrl: indentation-only change

This is an intermediate commit to hopefully make reviewing easier. Adds
indentation and a `{}` scope.

6 days agoReorder TLS group preferences to work around LibreSSL bug 936/head
dzwdz [Mon, 29 Sep 2025 18:15:19 +0000 (20:15 +0200)] 
Reorder TLS group preferences to work around LibreSSL bug

10 days agoMerge branch 'ticket41117' into 'main'
David Goulet [Thu, 25 Sep 2025 14:36:48 +0000 (14:36 +0000)] 
Merge branch 'ticket41117' into 'main'

Bulletproof the "get_mozilla_ciphers" script

Closes #41117

See merge request tpo/core/tor!933

12 days agoBulletproof the "get_mozilla_ciphers" script 933/head
Nick Mathewson [Tue, 23 Sep 2025 15:44:28 +0000 (11:44 -0400)] 
Bulletproof the "get_mozilla_ciphers" script

Reviewers have noted that the script's logic treats all "enabled"
flags in StaticPrefList.yaml (other than an explicit False) as True.
That's not so great, since the flag can also be a string, and we
don't necessarily want to treat all strings as meaning that a
ciphersuite is enabled.  (Although we do in fact want to treat
the only string used in _current_ firefox git main that way.)

This change has no effect on the generated ciphers.inc.

Closes #41117.

ci

2 weeks agoversion: Bump version to 0.4.9.3-alpha-dev
Tor CI Release [Tue, 16 Sep 2025 15:45:25 +0000 (15:45 +0000)] 
version: Bump version to 0.4.9.3-alpha-dev

2 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 16:00:22 +0000 (12:00 -0400)] 
Merge branch 'maint-0.4.8'

2 weeks agoversion: Bump version to 0.4.8.18-dev
Tor CI Release [Tue, 16 Sep 2025 15:45:24 +0000 (15:45 +0000)] 
version: Bump version to 0.4.8.18-dev

2 weeks agoclean up MaxHSDirCacheBytes docs 928/head
dzwdz [Tue, 16 Sep 2025 02:57:37 +0000 (04:57 +0200)] 
clean up MaxHSDirCacheBytes docs

slop? in my tor(1)? more likely than you think

I don't think any other entries use "Default" lke this, and the repetition
seems pointless.  The historical context was broken off to keep the "main" part
short and tidy.

2 weeks agoversion: Bump version to 0.4.9.3-alpha tor-0.4.9.3-alpha
Tor CI Release [Tue, 16 Sep 2025 15:39:06 +0000 (15:39 +0000)] 
version: Bump version to 0.4.9.3-alpha

2 weeks agochangelog: Use the right alpha version
David Goulet [Tue, 16 Sep 2025 15:37:02 +0000 (11:37 -0400)] 
changelog: Use the right alpha version

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 weeks agoversion: Bump version to 0.4.9.2-alpha
Tor CI Release [Tue, 16 Sep 2025 14:36:50 +0000 (14:36 +0000)] 
version: Bump version to 0.4.9.2-alpha

2 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 15:05:26 +0000 (11:05 -0400)] 
Merge branch 'maint-0.4.8'

2 weeks agoversion: Bump version to 0.4.8.18
Tor CI Release [Tue, 16 Sep 2025 14:36:42 +0000 (14:36 +0000)] 
version: Bump version to 0.4.8.18

2 weeks agorelease: ChangeLog and ReleaseNotes for 0.4.9.2-alpha
David Goulet [Tue, 16 Sep 2025 15:04:31 +0000 (11:04 -0400)] 
release: ChangeLog and ReleaseNotes for 0.4.9.2-alpha

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 14:48:54 +0000 (10:48 -0400)] 
Merge branch 'maint-0.4.8'

2 weeks agofallbackdir: Update list generated on September 16, 2025
Tor CI Release [Tue, 16 Sep 2025 14:35:56 +0000 (14:35 +0000)] 
fallbackdir: Update list generated on September 16, 2025

2 weeks agoUpdate geoip files to match ipfire location db, 2025/09/16.
Tor CI Release [Tue, 16 Sep 2025 14:34:41 +0000 (14:34 +0000)] 
Update geoip files to match ipfire location db, 2025/09/16.

2 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 14:15:20 +0000 (10:15 -0400)] 
Merge branch 'maint-0.4.8'

2 weeks agoFix test_parseconf on MaxHSDirCacheBytes default
Alex Xu (Hello71) [Mon, 15 Sep 2025 23:39:08 +0000 (19:39 -0400)] 
Fix test_parseconf on MaxHSDirCacheBytes default

Change the logic to evaluate the default when fetching the value, matching
other default options like ExtORPortCookieAuthFile.

2 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 13:01:45 +0000 (09:01 -0400)] 
Merge branch 'maint-0.4.8'

2 weeks agoMerge branch 'tor-gitlab/mr/927'
David Goulet [Tue, 16 Sep 2025 13:00:45 +0000 (09:00 -0400)] 
Merge branch 'tor-gitlab/mr/927'

2 weeks agoMerge branch 'tor-gitlab/mr/927' into maint-0.4.8
David Goulet [Tue, 16 Sep 2025 12:58:22 +0000 (08:58 -0400)] 
Merge branch 'tor-gitlab/mr/927' into maint-0.4.8

2 weeks agoMerge branch 'cleanup' into 'main'
David Goulet [Tue, 16 Sep 2025 12:52:52 +0000 (12:52 +0000)] 
Merge branch 'cleanup' into 'main'

add a log_backtrace_once macro

See merge request tpo/core/tor!924

2 weeks agoMerge branch 'practracker-python-3-14' into 'main'
David Goulet [Tue, 16 Sep 2025 12:43:40 +0000 (12:43 +0000)] 
Merge branch 'practracker-python-3-14' into 'main'

practracker: codecs.open -> io.open for python 3.14

See merge request tpo/core/tor!930

2 weeks agoMerge branch 'hsdir-max-bytes-config' into 'main'
David Goulet [Tue, 16 Sep 2025 12:42:19 +0000 (12:42 +0000)] 
Merge branch 'hsdir-max-bytes-config' into 'main'

Fix test_parseconf on MaxHSDirCacheBytes default

See merge request tpo/core/tor!929

2 weeks agoFix test_parseconf on MaxHSDirCacheBytes default
Alex Xu (Hello71) [Mon, 15 Sep 2025 23:39:08 +0000 (19:39 -0400)] 
Fix test_parseconf on MaxHSDirCacheBytes default

Change the logic to evaluate the default when fetching the value, matching
other default options like ExtORPortCookieAuthFile.

2 weeks agopractracker: codecs.open -> io.open for python 3.14
Alex Xu (Hello71) [Mon, 15 Sep 2025 23:37:00 +0000 (19:37 -0400)] 
practracker: codecs.open -> io.open for python 3.14

codecs.open is now deprecated: https://docs.python.org/3.14/whatsnew/3.14.html.
it prints a DeprecationWarning which makes tests fail, and may be removed in
the future. io.open works on python 2 and 3

2 weeks agorelay: Zeroed a stack allocated relay msg struct
David Goulet [Mon, 15 Sep 2025 17:04:54 +0000 (13:04 -0400)] 
relay: Zeroed a stack allocated relay msg struct

Following 63332eb3e711786f (MR 926), just more defense in depth for our future
selves.

Related to #41123

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 weeks agoMerge branch 'tor-gitlab/mr/926'
David Goulet [Mon, 15 Sep 2025 17:03:05 +0000 (13:03 -0400)] 
Merge branch 'tor-gitlab/mr/926'

2 weeks agocirc: Free conflux pending nonce if nonce is untracked
David Goulet [Mon, 15 Sep 2025 15:05:56 +0000 (11:05 -0400)] 
circ: Free conflux pending nonce if nonce is untracked

This can happen if we loose track of the nonce and a circuit with it is
repurposed.

Without this, it would lead to a non fatal assert on a control port circuit
event of puporse change.

Related to #41037

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 weeks agoSet is_relay_early to false when encoding relay msgs.
Nick Mathewson [Mon, 15 Sep 2025 13:20:15 +0000 (09:20 -0400)] 
Set is_relay_early to false when encoding relay msgs.

Spotted by Alex Xu.

Fixes #41123; bug not in any released Tor.

3 weeks agocredit shadowcoder for #41104 fix
Roger Dingledine [Fri, 12 Sep 2025 19:19:06 +0000 (15:19 -0400)] 
credit shadowcoder for #41104 fix

3 weeks agoadd a log_backtrace_once macro
dzwdz [Sat, 6 Sep 2025 19:29:14 +0000 (21:29 +0200)] 
add a log_backtrace_once macro

This is a common pattern when calling log_backtrace, and we already have
similar macros like tor_assert_nonfatal_once.

3 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 10 Sep 2025 17:54:04 +0000 (13:54 -0400)] 
Merge branch 'maint-0.4.8'

3 weeks agoconfig: Fix wide comment
David Goulet [Wed, 10 Sep 2025 17:53:59 +0000 (13:53 -0400)] 
config: Fix wide comment

Signed-off-by: David Goulet <dgoulet@torproject.org>
3 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 10 Sep 2025 17:51:29 +0000 (13:51 -0400)] 
Merge branch 'maint-0.4.8'

3 weeks agoMerge remote-tracking branch 'mikeperry-private/ticket41006_copilot_piecewise' into...
David Goulet [Wed, 10 Sep 2025 17:51:19 +0000 (13:51 -0400)] 
Merge remote-tracking branch 'mikeperry-private/ticket41006_copilot_piecewise' into maint-0.4.8

3 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 10 Sep 2025 17:11:15 +0000 (13:11 -0400)] 
Merge branch 'maint-0.4.8'

3 weeks agoMerge branch 'tor-gitlab/mr/917' into maint-0.4.8
David Goulet [Wed, 10 Sep 2025 17:11:10 +0000 (13:11 -0400)] 
Merge branch 'tor-gitlab/mr/917' into maint-0.4.8

3 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 10 Sep 2025 17:07:16 +0000 (13:07 -0400)] 
Merge branch 'maint-0.4.8'

3 weeks agoMerge branch 'cleanup' into 'main'
David Goulet [Wed, 10 Sep 2025 15:01:35 +0000 (15:01 +0000)] 
Merge branch 'cleanup' into 'main'

remove dead code from circuit_n_chan_done

See merge request tpo/core/tor!923

3 weeks agoremove dead code from circuit_n_chan_done
dzwdz [Mon, 8 Sep 2025 03:01:20 +0000 (05:01 +0200)] 
remove dead code from circuit_n_chan_done

close_origin_circuits was added in ccabbe702a072cfc4b2ec194d8211d06ce991904,
and the last usage was removed in 5a174ebfac759081c1c6c2adf614c43cc75325c3,
8 years ago.

4 weeks agoMake thread control POSIX compliant
Waldemar Zimpel [Sun, 24 Aug 2025 19:10:34 +0000 (21:10 +0200)] 
Make thread control POSIX compliant

Closes issue #41109

5 weeks agoPreparation of `tor_sleep_msec()`
Waldemar Zimpel [Wed, 27 Aug 2025 23:24:50 +0000 (01:24 +0200)] 
Preparation of `tor_sleep_msec()`

- Update `tor_sleep_msec()` with `nanosleep()` function
- Make `tor_sleep_msec()` available outside of unit tests

5 weeks agoMerge branch 'bridgeline' into 'main'
Alexander Hansen Færøy [Thu, 28 Aug 2025 13:19:52 +0000 (15:19 +0200)] 
Merge branch 'bridgeline' into 'main'

bridge: output complete bridge lines to logs & disk

See merge request tpo/core/tor!782

5 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Wed, 27 Aug 2025 18:01:24 +0000 (14:01 -0400)] 
Merge branch 'maint-0.4.8'

5 weeks agoRevert "Make thread control POSIX compliant"
David Goulet [Wed, 27 Aug 2025 18:01:19 +0000 (14:01 -0400)] 
Revert "Make thread control POSIX compliant"

This reverts commit bd461eb92048d7dd13ba25dbdafb1fd5440c071c.

5 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 26 Aug 2025 14:16:39 +0000 (10:16 -0400)] 
Merge branch 'maint-0.4.8'

6 weeks agoMake thread control POSIX compliant
Waldemar Zimpel [Sun, 24 Aug 2025 19:10:34 +0000 (21:10 +0200)] 
Make thread control POSIX compliant

Closes issue #41109

6 weeks agosave PT bridge lines to disk
dzwdz [Sun, 24 Aug 2025 18:25:08 +0000 (20:25 +0200)] 
save PT bridge lines to disk

Solves https://gitlab.torproject.org/tpo/core/tor/-/issues/29128.

pt_update_bridge_lines() was based on pt_get_extra_info_descriptor_string().
In particular, I copied the behaviour of not printing IPv6 addresses if IPv4 is
present.  I'll make both functions use IPv6 in another MR.

That function is called when the IP or key changes.  Sadly, I don't remember
how I decided from where exactly to call it (I wrote this ages ago), but it
seems fine?

7 weeks agoLogging / Compression
Waldemar Zimpel [Thu, 14 Aug 2025 21:41:27 +0000 (23:41 +0200)] 
Logging / Compression

Add compression factor to the "Detected possible compression bomb ..."
warning.

8 weeks agometrics: Only coung LD_BUG if they are warn/err
David Goulet [Thu, 7 Aug 2025 18:34:12 +0000 (14:34 -0400)] 
metrics: Only coung LD_BUG if they are warn/err

Fixes #41104

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 weeks agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 7 Aug 2025 18:20:10 +0000 (14:20 -0400)] 
Merge branch 'maint-0.4.8'

8 weeks agochanges: Add file for padding log fix
David Goulet [Thu, 7 Aug 2025 18:20:02 +0000 (14:20 -0400)] 
changes: Add file for padding log fix

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 weeks agoMerge branch 'tor-gitlab/mr/908' into maint-0.4.8
David Goulet [Thu, 7 Aug 2025 18:12:09 +0000 (14:12 -0400)] 
Merge branch 'tor-gitlab/mr/908' into maint-0.4.8

2 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 5 Aug 2025 14:41:51 +0000 (10:41 -0400)] 
Merge branch 'maint-0.4.8'

2 months agoMerge branch 'unix-processes/cloexec-pipes' into 'main'
David Goulet [Mon, 4 Aug 2025 19:38:47 +0000 (19:38 +0000)] 
Merge branch 'unix-processes/cloexec-pipes' into 'main'

Unix processes / IPC / Utilize pipes with "close-on-exec" flag set

See merge request tpo/core/tor!916

2 months agoUnix processes / IPC / Utilize pipes with "close-on-exec" flag set
excurso [Mon, 4 Aug 2025 19:38:47 +0000 (19:38 +0000)] 
Unix processes / IPC / Utilize pipes with "close-on-exec" flag set

2 months agoFix: "Bug: Duplicate call to circuit_mark_for_close()"
Waldemar Zimpel [Tue, 8 Jul 2025 18:52:49 +0000 (20:52 +0200)] 
Fix: "Bug: Duplicate call to circuit_mark_for_close()"

Second attempt

Closes issues #41106, #40951

3 months agoMerge branch 'maint-0.4.8'
David Goulet [Tue, 1 Jul 2025 12:19:45 +0000 (08:19 -0400)] 
Merge branch 'maint-0.4.8'

3 months agogeoip: Fix Rust clippy warning
David Goulet [Tue, 1 Jul 2025 12:19:36 +0000 (08:19 -0400)] 
geoip: Fix Rust clippy warning

Signed-off-by: David Goulet <dgoulet@torproject.org>
3 months agoMerge branch 'changelogs' into 'main'
David Goulet [Tue, 1 Jul 2025 12:17:21 +0000 (12:17 +0000)] 
Merge branch 'changelogs' into 'main'

forward port changelogs 0.4.8.14 - 0.4.8.17

See merge request tpo/core/tor!914

3 months agoMerge branch 'tabs' into 'main'
David Goulet [Tue, 1 Jul 2025 12:16:00 +0000 (12:16 +0000)] 
Merge branch 'tabs' into 'main'

clean up tabs/whitespace in automake files

See merge request tpo/core/tor!913

3 months agoforward port changelogs 0.4.8.14 - 0.4.8.17
Roger Dingledine [Tue, 1 Jul 2025 06:13:10 +0000 (02:13 -0400)] 
forward port changelogs 0.4.8.14 - 0.4.8.17

3 months agoclean up tabs/whitespace in automake files
Roger Dingledine [Tue, 1 Jul 2025 05:59:45 +0000 (01:59 -0400)] 
clean up tabs/whitespace in automake files

it used to be a clean set of tabs but it accumulated chaos
over the years

diff is best viewed with git diff -w

3 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 30 Jun 2025 16:59:50 +0000 (12:59 -0400)] 
Merge branch 'maint-0.4.8'

3 months agoversion: Bump version to 0.4.8.17-dev
Tor CI Release [Mon, 30 Jun 2025 14:11:34 +0000 (14:11 +0000)] 
version: Bump version to 0.4.8.17-dev

3 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 30 Jun 2025 14:05:34 +0000 (10:05 -0400)] 
Merge branch 'maint-0.4.8'

3 months agoversion: Bump version to 0.4.8.17
Tor CI Release [Mon, 30 Jun 2025 13:14:59 +0000 (13:14 +0000)] 
version: Bump version to 0.4.8.17

3 months agoMerge branch 'maint-0.4.8'
David Goulet [Mon, 30 Jun 2025 13:55:54 +0000 (09:55 -0400)] 
Merge branch 'maint-0.4.8'

3 months agofallbackdir: Update list generated on June 30, 2025
Tor CI Release [Mon, 30 Jun 2025 13:14:10 +0000 (13:14 +0000)] 
fallbackdir: Update list generated on June 30, 2025

3 months agoUpdate geoip files to match ipfire location db, 2025/06/30.
Tor CI Release [Mon, 30 Jun 2025 13:13:13 +0000 (13:13 +0000)] 
Update geoip files to match ipfire location db, 2025/06/30.

3 months agoMerge branch 'maint-0.4.8'
David Goulet [Thu, 26 Jun 2025 16:16:45 +0000 (12:16 -0400)] 
Merge branch 'maint-0.4.8'

3 months agotls: Set TLSv1.3 ciphers to preserve ciphersuites order
ValdikSS [Thu, 26 Jun 2025 14:24:28 +0000 (10:24 -0400)] 
tls: Set TLSv1.3 ciphers to preserve ciphersuites order

This commit fixes two issues:

1. ciphers.inc has TLSv1.3 ciphers prefixed with "TXT", while current version
   has "RFC". TLS1_3_RFC_AES_128_GCM_SHA256 should be instead of
   TLS1_3_TXT_AES_128_GCM_SHA256, in both define and CIPHER() macro.

2. Tor calls only SSL_set_cipher_list() in tlstls_openssl.c, this sets only
   TLSv1.2 ciphers, while TLSv1.3 ciphers stay in default state. TLSv1.3
   ciphersuites are set with SSL_set_ciphersuites(), but the list require to
   contain only TLSv1.3 suites (no v1.2).

Contrary to SSL_set_cipher_list(), TLSv1.3 SSL_set_ciphersuites() does NOT
accept finalizing :, so it should be stripped out.

Signed-off-by: David Goulet <dgoulet@torproject.org>
3 months agoMerge branch 'unix-processes/code-cleanup/1' into 'main'
Alexander Hansen Færøy [Tue, 17 Jun 2025 15:19:10 +0000 (17:19 +0200)] 
Merge branch 'unix-processes/code-cleanup/1' into 'main'

Unix processes / Remove dead code

See merge request tpo/core/tor!911

3 months agoUnix processes / Remove dead code
excurso [Tue, 17 Jun 2025 15:19:09 +0000 (15:19 +0000)] 
Unix processes / Remove dead code