summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | rtmock: Implement server support.Nick Mathewson2026-01-292-10/+49
| | |
| * | rustls: add an error for unimplemented tls server support.Nick Mathewson2026-01-294-5/+20
| | |
| * | rtcompat: Implement TLS server support for rustls.Nick Mathewson2026-01-296-10/+277
| | | | | | | | | | | | Closes #2316.
| * | rtcompat: new server-related members on TlsProvider trait.Nick Mathewson2026-01-2911-4/+159
| | | | | | | | | | | | | | | These are as yet unimplemented; there's a stub type for the providers (nativetls) that won't actually have them.
| * | rtcompat: new own_certificate method on CertifiedConn traitNick Mathewson2026-01-295-0/+23
|/ /
* | Merge branch 'generic-reactor3' into 'main'David Goulet2026-01-2926-1861/+3626
|\ \ | | | | | | | | | | | | proto: Add new generic circuit reactor See merge request tpo/core/arti!3612
| * | proto: Allow unused async in WIP reactor codeGabriela Moldovan2026-01-291-0/+2
| | | | | | | | | | | | This will need to become async soon.
| * | proto: Remove unused async from relay reactorGabriela Moldovan2026-01-291-1/+1
| | | | | | | | | | | | Fixes a clippy warning
| * | proto: Document that the hop list is shared with the BWDGabriela Moldovan2026-01-291-0/+11
| | |
| * | proto: Rename the FWD -> BWD channelGabriela Moldovan2026-01-293-18/+18
| | | | | | | | | | | | | | | | | | | | | In the backward reactor, we call this the `forward_reactor_rx` (because it receives commands from the foward reactor), and in the forward reactor we call it `backward_reactor_tx` (because it sends commands to the backward reactor).
| * | proto: Rename chan senders and sinks for clarityGabriela Moldovan2026-01-294-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We settled on * `inbound_chan{tx, rx}`, for the inbound channel (the channel towards the guard, if we are a client, or towards the client if we are a relay) * `outbound_chan{tx, rx}`, for the outbound channel (the channel towards the exit, if we are a middle relay)
| * | proto: Update misleading comment about cmd_rxGabriela Moldovan2026-01-291-1/+1
| | |
| * | proto: Allow CircSynvView::new_relay() to be unusedGabriela Moldovan2026-01-291-0/+1
| | | | | | | | | | | | | | | This will change significantly in the near future, or disappear entirely.
| * | proto: Replace relay reactor with new generic reactorGabriela Moldovan2026-01-294-1747/+336
| | |
| * | proto: Add a new, implementation-agnostic circuit reactorGabriela Moldovan2026-01-297-5/+3063
| | |
| * | proto: Avoid locking in CircHopOutbound::ccontrol()Gabriela Moldovan2026-01-295-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | This is just because the generic reactor will soon need a clone of the CC object, so I am preemptively making this function return a ref to the underlying `Arc` instead. Technically, it would've been fine to just kept this method and add a separate one returning `&Arc<Mutex<..>>`, but I'd prefer keeping the API small.
| * | proto: s/Forward/ForwardSender for clarityGabriela Moldovan2026-01-291-3/+3
| | | | | | | | | | | | | | | This renaming is needed because I will soon introduce a new `Forward` struct, with a completely different purpose.
| * | proto: Rip CC state out of CircHopInboundGabriela Moldovan2026-01-294-24/+6
| | | | | | | | | | | | | | | | | | Soon it won't need be needed here any more. I'm removing it, because having redundant handles to the CC state makes it difficult to see exactly where it's being used from.
| * | proto: Factor ReactorResultChannel into the shared reactor moduleGabriela Moldovan2026-01-292-3/+6
| | | | | | | | | | | | This is not just for clients!
| * | proto: Add a new module for the generic circuit reactorGabriela Moldovan2026-01-292-0/+10
| | | | | | | | | | | | Currently empty, will be fleshed out in a future commit.
| * | proto; Factor HOPS constant out of maybenot_paddingGabriela Moldovan2026-01-292-3/+4
| | | | | | | | | | | | I am about to use this in other places too.
| * | proto: Move padding_disposition() to the shared padding moduleGabriela Moldovan2026-01-292-54/+74
| | |
| * | proto: Move CircPaddingDisposition to a new moduleGabriela Moldovan2026-01-293-13/+18
| | | | | | | | | | | | Relays will need to use it too.
| * | proto: Add a new ToRelayMsg utilGabriela Moldovan2026-01-296-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used in a future commit, inside the new generic circuit reactor. We need it because RELAY cells are handled very similarly, so we need some way of finding out if a given generic chancell is actually a RELAY cell that we can handle in an implementation-agnostic way.
| * | proto: Move TimeoutEstimator to utilGabriela Moldovan2026-01-296-15/+23
|/ / | | | | | | | | This will be used in the stream reactor too (and the stream reactor will eventually replace the corresponding client impl).
* | Merge branch 'fallbackdir-01-28-2026' into 'main'David Goulet2026-01-281-887/+903
|\ \ | | | | | | | | | | | | fallbackdir: Update list generated on January 28, 2026 See merge request tpo/core/arti!3615
| * | fallbackdir: Update list generated on January 28, 2026Tor CI Release2026-01-281-887/+903
|/ / | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | Merge branch 'unused-async-lint' into 'main'gabi-2502026-01-2879-37/+105
|\ \ | | | | | | | | | | | | | | | | | | maint/add_warning: Deny clippy::unused_async Closes #2328 See merge request tpo/core/arti!3613
| * | hsservice: Allow clippy::unused_asyncGabriela Moldovan2026-01-281-0/+1
| | | | | | | | | | | | | | | See discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3613#note_3332767
| * | Revert "hsservice: Make RendRequest::reject() synchronous"Gabriela Moldovan2026-01-282-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 84b31824f317458a2aad6fb021b623935870f5bd. Reverted, as this is a public API that might actually need to become `async` at some point. See discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3613#note_3332767
| * | circmgr: Make test helper non-async (fmt)Gabriela Moldovan2026-01-281-5/+1
| | |
| * | circmgr: Make test helper non-asyncGabriela Moldovan2026-01-281-9/+9
| | |
| * | chanmgr: Make a padding test function non-asyncGabriela Moldovan2026-01-271-3/+2
| | |
| * | tor-async-utils: Make postage_drop test non-asyncGabriela Moldovan2026-01-271-2/+2
| | |
| * | arti: Pass the request by referenceGabriela Moldovan2026-01-271-2/+2
| | | | | | | | | | | | This resolves a newly-triggered lint.
| * | arti: Make internal helper synchronousGabriela Moldovan2026-01-271-2/+2
| | |
| * | arti-relay: Allow clippy_unused_asyncGabriela Moldovan2026-01-271-0/+1
| | | | | | | | | | | | The code here is still WIP, no need to apply the lint yet.
| * | dirserver: Allow clippy::unused_asyncGabriela Moldovan2026-01-272-0/+2
| | | | | | | | | | | | This code is still WIP, no need to address the lint yet.
| * | dirmgr: Make `DirMgr::load_once()` synchronousGabriela Moldovan2026-01-271-1/+1
| | |
| * | dirmgr: Remove unnecessary Arc::clone (fmt)Gabriela Moldovan2026-01-271-2/+1
| | |
| * | dirmgr: Remove unnecessary Arc::cloneGabriela Moldovan2026-01-272-4/+4
| | | | | | | | | | | | | | | Now that `load` is no longer `async`, this triggers a lint about the unnecessary clone.
| * | dirmgr: Make various functions synchronousGabriela Moldovan2026-01-272-10/+9
| | | | | | | | | | | | To fix `clippy::unused_async`.
| * | hsservice: Make RendRequest::reject() synchronousGabriela Moldovan2026-01-272-1/+2
| | |
| * | hsservice: Remove unnecessary wraps from publisher functionGabriela Moldovan2026-01-271-4/+4
| | | | | | | | | | | | This lint triggers now that the unnecessary `async` is gone.
| * | hsservice: Remove unnecessary async from publisher functionGabriela Moldovan2026-01-271-3/+3
| | |
| * | proto: Add an exception for clippy::unused_asyncGabriela Moldovan2026-01-271-0/+1
| | |
| * | proto: Add exceptions for clippy::unused async in relay reactorGabriela Moldovan2026-01-271-0/+3
| | | | | | | | | | | | This code is still WIP, so I propose we ignore the lint for now.
| * | proto: Remove unnecessary async in channel reactorGabriela Moldovan2026-01-271-2/+2
| | | | | | | | | | | | | | | This resolves a warning triggered by the newly-introduced `#[deny(clippy::unused_async)]`.
| * | maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-2766-0/+66
| | | | | | | | | | | | This adds the lint to all our crates.
| * | maint/add_warning: Deny clippy::unused_asyncGabriela Moldovan2026-01-271-0/+1
| | | | | | | | | | | | Part of #2328