]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Mon, 25 Sep 2023 12:42:12 +0000 (12:42 +0000)]
Merge branch 'ahf/40638' into 'main'
Handle ntor and ntor_v3 individually in rephist and for MetricsPort.
Closes #40638
See merge request tpo/core/tor!767
David Goulet [Thu, 21 Sep 2023 12:59:02 +0000 (08:59 -0400)]
Merge branch 'maint-0.4.8'
Mike Perry [Wed, 20 Sep 2023 23:37:04 +0000 (23:37 +0000)]
Changes file for bug40862
Mike Perry [Wed, 20 Sep 2023 23:35:36 +0000 (23:35 +0000)]
Bug 40862: Check if circuits are unused more ways
Alexander Færøy [Tue, 19 Sep 2023 16:34:27 +0000 (18:34 +0200)]
Handle ntor and ntor_v3 individually in rephist and for MetricsPort.
This patch should not mess with the DoS protection here.
Fixes tpo/core/tor#40638.
David Goulet [Mon, 18 Sep 2023 14:58:00 +0000 (10:58 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)]
version: Bump version to 0.4.8.6-dev
David Goulet [Mon, 18 Sep 2023 14:57:45 +0000 (10:57 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)]
version: Bump version to 0.4.7.15-dev
David Goulet [Mon, 18 Sep 2023 14:05:52 +0000 (10:05 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Mon, 18 Sep 2023 13:48:44 +0000 (13:48 +0000)]
version: Bump version to 0.4.8.6
David Goulet [Mon, 18 Sep 2023 14:05:33 +0000 (10:05 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
Tor CI Release [Mon, 18 Sep 2023 13:48:42 +0000 (13:48 +0000)]
version: Bump version to 0.4.7.15
David Goulet [Mon, 18 Sep 2023 13:52:00 +0000 (09:52 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:51:59 +0000 (09:51 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
Tor CI Release [Mon, 18 Sep 2023 13:45:54 +0000 (13:45 +0000)]
fallbackdir: Update list generated on September 18, 2023
Tor CI Release [Mon, 18 Sep 2023 13:42:50 +0000 (13:42 +0000)]
Update geoip files to match ipfire location db, 2023/09/18.
David Goulet [Mon, 18 Sep 2023 13:40:42 +0000 (09:40 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:40:38 +0000 (09:40 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:40:27 +0000 (09:40 -0400)]
Match fallbackdir with maint-0.4.8 for release
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 18 Sep 2023 13:27:38 +0000 (09:27 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:27:34 +0000 (09:27 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:27:20 +0000 (09:27 -0400)]
geoip: Match maint-0.4.8 files for release
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 18 Sep 2023 13:14:51 +0000 (13:14 +0000)]
Merge branch 'sandbox-aarch64-riscv-fixes' into 'main'
Fix sandbox on AArch64, RISC-V
Closes #24454
See merge request tpo/core/tor!446
David Goulet [Mon, 18 Sep 2023 13:12:36 +0000 (13:12 +0000)]
Merge branch 'ahf/android-gp-fixes-bulk' into 'main'
Bulk Android path changes
Closes #40487
See merge request tpo/core/tor!762
David Goulet [Mon, 18 Sep 2023 13:11:06 +0000 (09:11 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:11:02 +0000 (09:11 -0400)]
Merge branch 'tor-gitlab/mr/759' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:10:44 +0000 (09:10 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:10:39 +0000 (09:10 -0400)]
Merge branch 'tor-gitlab/mr/761' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:57 +0000 (09:08 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:08:57 +0000 (09:08 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:52 +0000 (09:08 -0400)]
Merge branch 'tor-gitlab/mr/766' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:08:17 +0000 (09:08 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:08:17 +0000 (09:08 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:13 +0000 (09:08 -0400)]
Merge branch 'tor-gitlab/mr/764' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:06:04 +0000 (09:06 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 18 Sep 2023 13:06:01 +0000 (09:06 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:05:42 +0000 (09:05 -0400)]
Merge branch 'tor-gitlab/mr/765' into maint-0.4.7
trinity-1686a [Fri, 25 Aug 2023 08:14:04 +0000 (10:14 +0200)]
use physical runner for i386 jobs
Alexander Færøy [Thu, 14 Sep 2023 20:42:22 +0000 (22:42 +0200)]
Add changes file for tor#40859.
Alexander Færøy [Thu, 14 Sep 2023 20:26:41 +0000 (22:26 +0200)]
Lower the log-level and soften the language for our Zstd ABI compat check.
See: tpo/core/tor#40815.
Alex Xu (Hello71) [Mon, 6 Jun 2022 15:44:15 +0000 (11:44 -0400)]
ci-driver: fix running doxygen and stem tests on 0.4.8
also do some cleanup, no point to set TOR_VER_AT_LEAST_043 and
TOR_VER_AT_LEAST_044 variables which are always yes
David Goulet [Thu, 14 Sep 2023 19:34:26 +0000 (15:34 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Thu, 14 Sep 2023 19:34:25 +0000 (15:34 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
Mike Perry [Thu, 14 Sep 2023 19:18:15 +0000 (19:18 +0000)]
Changes file for bug40858
Mike Perry [Thu, 14 Sep 2023 19:16:06 +0000 (19:16 +0000)]
Bug 40858: Cache sendme_inc to avoid purging intro points.
Bug found and fixed by @hyunsoo.kim676.
Alexander Færøy [Wed, 13 Sep 2023 16:39:55 +0000 (18:39 +0200)]
Add changes file for tpo/core/tor#40487 (and its MR's).
Alexander Færøy [Wed, 13 Sep 2023 16:29:54 +0000 (18:29 +0200)]
Merge remote-tracking branch 'upstream/merge-requests/493' into ahf/android-gp-fixes-bulk
Alexander Færøy [Wed, 13 Sep 2023 16:29:38 +0000 (18:29 +0200)]
Merge remote-tracking branch 'upstream/merge-requests/460' into ahf/android-gp-fixes-bulk
Alexander Færøy [Wed, 13 Sep 2023 14:13:28 +0000 (16:13 +0200)]
Add diagnostic log message for compression bombs.
This patch causes `tor_compress_is_compression_bomb()` to emit a
warning-level log message that lets us learn the potential ratio of the
input to output buffer sizes. Hopefully, this will give us a bit of a
better idea whether the compression bomb ratio needs some tuning.
See: tpo/core/tor#40739.
Alexander Færøy [Wed, 30 Aug 2023 12:43:21 +0000 (14:43 +0200)]
Remove defensive assertion in `relay_key_is_unavailable_()`.
This patch removes a call to `tor_assert_nonfatal_unreached()` in
`relay_key_is_unavailable_()` that is only called when Tor is compiled
without relay support.
Unfortunately, the non-fatal assertion causes a BUG log
message to appear for clients when they start up without relay support
for each CPU worker we spawn. This makes it spotting issues during
bootstrap harder particularly for our iOS developers.
Since the call sites to `get_master_identity_key()` handles `NULL`
values already, we do not think this will be an issue later on.
Reported by Benjamin Erhart (@tla) from Guardian Project.
Fixes tpo/core/tor#40848.
David Goulet [Tue, 12 Sep 2023 14:32:03 +0000 (14:32 +0000)]
Merge branch 'libressl-3.8.1' into 'main'
crypt_openssl_mgt: define DISABLE_ENGINES after OPENSSL_NO_ENGINE
See merge request tpo/core/tor!754
David Goulet [Tue, 12 Sep 2023 14:31:08 +0000 (14:31 +0000)]
Merge branch 'cell_comment' into 'main'
Correct a comment on channel_should_write_to_kernel.
See merge request tpo/core/tor!757
David Goulet [Tue, 12 Sep 2023 14:28:42 +0000 (10:28 -0400)]
Merge branch 'maint-0.4.8'
Nick Mathewson [Tue, 12 Sep 2023 12:46:31 +0000 (08:46 -0400)]
Make networkstatus_getinfo_by_purpose report published_on again.
When we implemented prop275 in 0.4.8.1-alpha, we changed the
behavior of networkstatus_getinfo_helper_single to omit meaningful
published_on times, replacing them with "2038-01-01". This is
necessary when we're formatting a routerstatus with no additional
info, since routerstatus objects no longer include a published_on.
But in networkstatus_getinfo_by_purpose, we do have a routerinfo
that does have a published_on. This patch uses that information
to report published_on times in our output when we're making a
"virtual" networkstatus for a big file of routerinfo_t objects.
This is mostly important for bridge authorities, since when
they dump a secret list of the bridges, they want to include
published_on times.
Closes #40855. Bugfix on 0.4.8.1-alpha.
Nick Mathewson [Tue, 12 Sep 2023 12:24:29 +0000 (08:24 -0400)]
Correct a comment on channel_should_write_to_kernel.
This issue was originally called out by pseudonymisaTor on !707; the comment in
this commit takes a different approach to explaining what is going on.
Alexander Færøy [Wed, 6 Sep 2023 11:17:48 +0000 (11:17 +0000)]
Merge branch 'typos' into 'main'
fix two simple typos in comments
See merge request tpo/core/tor!755
Roger Dingledine [Tue, 5 Sep 2023 20:06:54 +0000 (16:06 -0400)]
fix two simple typos in comments
orbea [Thu, 31 Aug 2023 21:35:52 +0000 (14:35 -0700)]
crypt_openssl_mgt: define DISABLE_ENGINES after OPENSSL_NO_ENGINE
With LibreSSL-3.8.1 these engines are no long available causing a build
failure, but LibreSSL correctly defines OPENSSL_NO_ENGINE as part of its
opensslfeatures.h. However Tor includes crypto_openssl_mgt.h before any
of the openssl includes which would define OPENSSL_NO_ENGINE and then
fails to define DISABLE_ENGINES.
As the define is used in only a single .c file it is best to move it
there.
Signed-off-by: orbea <orbea@riseup.net>
David Goulet [Wed, 30 Aug 2023 17:35:57 +0000 (13:35 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Wed, 30 Aug 2023 13:06:46 +0000 (13:06 +0000)]
version: Bump version to 0.4.8.5-dev
David Goulet [Wed, 30 Aug 2023 12:58:55 +0000 (08:58 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Wed, 30 Aug 2023 12:44:19 +0000 (12:44 +0000)]
version: Bump version to 0.4.8.5
David Goulet [Wed, 30 Aug 2023 12:49:51 +0000 (08:49 -0400)]
Merge branch 'maint-0.4.8'
Tor CI Release [Wed, 30 Aug 2023 12:43:28 +0000 (12:43 +0000)]
fallbackdir: Update list generated on August 30, 2023
Tor CI Release [Wed, 30 Aug 2023 12:42:49 +0000 (12:42 +0000)]
Update geoip files to match ipfire location db, 2023/08/30.
David Goulet [Wed, 30 Aug 2023 12:40:50 +0000 (08:40 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 30 Aug 2023 12:40:44 +0000 (08:40 -0400)]
script: Attempt to fix geoip script
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 28 Aug 2023 18:08:43 +0000 (14:08 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Mon, 28 Aug 2023 18:08:39 +0000 (14:08 -0400)]
Merge branch 'tor-gitlab/mr/750' into maint-0.4.8
David Goulet [Mon, 28 Aug 2023 18:07:47 +0000 (14:07 -0400)]
Merge branch 'maint-0.4.8'
Micah Elizabeth Scott [Fri, 25 Aug 2023 18:15:33 +0000 (11:15 -0700)]
Changes files for 40843 and 40844 (NetBSD portability)
Micah Elizabeth Scott [Fri, 25 Aug 2023 17:51:40 +0000 (10:51 -0700)]
equix: Disable huge page support by default
Equi-X supports optionally allocating its solver memory using huge
pages, to reduce the virtual memory subsystem overhead required to make
the entire solver buffer live.
Tor doesn't use this feature, since it seems to have no noticeable
performance benefit at this time, but we still included code for it at
compile time. To improve portability, this patch disables huge page
support by default and enables it only in the cmake build system used
for equix benchmarks.
With this patch equix-bench still supports huge pages. Verified using
strace that we're making the hugepage allocation.
There's no fallback for huge pages, so Equi-X initialization will fail
if they are requested and we don't support them for any runtime or
compile-time reason.
Addresses #40843 (NetBSD) but also prevents future porting issues
related to huge pages.
Micah Elizabeth Scott [Fri, 25 Aug 2023 17:31:33 +0000 (10:31 -0700)]
hashx: Fix compiled hash function on NetBSD
NetBSD includes the idea of a 'maximum protection' per-region,
and an mprotect which exceeds the max protection will be denied.
If we explicitly ask for a maximum which includes execute permission, we
can successfully swap our code buffer's permissions between read-write
and read-execute when each hash program is compiled.
With this patch, the crypto/hashx tests pass on NetBSD 9.
This addresses bug #40844
Micah Elizabeth Scott [Fri, 25 Aug 2023 17:18:44 +0000 (10:18 -0700)]
hashx: Avoid unused arg warning on OpenBSD and NetBSD
This path in hashx_vm_alloc_huge() for OpenBSD and NetBSD always
fails without checking its parameter. Fix the warning.
Micah Elizabeth Scott [Fri, 25 Aug 2023 17:08:41 +0000 (10:08 -0700)]
equix: Add NetBSD to "huge pages not supported" path
As suggested by @wiz on #40843, let's add an explicit check to
hashx_vm_alloc_huge() that avoids using a Linux-style default
on NetBSD targets.
This doesn't change the questionable Linux-style default,
but a future patch will disable this code by default so it's not a
portability liability.
(This code is in hashx's VM layer but it's actually only relevant to
equix.)
This addresses bug #40843. Another patch will disable huge pages
by default entirely, but this patch is sufficient to fix the NetBSD
build.
Mike Perry [Mon, 28 Aug 2023 13:50:44 +0000 (13:50 +0000)]
Changes file for bug40842
Mike Perry [Fri, 25 Aug 2023 22:43:14 +0000 (22:43 +0000)]
Bug #40842: Additional diagnostics
Just in case there are other instances hiding in the maze.
Mike Perry [Fri, 25 Aug 2023 22:42:18 +0000 (22:42 +0000)]
Bug #40842: Don't send on sets that are being torn down
David Goulet [Fri, 25 Aug 2023 16:56:45 +0000 (12:56 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Fri, 25 Aug 2023 16:56:42 +0000 (12:56 -0400)]
Merge branch 'tor-gitlab/mr/748' into maint-0.4.8
David Goulet [Fri, 25 Aug 2023 16:55:40 +0000 (16:55 +0000)]
Merge branch 'reapply-exit-policy-on-reload' into 'main'
reapply exit policy on reload
Closes #40676
See merge request tpo/core/tor!735
David Goulet [Fri, 25 Aug 2023 16:54:54 +0000 (16:54 +0000)]
Merge branch 'no_consensus_on_package_lines' into 'main'
Implement proposal 301-dont-vote-on-package-fingerprints.txt
See merge request tpo/core/tor!743
David Goulet [Fri, 25 Aug 2023 16:53:21 +0000 (12:53 -0400)]
Merge branch 'maint-0.4.8'
trinity-1686a [Fri, 25 Aug 2023 08:30:03 +0000 (10:30 +0200)]
fix lint clippy::arc_with_non_send_sync
David Goulet [Fri, 25 Aug 2023 16:52:22 +0000 (12:52 -0400)]
Merge branch 'tor-gitlab/mr/746'
David Goulet [Fri, 25 Aug 2023 16:50:30 +0000 (16:50 +0000)]
Merge branch 'rust-lint-1.72' into 'main'
fix lint clippy::arc_with_non_send_sync
See merge request tpo/core/tor!747
Mike Perry [Fri, 25 Aug 2023 16:27:45 +0000 (16:27 +0000)]
Changes file for bug40841
Mike Perry [Thu, 24 Aug 2023 21:21:05 +0000 (21:21 +0000)]
Bug #40841: Demote extra legs to protocol warn.
Also add more info to leg dump.
trinity-1686a [Fri, 25 Aug 2023 08:30:03 +0000 (10:30 +0200)]
fix lint clippy::arc_with_non_send_sync
trinity-1686a [Fri, 25 Aug 2023 08:14:04 +0000 (10:14 +0200)]
use physical runner for i386 jobs
David Goulet [Wed, 23 Aug 2023 21:02:41 +0000 (17:02 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 23 Aug 2023 21:02:13 +0000 (17:02 -0400)]
doxygen: Typo fix in relay.c comment
HTML in comment, what a bad idea...
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 23 Aug 2023 20:41:42 +0000 (16:41 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 23 Aug 2023 20:41:36 +0000 (16:41 -0400)]
typo: Fix a doxygen html unclosed tag
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 23 Aug 2023 16:50:05 +0000 (12:50 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 23 Aug 2023 16:50:05 +0000 (12:50 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Wed, 23 Aug 2023 16:49:53 +0000 (12:49 -0400)]
ci: Exclude yet another failing Stem test
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 23 Aug 2023 16:33:28 +0000 (12:33 -0400)]
Merge branch 'maint-0.4.8'
David Goulet [Wed, 23 Aug 2023 16:33:28 +0000 (12:33 -0400)]
Merge branch 'maint-0.4.7' into maint-0.4.8