summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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>
2023-06-15Bug 40811: Count conflux leg launch attempts early.Mike Perry
Also, double check that the consensus has enough overall exits before attempting conflux set launch.
2023-06-14Merge branch 'tor-gitlab/mr/721'David Goulet
2023-06-13Bug 40810: Avoid using 0 RTT legsMike Perry
2023-06-13Bug 40810: Improve validation checks to ignore 0-RTT legsMike Perry
Also add calls to dump the legs of a conflux set if we have too many
2023-06-13Merge branch 'tor-gitlab/mr/715'David Goulet
2023-06-09Bug 40801: Do not change read state of marked connsMike Perry
2023-06-09Bug 40801: Send LINKED_ACK before attaching streamsMike Perry
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.
2023-06-09Add BUG() macro to marked edge readsMike Perry
This will give us a full stacktrace.
2023-06-09Add conflux logs to diagnose cases where RTTs are absent/zero.Mike Perry
2023-06-07Fix the spacing in the 'Your Tor identity key fingerprint is' log line'Neel Chauhan
2023-06-06Add a conflux helper to log conflux sets.Mike Perry