]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Mon, 14 Aug 2023 13:00:46 +0000 (13:00 +0000)]
Merge branch 'hashx_sizet_mr' into 'main'
hashx: Fix a few more compiler warnings
See merge request tpo/core/tor!739
Micah Elizabeth Scott [Mon, 7 Aug 2023 23:19:41 +0000 (16:19 -0700)]
hashx: Fix a few more compiler warnings
Fix a couple cases where size_t values were being confused with int.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Tor CI Release [Fri, 4 Aug 2023 14:20:14 +0000 (14:20 +0000)]
version: Bump version to 0.4.8.3-rc-dev
Tor CI Release [Fri, 4 Aug 2023 14:06:18 +0000 (14:06 +0000)]
version: Bump version to 0.4.8.3-rc
David Goulet [Fri, 4 Aug 2023 14:11:44 +0000 (10:11 -0400)]
release: ChangeLog update for 0.4.8.3-rc
Signed-off-by: David Goulet <dgoulet@torproject.org>
Tor CI Release [Fri, 4 Aug 2023 13:52:18 +0000 (13:52 +0000)]
fallbackdir: Update list generated on August 04, 2023
Tor CI Release [Fri, 4 Aug 2023 14:05:31 +0000 (14:05 +0000)]
Update geoip files to match ipfire location db, 2023/08/04.
David Goulet [Fri, 4 Aug 2023 14:04:36 +0000 (10:04 -0400)]
geoip: Fix cargo target directory
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 4 Aug 2023 13:55:26 +0000 (09:55 -0400)]
cargo: Add geoip db tool to top level workspace
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 2 Aug 2023 17:30:28 +0000 (13:30 -0400)]
ci: Move tag to the x86-64 template
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 2 Aug 2023 17:20:06 +0000 (13:20 -0400)]
ci: Tag physical our i386 minimal job
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 2 Aug 2023 16:48:03 +0000 (16:48 +0000)]
Merge branch 'remove-conflux-bug-log' into 'main'
relay: Remove logging for a bug. It triggers a BUG() later
See merge request tpo/core/tor!738
David Goulet [Wed, 2 Aug 2023 16:09:41 +0000 (12:09 -0400)]
relay: Remove logging for a bug. It triggers a BUG() later
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 1 Aug 2023 20:19:42 +0000 (20:19 +0000)]
Merge branch 'cargo_hashx_rng' into 'main'
hashx: Rust hook for inspecting and modifying the random number stream
See merge request tpo/core/tor!734
David Goulet [Tue, 1 Aug 2023 20:13:32 +0000 (20:13 +0000)]
Merge branch 'bug40827' into 'main'
Fix assert crash on relay-side due to on_circuit backpointer
See merge request tpo/core/tor!737
Mike Perry [Tue, 1 Aug 2023 17:11:24 +0000 (17:11 +0000)]
Changes file for bug 40827
Mike Perry [Mon, 31 Jul 2023 15:30:09 +0000 (15:30 +0000)]
Bug 40827: Add additional logs and checks for 0-leg conflux case
David Goulet [Mon, 31 Jul 2023 14:57:34 +0000 (10:57 -0400)]
Nullify on_circuit if last conflux leg
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 31 Jul 2023 15:43:33 +0000 (15:43 +0000)]
Merge branch 'bug40828' into 'main'
Bug40828
See merge request tpo/core/tor!736
Mike Perry [Mon, 31 Jul 2023 14:13:16 +0000 (14:13 +0000)]
Changes file for bug40828
Mike Perry [Mon, 31 Jul 2023 14:12:39 +0000 (14:12 +0000)]
Bug 40828: Add more log scrubbing to protocol warnings
Micah Elizabeth Scott [Sat, 29 Jul 2023 02:44:24 +0000 (19:44 -0700)]
hashx: Rust hook for inspecting and modifying the random number stream
This patch has no effect on the C tor build.
Adds a function hashx_rng_callback() to the hashx API, defined only
when HASHX_RNG_CALLBACK is defined. This is then used in the Rust
wrapper to implement a similar rng_callback().
Included some minimal test cases. This code is intented for
use in cross-compatibility fuzzing tests which drive multiple
implementations of hashx with the same custom Rng stream.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
David Goulet [Wed, 26 Jul 2023 20:01:56 +0000 (20:01 +0000)]
Merge branch 'cargo' into 'main'
Include a basic Rust wrapper for Equi-X and HashX
See merge request tpo/core/tor!733
Micah Elizabeth Scott [Wed, 26 Jul 2023 02:28:06 +0000 (19:28 -0700)]
Include a basic Rust wrapper for Equi-X and HashX
The idea behind this is that we may want to start exporting more pieces
of c-tor as Rust crates so that Arti can perform cross compatibility and
comparison testing using Rust tooling.
This turns the 'tor' repo into a Cargo workspace, and adds one crate to
start with: "tor-c-equix", rooted in src/ext/equix. This actually
includes both Equi-X itself and HashX, since there's less overall
duplication if we package these together instead of packaging HashX
separately.
This patch adds a basic safe Rust interface, but doesn't expose any
additional internals for testing purposes.
No changes to the C code here or the normal Tor build system.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
David Goulet [Wed, 26 Jul 2023 16:02:47 +0000 (12:02 -0400)]
Merge branch 'maint-0.4.7'
Tor CI Release [Wed, 26 Jul 2023 14:30:03 +0000 (14:30 +0000)]
version: Bump version to 0.4.7.14-dev
David Goulet [Wed, 26 Jul 2023 14:23:27 +0000 (10:23 -0400)]
Merge branch 'maint-0.4.7'
Tor CI Release [Wed, 26 Jul 2023 14:09:15 +0000 (14:09 +0000)]
version: Bump version to 0.4.7.14
David Goulet [Wed, 26 Jul 2023 14:13:21 +0000 (10:13 -0400)]
Merge branch 'maint-0.4.7'
Tor CI Release [Wed, 26 Jul 2023 14:05:08 +0000 (14:05 +0000)]
fallbackdir: Update list generated on July 26, 2023
Tor CI Release [Wed, 26 Jul 2023 14:04:43 +0000 (14:04 +0000)]
Update geoip files to match ipfire location db, 2023/07/26.
David Goulet [Wed, 26 Jul 2023 14:07:33 +0000 (10:07 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Wed, 26 Jul 2023 14:07:27 +0000 (10:07 -0400)]
fallback: Take file from main for our release CI
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 26 Jul 2023 13:59:36 +0000 (09:59 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Wed, 26 Jul 2023 13:59:26 +0000 (09:59 -0400)]
geoip: Take the database from main
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jul 2023 14:18:53 +0000 (10:18 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Mon, 24 Jul 2023 13:44:06 +0000 (09:44 -0400)]
Fix all -Werror=enum-int-mismatch warnings
Close #40824
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 20 Jul 2023 14:40:13 +0000 (14:40 +0000)]
Merge branch 'warn-bridge-exit' into 'main'
Warn when operating as bridge and exit
Closes #40819
See merge request tpo/core/tor!730
David Goulet [Thu, 20 Jul 2023 14:38:36 +0000 (14:38 +0000)]
Merge branch 'no-assert-rotate-onion-key-fails' into 'main'
fix non-fatal assertion when rotate_onion_key fails
Closes #40554
See merge request tpo/core/tor!729
trinity-1686a [Mon, 17 Jul 2023 17:19:04 +0000 (19:19 +0200)]
Warn when operating as bridge and exit
David Goulet [Mon, 17 Jul 2023 16:08:17 +0000 (16:08 +0000)]
Merge branch 'fix-apt-syntax' into 'main'
gitlab-ci: fix apt conf syntax for Acquire::Retries
See merge request tpo/core/tor!705
David Goulet [Mon, 17 Jul 2023 16:05:02 +0000 (16:05 +0000)]
Merge branch 'geoip-db-prefix-more' into 'main'
Clarify where geoip-db-tool is.
See merge request tpo/core/tor!728
trinity-1686a [Sun, 16 Jul 2023 20:29:23 +0000 (22:29 +0200)]
fix non-fatal assertion when rotate_onion_key fails
Nick Mathewson [Thu, 13 Jul 2023 20:03:16 +0000 (16:03 -0400)]
Clarify where geoip-db-tool is.
Somebody emailed me to ask where to find the tool that generated our
geoip file. I was about to suggest that they search for "geoip-db-tool",
when I found that you can't actually search for that and find our code.
Therefore, I'm adding a link.
Tor CI Release [Wed, 12 Jul 2023 13:58:26 +0000 (13:58 +0000)]
version: Bump version to 0.4.8.2-alpha-dev
Tor CI Release [Wed, 12 Jul 2023 12:30:39 +0000 (12:30 +0000)]
version: Bump version to 0.4.8.2-alpha
Tor CI Release [Wed, 12 Jul 2023 12:30:39 +0000 (12:30 +0000)]
release: ChangeLog and ReleaseNotes for 0.4.8.2-alpha
Tor CI Release [Wed, 12 Jul 2023 12:29:56 +0000 (12:29 +0000)]
fallbackdir: Update list generated on July 12, 2023
Tor CI Release [Wed, 12 Jul 2023 12:29:00 +0000 (12:29 +0000)]
Update geoip files to match ipfire location db, 2023/07/12.
David Goulet [Wed, 12 Jul 2023 12:17:23 +0000 (08:17 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 6 Jul 2023 13:29:31 +0000 (13:29 +0000)]
Merge branch 'trivial-typo-fix' into 'main'
trivial typo fix in comment
See merge request tpo/core/tor!726
Roger Dingledine [Wed, 5 Jul 2023 22:39:57 +0000 (18:39 -0400)]
replace L2 vanguards that aren't Fast or Stable
Rotate to a new L2 vanguard whenever an existing one loses the
Stable or Fast flag. Previously, we would leave these relays in the
L2 vanguard list but never use them, and if all of our vanguards
end up like this we wouldn't have any middle nodes left to choose
from so we would fail to make onion-related circuits.
Fixes bug 40805; bugfix on 0.4.7.1-alpha.
Roger Dingledine [Wed, 5 Jul 2023 20:38:32 +0000 (16:38 -0400)]
trivial typo fix in comment
David Goulet [Wed, 28 Jun 2023 17:05:47 +0000 (17:05 +0000)]
Merge branch 'bug40566' into 'main'
Remove unused congestion control and BDP algs
See merge request tpo/core/tor!725
Mike Perry [Mon, 26 Jun 2023 20:29:56 +0000 (20:29 +0000)]
Changes file for bug 40566
Mike Perry [Mon, 26 Jun 2023 20:26:59 +0000 (20:26 +0000)]
Bug 40566: Remove unused BDP estimators
Mike Perry [Mon, 26 Jun 2023 18:56:54 +0000 (18:56 +0000)]
Bug 40566: Remove unused congestion control alg structs.
Mike Perry [Mon, 26 Jun 2023 18:51:48 +0000 (18:51 +0000)]
Bug 40566: Unhook unused congestion control algs
Mike Perry [Mon, 26 Jun 2023 18:38:57 +0000 (18:38 +0000)]
Bug 40566: Remove unused cc alg files
David Goulet [Tue, 27 Jun 2023 13:40:15 +0000 (13:40 +0000)]
Merge branch 'bug40569+40709+40443' into 'main'
Update congestion control params and add test vectors
See merge request tpo/core/tor!724
Mike Perry [Wed, 11 May 2022 18:02:01 +0000 (18:02 +0000)]
Add congestion control tests to build.
Mike Perry [Fri, 13 May 2022 21:09:50 +0000 (21:09 +0000)]
Add CWND test vectors
Mike Perry [Fri, 23 Jun 2023 14:46:28 +0000 (14:46 +0000)]
Add RTT Test Vectors
Mike Perry [Fri, 29 Apr 2022 18:43:08 +0000 (18:43 +0000)]
Add clock heuristic test vector for congestion control.
Mike Perry [Wed, 11 May 2022 18:02:54 +0000 (18:02 +0000)]
Export variables and functions for CC unit tests.
Mike Perry [Tue, 20 Jun 2023 23:27:19 +0000 (23:27 +0000)]
Changes file for bug 40709
Mike Perry [Tue, 20 Jun 2023 23:25:27 +0000 (23:25 +0000)]
Bug 40709: Update and clean up tests for consensus params
Mike Perry [Fri, 23 Jun 2023 15:05:05 +0000 (15:05 +0000)]
Bug 40709: Update congestion control parameters
This brings us into sync with the consensus, and will be useful for test
vectors, to ensure behavior consistent with the consensus params.
Mike Perry [Tue, 20 Jun 2023 17:41:24 +0000 (17:41 +0000)]
Changes file for 40569
Mike Perry [Tue, 20 Jun 2023 17:40:54 +0000 (17:40 +0000)]
Bug 40569: Reduce accepted range for negotiated cc_sendme_inc
David Goulet [Wed, 21 Jun 2023 14:21:42 +0000 (10:21 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Wed, 21 Jun 2023 14:20:56 +0000 (10:20 -0400)]
gitignore: Add .cache used by clangd LSP
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 20 Jun 2023 16:51:36 +0000 (16:51 +0000)]
Merge branch 'bug40808' into 'main'
Bug40808
See merge request tpo/core/tor!723
Mike Perry [Tue, 20 Jun 2023 16:30:55 +0000 (16:30 +0000)]
Changes file for bug40808
Mike Perry [Tue, 20 Jun 2023 16:29:48 +0000 (16:29 +0000)]
Bug 40808: Change KISTSchedRunInterval range and default; add KISTSchedRunIntervalClient
David Goulet [Mon, 19 Jun 2023 18:31:29 +0000 (14:31 -0400)]
scripts: Update git scripts with new gitlab canonical repository
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 19 Jun 2023 18:32:44 +0000 (18:32 +0000)]
Merge branch 'ticket40773' into 'main'
Fix compilation error on older gcc versions and MSVC.
See merge request tpo/core/tor!717
David Goulet [Mon, 19 Jun 2023 12:09:45 +0000 (08:09 -0400)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 15 Jun 2023 17:00:11 +0000 (13:00 -0400)]
Change git.tpo URLs to gitlab.tpo
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 19 Jun 2023 12:09:24 +0000 (08:09 -0400)]
Use the new Stem repository on Gitlab
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 15 Jun 2023 17:23:36 +0000 (13:23 -0400)]
Merge branch 'tor-gitlab/mr/722'
David Goulet [Thu, 15 Jun 2023 17:00:11 +0000 (13:00 -0400)]
Change git.tpo URLs to gitlab.tpo
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Thu, 15 Jun 2023 16:14:56 +0000 (16:14 +0000)]
Changes file for Bug 40811
Mike Perry [Thu, 15 Jun 2023 16:13:34 +0000 (16:13 +0000)]
Bug 40811: Count conflux leg launch attempts early.
Also, double check that the consensus has enough overall exits before
attempting conflux set launch.
David Goulet [Wed, 14 Jun 2023 13:45:27 +0000 (09:45 -0400)]
Merge branch 'tor-gitlab/mr/721'
Mike Perry [Tue, 13 Jun 2023 18:13:02 +0000 (18:13 +0000)]
Changes file for bug40810
Mike Perry [Tue, 13 Jun 2023 18:15:07 +0000 (18:15 +0000)]
Bug 40810: Avoid using 0 RTT legs
Mike Perry [Sat, 10 Jun 2023 16:00:56 +0000 (16:00 +0000)]
Bug 40810: Improve validation checks to ignore 0-RTT legs
Also add calls to dump the legs of a conflux set if we have too many
David Goulet [Tue, 13 Jun 2023 17:03:11 +0000 (13:03 -0400)]
Merge branch 'tor-gitlab/mr/715'
Mike Perry [Fri, 9 Jun 2023 16:12:51 +0000 (16:12 +0000)]
Bug 40801: Add changes file
Mike Perry [Fri, 9 Jun 2023 15:52:42 +0000 (15:52 +0000)]
Bug 40801: Do not change read state of marked conns
Mike Perry [Thu, 8 Jun 2023 22:44:26 +0000 (22:44 +0000)]
Bug 40801: Send LINKED_ACK before attaching streams
Otherwise, the BEGIN cell arrives at the exit before it has an RTT,
and then it does not know which circuit to prefer in response.
Mike Perry [Tue, 6 Jun 2023 16:21:20 +0000 (16:21 +0000)]
Add BUG() macro to marked edge reads
This will give us a full stacktrace.
Mike Perry [Thu, 30 Mar 2023 23:43:34 +0000 (23:43 +0000)]
Add conflux logs to diagnose cases where RTTs are absent/zero.
Neel Chauhan [Wed, 7 Jun 2023 17:02:33 +0000 (10:02 -0700)]
Fix the spacing in the 'Your Tor identity key fingerprint is' log line'
Mike Perry [Tue, 6 Jun 2023 15:14:33 +0000 (15:14 +0000)]
Add a conflux helper to log conflux sets.
Micah Elizabeth Scott [Thu, 1 Jun 2023 18:30:40 +0000 (11:30 -0700)]
More fixes for compile-time warnings in equix and hashx
This addresses issue #40800 and a couple other problems I noticed while
trying to reproduce that one.
The original issue is just a missing cast to void* on the args of
__builtin___clear_cache(), and clang is picky about the implicit cast
between what it considers to be char of different signedness. Original
report is from MacOS but it's also reproducible on other clang targets.
The cmake-based original build system for equix and hashx was a handy
way to run tests, but it suffered from some warnings due to incorrect
application of include_directories().
And lastly, there were some return codes from hashx_exec() that get
ignored on equix when asserts are disabled. It bugged me too much to
just silence this with a (void) cast, since even though this is in the
realm of low-likelyhood programming errors and not true runtime errors, I
don't want to make it easy for the hashx_exec() wrappers to return
values that are dangerously wrong if an error is ignored. I made sure
that even if asserts are disabled, we return values that will cause the
solver and verifier to both fail to validate a potential solution.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Gabriela Moldovan [Mon, 5 Jun 2023 14:03:39 +0000 (15:03 +0100)]
Fix compilation error on older gcc versions and MSVC.
This fixes an "initializer is not a constant" compilation error that manifests
itself on gcc versions < 8.1 and MSVC (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960#c18).
Fixes bug #40773
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Tor CI Release [Thu, 1 Jun 2023 14:33:12 +0000 (14:33 +0000)]
version: Bump version to 0.4.8.1-alpha-dev
Tor CI Release [Thu, 1 Jun 2023 13:36:17 +0000 (13:36 +0000)]
version: Bump version to 0.4.8.1-alpha