summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Mention socks and http connect in compatibility.mdNick Mathewson2026-03-251-0/+4
| | | | |
| * | | | arti: Add an option to disable http_connect.Nick Mathewson2026-03-256-25/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option affects all socks listeners, because: - We don't have a convenient way to associate an option with each port. - The main purpose of having this option is as a switch in case we discover a major problem with this code.
* | | | | Merge branch 'relay-memquota' into 'main'David Goulet2026-03-263-4/+24
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | proto: Use the inbound CircuitAccount when extending circuit See merge request tpo/core/arti!3821
| * | | | proto: Add TODO about relay memquota setupGabriela Moldovan2026-03-261-0/+6
| | | | |
| * | | | proto: Use the inbound CircuitAccount when extending circuit (fmt)Gabriela Moldovan2026-03-262-2/+9
| | | | |
| * | | | proto: Use the inbound CircuitAccount when extending circuitGabriela Moldovan2026-03-263-4/+11
|/ / / / | | | | | | | | | | | | | | | | This was previously creating a new CircuitAccount in `new_outbound_circ()`, and then immediately dropping it.
* | | | Merge branch 'ahf/wasm-getrandom-basic-utils' into 'main'Alexander Hansen Færøy2026-03-262-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | WASM: Enable `wasm_js` feature for getrandom for tor-basic-utils. See merge request tpo/core/arti!3818
| * | | | WASM: Enable `wasm_js` feature for getrandom for tor-basic-utils.Alexander Hansen Færøy2026-03-262-0/+4
|/ / / /
* | | | Merge branch 'wasm-compilation-part2' into 'main'Nick Mathewson2026-03-255-8/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wasm: Make everything up to "arti" (mostly) compile with wasm + --no-default-features Closes #2423 See merge request tpo/core/arti!3816
| * | | | arti: Mostly make clippy happy for wasm with --no-default-features.Nick Mathewson2026-03-253-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | (With no-default-features there is no runtime, and that still causes a compiler error.)
| * | | | arti-client: Stub out usage of FsStateMgr on wasm32-unknown.Nick Mathewson2026-03-252-7/+41
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The replacement (TestingStateMgr) is not correct, but it will compile until we have a supported state manager. (This made cargo-sort have me move a section around. Not sure why it cares.)
* | | | Merge branch 'minimize-feature-edge' into 'main'Nick Mathewson2026-03-251-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | consdiff: Only use the single feature we require from tor-netdoc. See merge request tpo/core/arti!3815
| * | | | consdiff: Additionally require tor-netdoc/ns-vote.Nick Mathewson2026-03-251-1/+2
| | | | | | | | | | | | | | | | | | | | Without it, CI seems to fail.
| * | | | consdiff: Only use the single feature we require from tor-netdoc.Nick Mathewson2026-03-251-1/+1
|/ / / / | | | | | | | | | | | | | | | | Requiring all features, including experimental features, is too general.
* | | | Merge branch 'wasm-compilation-part1' into 'main'Alexander Hansen Færøy2026-03-2510-62/+66
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Make wasm32-unknown pass clippy (with --no-default-features, with warnings) up through tor-dirmgr. See merge request tpo/core/arti!3814
| * | | | dirmgr: Stub out usage of Lockfile on wasm32-unknown.Nick Mathewson2026-03-253-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is temporary while we wait on arti#2106. (This made cargo-sort have me move a section around. Not sure why it cares.)
| * | | | tor-config path: Fix a warning on non-unix systemsNick Mathewson2026-03-251-1/+1
| | | | |
| * | | | rtcompat: Fix clippy with wasm32 and no-default-features.Nick Mathewson2026-03-252-1/+10
| | | | |
| * | | | tor-basic-utils: Remove IoErrorExt and BinaryHeapExt.Nick Mathewson2026-03-253-52/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IoErrorExt existed to provide a workaround for Rust versions that didn't have io::ErrorKind::NotADirectory. But NotADirectory was stabilized in 1.83 and our MSRV is 1.89. BinaryHeapExt existed to provide an implementation for Rust versions that didn't have BinaryHeap::retain. But BinaryHeap::retain was stabilized in 1.70 and our MSRV is 1.70.
| * | | | tor_llcrypto: fix clippy for wasm32.Nick Mathewson2026-03-252-3/+13
| | | | |
* | | | | Merge branch 'rpc-ll-refactor' into 'main'Nick Mathewson2026-03-259-436/+510
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | rpc: Rename and refactor types+modules See merge request tpo/core/arti!3774
| * | | | | Re-run cbindgen.Nick Mathewson2026-03-251-2/+2
| | | | | |
| * | | | | rpc: Fix up documentation linksNick Mathewson2026-03-252-1/+6
| | | | | |
| * | | | | rpc: tweak documentation and variable names wrt renamingNick Mathewson2026-03-253-69/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we renamed PollingStream and NonblockingStream to BlockingConnection and NonblockingConnection, it no longer makes sense to refer to them as streams, or put them in variables called "stream".
| * | | | | rpc: Make stream type in NonblockingConnection opaque.Nick Mathewson2026-03-253-22/+52
| | | | | |
| * | | | | Split ll_conn module into blocking/nonblocking layersNick Mathewson2026-03-253-901/+939
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is almost entirely code movement; it's probably best to review this one with --color-moved. I've had to make a field (temporarily) pub(super). The next commit will fix that.
| * | | | | rpc: Rename nb_stream.rs → ll_conn.rsNick Mathewson2026-03-256-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we are no longer calling these types "streams" I've decided to revert to the old name for this module.
| * | | | | rpc: Rename NonblockingStream → NonblockingConnection.Nick Mathewson2026-03-252-23/+23
| | | | | |
| * | | | | rpc: Rename PollingStream → BlockingConnection.Nick Mathewson2026-03-254-31/+31
| | | | | |
| * | | | | rpc: Remove mention of two already-removed arguments.Nick Mathewson2026-03-251-4/+0
| |/ / / /
* | | | | Merge branch 'fallbackdir-25-03-2026' into 'main'David Goulet2026-03-251-897/+899
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fallbackdir: Update list generated on March 25, 2026 See merge request tpo/core/arti!3813
| * | | | | fallbackdir: Update list generated on March 25, 2026Tor CI Release2026-03-251-897/+899
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | | | | Merge branch 'relay-safelogging' into 'main'opara2026-03-252-0/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | arti-relay: Add `log_sensitive_information` config option See merge request tpo/core/arti!3806
| * | | | | arti-relay: add `log_sensitive_information` config optionSteven Engler2026-03-242-0/+32
| | |/ / / | |/| | |
* | | | | Merge branch 'relay-reactor-tests' into 'main'gabi-2502026-03-256-115/+743
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Fix relay reactor RELAY_EARLY bug, add tests Closes #2353 and #2417 See merge request tpo/core/arti!3810
| * | | | | proto: Update reactor docs to reflect ForwardHandler changeGabriela Moldovan2026-03-251-6/+37
| | | | | |
| * | | | | proto: Move handle_unrecognized_cell() out of ForwardHandlerGabriela Moldovan2026-03-252-50/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `ForwardHandler` trait is meant for implementation-dependent functions that are called from the implementation-agnostic `ForwardReactor`. Previously `handle_unrecognized_cell()` was called directly by the generic `ForwardReactor`, but that's no longer the case, so it doesn't belong in the trait anymore. This commit is just code motion. Best reviewed with `--color-moved`
| * | | | | proto: Forward unrecognized RELAY_EARLY as RELAY_EARLYGabriela Moldovan2026-03-253-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | Closes #2417
| * | | | | proto: Add tests for the relay circuit reactorGabriela Moldovan2026-03-251-0/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an initial set of tests for the circuit reactor. We will, of course, add more tests as we continue working on the implementation. Closes #2353
| * | | | | cell: Derive PartialEq for Begin and BeginFlagsGabriela Moldovan2026-03-251-2/+2
| | | | | |
| * | | | | proto: Use AllowAllStreamsFilter in relay builds tooGabriela Moldovan2026-03-251-2/+2
| | | | | |
| * | | | | proto: Move AllowAllStreamsFilter to crate-pub test moduleGabriela Moldovan2026-03-252-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | This will soon be used by the relay tests too.
| * | | | | proto: Add option to create RELAY_EARLY via rmsg_to_ccmsg() (fmt)Gabriela Moldovan2026-03-252-13/+43
| | | | | |
| * | | | | proto: Add option to create RELAY_EARLY via rmsg_to_ccmsg()Gabriela Moldovan2026-03-252-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | This will be needed for the relay circuit reactor tests.
| * | | | | proto: Move rmsg_to_ccmsg to crate-pub test moduleGabriela Moldovan2026-03-252-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | We'll soon need this for the relay reactor tests too.
| * | | | | proto: Replace fully-qualified path with import aliasGabriela Moldovan2026-03-251-1/+1
| | | | | |
* | | | | | Merge branch 'consdiff-gen' into 'main'Clara Engler2026-03-257-4/+449
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | Consensus Diff Generation See merge request tpo/core/arti!3712
| * | | | | tor-consdiff: Apply comment suggestionClara Engler2026-03-251-2/+3
| | | | | | | | | | | | | | | | | | Co-authored-by: Ian Jackson
| * | | | | tor-consdiff: Prevent dotlines with WS tailClara Engler2026-03-251-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit modifies the dotline check to prevent generating lines that consist of a single dot followed by an arbitrary amount of whitespace, such as `.`, `. `, `. \t `, but not `. \t foo`. It also adjusts the tests appropriately.
| * | | | | tor-consdiff: Rename `.lno` to `.lno_for_error`Clara Engler2026-03-251-2/+2
| | | | | |