]>
git.ipfire.org Git - thirdparty/tor.git/log
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>
David Goulet [Tue, 30 Sep 2025 20:22:08 +0000 (16:22 -0400)]
Merge branch 'maint-0.4.8'
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>
David Goulet [Tue, 30 Sep 2025 19:04:05 +0000 (15:04 -0400)]
Merge branch '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
Steven Engler [Tue, 30 Sep 2025 18:14:53 +0000 (14:14 -0400)]
maint: fix formatting of changes file (v2)
Steven Engler [Tue, 30 Sep 2025 14:45:23 +0000 (10:45 -0400)]
flow-ctrl: fix line length warnings
Steven Engler [Tue, 30 Sep 2025 14:41:51 +0000 (10:41 -0400)]
maint: fix formatting of changes file
David Goulet [Tue, 30 Sep 2025 13:56:51 +0000 (09:56 -0400)]
Merge branch '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
David Goulet [Tue, 30 Sep 2025 13:43:24 +0000 (09:43 -0400)]
Merge branch 'maint-0.4.8'
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>
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
David Goulet [Tue, 30 Sep 2025 13:15:41 +0000 (09:15 -0400)]
Merge branch 'maint-0.4.8'
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>
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>
Steven Engler [Tue, 30 Sep 2025 01:59:39 +0000 (21:59 -0400)]
flow-ctrl: improve log line
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.
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.
dzwdz [Mon, 29 Sep 2025 18:15:19 +0000 (20:15 +0200)]
Reorder TLS group preferences to work around LibreSSL bug
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
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
Tor CI Release [Tue, 16 Sep 2025 15:45:25 +0000 (15:45 +0000)]
version: Bump version to 0.4.9.3-alpha-dev
David Goulet [Tue, 16 Sep 2025 16:00:22 +0000 (12:00 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Tue, 16 Sep 2025 15:45:24 +0000 (15:45 +0000)]
version: Bump version to 0.4.8.18-dev
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.
Tor CI Release [Tue, 16 Sep 2025 15:39:06 +0000 (15:39 +0000)]
version: Bump version to 0.4.9.3-alpha
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>
Tor CI Release [Tue, 16 Sep 2025 14:36:50 +0000 (14:36 +0000)]
version: Bump version to 0.4.9.2-alpha
David Goulet [Tue, 16 Sep 2025 15:05:26 +0000 (11:05 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Tue, 16 Sep 2025 14:36:42 +0000 (14:36 +0000)]
version: Bump version to 0.4.8.18
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>
David Goulet [Tue, 16 Sep 2025 14:48:54 +0000 (10:48 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Tue, 16 Sep 2025 14:35:56 +0000 (14:35 +0000)]
fallbackdir: Update list generated on September 16, 2025
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.
David Goulet [Tue, 16 Sep 2025 14:15:20 +0000 (10:15 -0400)]
Merge branch 'maint-0.4.8'
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.
David Goulet [Tue, 16 Sep 2025 13:01:45 +0000 (09:01 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Tue, 16 Sep 2025 13:00:45 +0000 (09:00 -0400)]
Merge branch 'tor-gitlab/mr/927'
David Goulet [Tue, 16 Sep 2025 12:58:22 +0000 (08:58 -0400)]
Merge branch 'tor-gitlab/mr/927' into maint-0.4.8
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
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
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
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.
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
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>
David Goulet [Mon, 15 Sep 2025 17:03:05 +0000 (13:03 -0400)]
Merge branch 'tor-gitlab/mr/926'
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>
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.
Roger Dingledine [Fri, 12 Sep 2025 19:19:06 +0000 (15:19 -0400)]
credit shadowcoder for #41104 fix
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.
David Goulet [Wed, 10 Sep 2025 17:54:04 +0000 (13:54 -0400)]
Merge branch 'maint-0.4.8'
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>
David Goulet [Wed, 10 Sep 2025 17:51:29 +0000 (13:51 -0400)]
Merge branch 'maint-0.4.8'
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
David Goulet [Wed, 10 Sep 2025 17:11:15 +0000 (13:11 -0400)]
Merge branch '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
David Goulet [Wed, 10 Sep 2025 17:07:16 +0000 (13:07 -0400)]
Merge branch 'maint-0.4.8'
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
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.
Waldemar Zimpel [Sun, 24 Aug 2025 19:10:34 +0000 (21:10 +0200)]
Make thread control POSIX compliant
Closes issue #41109
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
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
David Goulet [Wed, 27 Aug 2025 18:01:24 +0000 (14:01 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 27 Aug 2025 18:01:19 +0000 (14:01 -0400)]
Revert "Make thread control POSIX compliant"
This reverts commit
bd461eb92048d7dd13ba25dbdafb1fd5440c071c .
David Goulet [Tue, 26 Aug 2025 14:16:39 +0000 (10:16 -0400)]
Merge branch 'maint-0.4.8'
Waldemar Zimpel [Sun, 24 Aug 2025 19:10:34 +0000 (21:10 +0200)]
Make thread control POSIX compliant
Closes issue #41109
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?
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.
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>
David Goulet [Thu, 7 Aug 2025 18:20:10 +0000 (14:20 -0400)]
Merge branch 'maint-0.4.8'
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>
David Goulet [Thu, 7 Aug 2025 18:12:09 +0000 (14:12 -0400)]
Merge branch 'tor-gitlab/mr/908' into maint-0.4.8
David Goulet [Tue, 5 Aug 2025 14:41:51 +0000 (10:41 -0400)]
Merge branch 'maint-0.4.8'
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
excurso [Mon, 4 Aug 2025 19:38:47 +0000 (19:38 +0000)]
Unix processes / IPC / Utilize pipes with "close-on-exec" flag set
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
David Goulet [Tue, 1 Jul 2025 12:19:45 +0000 (08:19 -0400)]
Merge branch 'maint-0.4.8'
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>
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
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
Roger Dingledine [Tue, 1 Jul 2025 06:13:10 +0000 (02:13 -0400)]
forward port changelogs 0.4.8.14 - 0.4.8.17
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
David Goulet [Mon, 30 Jun 2025 16:59:50 +0000 (12:59 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Mon, 30 Jun 2025 14:11:34 +0000 (14:11 +0000)]
version: Bump version to 0.4.8.17-dev
David Goulet [Mon, 30 Jun 2025 14:05:34 +0000 (10:05 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Mon, 30 Jun 2025 13:14:59 +0000 (13:14 +0000)]
version: Bump version to 0.4.8.17
David Goulet [Mon, 30 Jun 2025 13:55:54 +0000 (09:55 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Mon, 30 Jun 2025 13:14:10 +0000 (13:14 +0000)]
fallbackdir: Update list generated on June 30, 2025
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.
David Goulet [Thu, 26 Jun 2025 16:16:45 +0000 (12:16 -0400)]
Merge branch 'maint-0.4.8'
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>
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
excurso [Tue, 17 Jun 2025 15:19:09 +0000 (15:19 +0000)]
Unix processes / Remove dead code
Waldemar Zimpel [Mon, 9 Jun 2025 12:07:33 +0000 (14:07 +0200)]
Logging / Channel padding delay
Reduce the amount of messages being logged related to
channel padding delay when log level is "notice".
Log the channel padding delay as "info" as soon as the
delay occurs. Log "notice" on each heartbeat only
containing the average channel padding delay and the
amount of delays (that exceeded the allowed time window)
occurring between heartbeats or, if first heartbeat
since startup, between startup and heartbeat.
David Goulet [Thu, 12 Jun 2025 16:54:04 +0000 (12:54 -0400)]
Merge branch 'tor-gitlab/mr/905'
David Goulet [Thu, 12 Jun 2025 15:57:31 +0000 (11:57 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Thu, 12 Jun 2025 15:57:27 +0000 (11:57 -0400)]
Merge branch 'tor-gitlab/mr/910' into maint-0.4.8
David Goulet [Thu, 12 Jun 2025 15:56:21 +0000 (15:56 +0000)]
Merge branch 'of_development' into 'main'
channel.h: missed channel state transition comment added
See merge request tpo/core/tor!888
zero_gear [Thu, 12 Jun 2025 15:56:21 +0000 (17:56 +0200)]
channel.h: missed channel state transition comment added