summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-08-15tor-c-equix: Fix clippy warningMicah Elizabeth Scott
Clippy found a transmute that could have been a reborrow.
2023-08-15Merge branch 'maint-0.4.7'David Goulet
2023-08-15Bug 40834: Remove assert and add logs to track no-leg caseMike Perry
2023-08-15Revert "Nullify on_circuit if last conflux leg"Mike Perry
This reverts commit 5487476fd919703b55cb1f1544d575224c9b685e.
2023-08-14zstd: Check errors right affer compressing/decompressingDavid Goulet
Considering a compression bomb before looking for errors led to false negative log warnings. Instead, it is possible the work failed for whatever reasons which is not indicative of a compression bomb. Fixes #40739 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-07hashx: Fix a few more compiler warningsMicah Elizabeth Scott
Fix a couple cases where size_t values were being confused with int. Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-08-04fallbackdir: Update list generated on August 04, 2023Tor CI Release
2023-08-04Update geoip files to match ipfire location db, 2023/08/04.Tor CI Release
2023-08-02relay: Remove logging for a bug. It triggers a BUG() laterDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-01Merge branch 'cargo_hashx_rng' into 'main'David Goulet
hashx: Rust hook for inspecting and modifying the random number stream See merge request tpo/core/tor!734
2023-08-01Merge branch 'bug40827' into 'main'David Goulet
Fix assert crash on relay-side due to on_circuit backpointer See merge request tpo/core/tor!737
2023-08-01Bug 40827: Add additional logs and checks for 0-leg conflux caseMike Perry
2023-08-01Nullify on_circuit if last conflux legDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-07-31Bug 40828: Add more log scrubbing to protocol warningsMike Perry
2023-07-28hashx: Rust hook for inspecting and modifying the random number streamMicah Elizabeth Scott
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>
2023-07-26Include a basic Rust wrapper for Equi-X and HashXMicah Elizabeth Scott
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>
2023-07-26version: Bump version to 0.4.7.14-devTor CI Release
2023-07-26version: Bump version to 0.4.7.14Tor CI Release
2023-07-26Merge branch 'maint-0.4.7'David Goulet
2023-07-26fallbackdir: Update list generated on July 26, 2023Tor CI Release
2023-07-26Update geoip files to match ipfire location db, 2023/07/26.Tor CI Release
2023-07-26fallback: Take file from main for our release CIDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-07-26geoip: Take the database from mainDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-07-24Merge branch 'maint-0.4.7'David Goulet
2023-07-24Fix all -Werror=enum-int-mismatch warningsDavid Goulet
Close #40824 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-07-20Merge branch 'warn-bridge-exit' into 'main'David Goulet
Warn when operating as bridge and exit Closes #40819 See merge request tpo/core/tor!730
2023-07-17Warn when operating as bridge and exittrinity-1686a
2023-07-16fix non-fatal assertion when rotate_onion_key failstrinity-1686a
2023-07-12fallbackdir: Update list generated on July 12, 2023Tor CI Release
2023-07-12Update geoip files to match ipfire location db, 2023/07/12.Tor CI Release
2023-07-12Merge branch 'maint-0.4.7'David Goulet
2023-07-05replace L2 vanguards that aren't Fast or StableRoger Dingledine
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.
2023-07-05trivial typo fix in commentRoger Dingledine
2023-06-27Bug 40566: Remove unused BDP estimatorsMike Perry
2023-06-27Bug 40566: Remove unused congestion control alg structs.Mike Perry
2023-06-27Bug 40566: Unhook unused congestion control algsMike Perry
2023-06-27Bug 40566: Remove unused cc alg filesMike Perry
2023-06-23Add congestion control tests to build.Mike Perry
2023-06-23Add CWND test vectorsMike Perry
2023-06-23Add RTT Test VectorsMike Perry
2023-06-23Add clock heuristic test vector for congestion control.Mike Perry
2023-06-23Export variables and functions for CC unit tests.Mike Perry
2023-06-23Bug 40709: Update and clean up tests for consensus paramsMike Perry
2023-06-23Bug 40709: Update congestion control parametersMike Perry
This brings us into sync with the consensus, and will be useful for test vectors, to ensure behavior consistent with the consensus params.
2023-06-22Bug 40569: Reduce accepted range for negotiated cc_sendme_incMike Perry
2023-06-20Bug 40808: Change KISTSchedRunInterval range and default; add ↵Mike Perry
KISTSchedRunIntervalClient
2023-06-19Merge branch 'ticket40773' into 'main'David Goulet
Fix compilation error on older gcc versions and MSVC. See merge request tpo/core/tor!717
2023-06-19Change git.tpo URLs to gitlab.tpoDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-15Merge branch 'tor-gitlab/mr/722'David Goulet
2023-06-15Change git.tpo URLs to gitlab.tpoDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>