| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | proto: Add a new, implementation-agnostic circuit reactor | Gabriela Moldovan | 2026-01-29 | 7 | -5/+3063 | |
| | | | ||||||
| * | | proto: Avoid locking in CircHopOutbound::ccontrol() | Gabriela Moldovan | 2026-01-29 | 5 | -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 clarity | Gabriela Moldovan | 2026-01-29 | 1 | -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 CircHopInbound | Gabriela Moldovan | 2026-01-29 | 4 | -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 module | Gabriela Moldovan | 2026-01-29 | 2 | -3/+6 | |
| | | | | | | | | | This is not just for clients! | |||||
| * | | proto: Add a new module for the generic circuit reactor | Gabriela Moldovan | 2026-01-29 | 2 | -0/+10 | |
| | | | | | | | | | Currently empty, will be fleshed out in a future commit. | |||||
| * | | proto; Factor HOPS constant out of maybenot_padding | Gabriela Moldovan | 2026-01-29 | 2 | -3/+4 | |
| | | | | | | | | | I am about to use this in other places too. | |||||
| * | | proto: Move padding_disposition() to the shared padding module | Gabriela Moldovan | 2026-01-29 | 2 | -54/+74 | |
| | | | ||||||
| * | | proto: Move CircPaddingDisposition to a new module | Gabriela Moldovan | 2026-01-29 | 3 | -13/+18 | |
| | | | | | | | | | Relays will need to use it too. | |||||
| * | | proto: Add a new ToRelayMsg util | Gabriela Moldovan | 2026-01-29 | 5 | -0/+52 | |
| | | | | | | | | | | | | | | | | | | | 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 util | Gabriela Moldovan | 2026-01-29 | 6 | -15/+23 | |
| | | | | | | | | | | | This will be used in the stream reactor too (and the stream reactor will eventually replace the corresponding client impl). | |||||
| * | | fallbackdir: Update list generated on January 28, 2026 | Tor CI Release | 2026-01-28 | 1 | -887/+903 | |
| | | | | | | | | | Signed-off-by: Tor CI Release <[email protected]> | |||||
| * | | Merge branch 'unused-async-lint' into 'main' | gabi-250 | 2026-01-28 | 77 | -37/+103 | |
| |\ \ | | | | | | | | | | | | | | | | | | | maint/add_warning: Deny clippy::unused_async Closes #2328 See merge request tpo/core/arti!3613 | |||||
| | * | | hsservice: Allow clippy::unused_async | Gabriela Moldovan | 2026-01-28 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | See discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3613#note_3332767 | |||||
| | * | | Revert "hsservice: Make RendRequest::reject() synchronous" | Gabriela Moldovan | 2026-01-28 | 2 | -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 Moldovan | 2026-01-28 | 1 | -5/+1 | |
| | | | | ||||||
| | * | | circmgr: Make test helper non-async | Gabriela Moldovan | 2026-01-28 | 1 | -9/+9 | |
| | | | | ||||||
| | * | | chanmgr: Make a padding test function non-async | Gabriela Moldovan | 2026-01-27 | 1 | -3/+2 | |
| | | | | ||||||
| | * | | tor-async-utils: Make postage_drop test non-async | Gabriela Moldovan | 2026-01-27 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | arti: Pass the request by reference | Gabriela Moldovan | 2026-01-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | This resolves a newly-triggered lint. | |||||
| | * | | arti: Make internal helper synchronous | Gabriela Moldovan | 2026-01-27 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | arti-relay: Allow clippy_unused_async | Gabriela Moldovan | 2026-01-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | | The code here is still WIP, no need to apply the lint yet. | |||||
| | * | | dirserver: Allow clippy::unused_async | Gabriela Moldovan | 2026-01-27 | 2 | -0/+2 | |
| | | | | | | | | | | | | | This code is still WIP, no need to address the lint yet. | |||||
| | * | | dirmgr: Make `DirMgr::load_once()` synchronous | Gabriela Moldovan | 2026-01-27 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | dirmgr: Remove unnecessary Arc::clone (fmt) | Gabriela Moldovan | 2026-01-27 | 1 | -2/+1 | |
| | | | | ||||||
| | * | | dirmgr: Remove unnecessary Arc::clone | Gabriela Moldovan | 2026-01-27 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | Now that `load` is no longer `async`, this triggers a lint about the unnecessary clone. | |||||
| | * | | dirmgr: Make various functions synchronous | Gabriela Moldovan | 2026-01-27 | 2 | -10/+9 | |
| | | | | | | | | | | | | | To fix `clippy::unused_async`. | |||||
| | * | | hsservice: Make RendRequest::reject() synchronous | Gabriela Moldovan | 2026-01-27 | 2 | -1/+2 | |
| | | | | ||||||
| | * | | hsservice: Remove unnecessary wraps from publisher function | Gabriela Moldovan | 2026-01-27 | 1 | -4/+4 | |
| | | | | | | | | | | | | | This lint triggers now that the unnecessary `async` is gone. | |||||
| | * | | hsservice: Remove unnecessary async from publisher function | Gabriela Moldovan | 2026-01-27 | 1 | -3/+3 | |
| | | | | ||||||
| | * | | proto: Add an exception for clippy::unused_async | Gabriela Moldovan | 2026-01-27 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | proto: Add exceptions for clippy::unused async in relay reactor | Gabriela Moldovan | 2026-01-27 | 1 | -0/+3 | |
| | | | | | | | | | | | | | This code is still WIP, so I propose we ignore the lint for now. | |||||
| | * | | proto: Remove unnecessary async in channel reactor | Gabriela Moldovan | 2026-01-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | This resolves a warning triggered by the newly-introduced `#[deny(clippy::unused_async)]`. | |||||
| | * | | maint/add_warning: Run script to add new warning | Gabriela Moldovan | 2026-01-27 | 65 | -0/+65 | |
| | | | | | | | | | | | | | This adds the lint to all our crates. | |||||
| * | | | rpc: Clarify comments on resolve() methods. | Nick Mathewson | 2026-01-27 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | rpc: Generate a specific error for inet-auto:nonlocal | Nick Mathewson | 2026-01-27 | 1 | -1/+9 | |
| | | | | ||||||
| * | | | rpc-connect: Implement json address-file format. | Nick Mathewson | 2026-01-27 | 5 | -11/+41 | |
| | | | | ||||||
| * | | | rpc: Add rpc-client-side support for inet-auto addresses | Nick Mathewson | 2026-01-27 | 3 | -5/+53 | |
| | | | | ||||||
| * | | | rpc: Add rpc-server-side support for inet-auto addresses. | Nick Mathewson | 2026-01-27 | 3 | -16/+97 | |
| | | | | ||||||
| * | | | rpc: Begin implementing inet-auto address scheme. | Nick Mathewson | 2026-01-27 | 3 | -30/+178 | |
| | | | | ||||||
| * | | | Merge branch 'kist-doc' into 'main' | Alexander Hansen Færøy | 2026-01-27 | 1 | -0/+1 | |
| |\ \ \ | |/ / |/| | | | | | | | | clippy: Fix missing doc for non-Linux builds See merge request tpo/core/arti!3611 | |||||
| | * | | clippy: Fix missing doc for non-Linux builds | Clara Engler | 2026-01-27 | 1 | -0/+1 | |
| | |/ | ||||||
| * | | Merge branch 'ticket_2304' into 'main' | Nick Mathewson | 2026-01-27 | 4 | -23/+49 | |
| |\ \ | |/ |/| | | | | | | | | | arti: Downgrade "stream closed without END" warning to debug. Closes #2304 See merge request tpo/core/arti!3608 | |||||
| | * | arti: Make tor-proto dependency unconditional | Nick Mathewson | 2026-01-27 | 1 | -3/+3 | |
| | | | | | | | | | We now need it whether or not http-connect is enabled. | |||||
| | * | Apply 1 suggestion(s) to 1 file(s) | Nick Mathewson | 2026-01-27 | 1 | -1/+1 | |
| | | | | | | | Co-authored-by: carti-it <[email protected]> | |||||
| | * | arti: Downgrade CircuitClosed to debug level. | Nick Mathewson | 2026-01-22 | 1 | -3/+20 | |
| | | | | | | | | | | | | | | | This isn't the long-term solution to error reporting and proxies, but it is a start that we can work from. Closes #2304. | |||||
| | * | arti: Extract function to find a ProtoError source | Nick Mathewson | 2026-01-22 | 2 | -11/+22 | |
| | | | ||||||
| | * | tor-proto: Report CircuitClosed on unexpected stream rx close | Nick Mathewson | 2026-01-22 | 1 | -6/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As near as I can tell, there are only three ways that the sender corresponding to this rx can be dropped: - `StreamMap::terminate` because the stream object itself was dropped. (But see #2323.) - `StreamMap::close_stream` because an END message or similar has been received. (But see #2322.) - The `StreamMap` has been dropped. The first two cases are already handled, and AFAICT the third can only happen when the circuit hop closes. That makes `CircuitClosed` the appropriate error here, not `StreamProto`. Part of a fix for #2304. | |||||
| * | | tor-rtcompat: depend on rustls 0.23.21 | Steven Engler | 2026-01-26 | 1 | -0/+7 | |
| | | | ||||||
| * | | tor-basic-utils: bump slab to 0.4.7 | Steven Engler | 2026-01-26 | 1 | -1/+1 | |
| | | | | | | | | | | | This is needed since we rely on `Slab::new()` being a const fn, which was only added in 0.4.7. | |||||
