summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-cell: remove `flowctl-cc` feature and make XON/XOFF cells stableSteven Engler2025-07-156-13/+3
| | | | | | | | | | | | | | | | | | | | I don't see any further changes being needed for these types, and it simplifies a lot of future code in tor-proto that uses these types.
| * | | tor-cell: add a const constructor for `FlowCtrlVersion`Steven Engler2025-07-151-7/+14
| | | |
* | | | Merge branch 'handle-switch-test' into 'main'gabi-2502025-07-162-92/+495
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | conflux: Add conflux tests for client-side SWITCH handling See merge request tpo/core/arti!3091
| * | | | proto: Add some docs for the conflux stream tests.Gabriela Moldovan2025-07-161-0/+27
| | | | |
| * | | | proto: Explain why the test MockRuntime is behind a mutex.Gabriela Moldovan2025-07-161-1/+6
| | | | |
| * | | | conflux: Ensure the min-heap is really a min-heap.Gabriela Moldovan2025-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Ord` impl of `OooRelayMsg` already "reverses" the seqno comparison, which means previously we were double-reversing it (leading to the ooo cell heap logic being broken in cases where its size was > 1). Caught by the new conflux switch handling tests.
| * | | | conflux: Add test for out-of-order cell handling in the client.Gabriela Moldovan2025-07-161-3/+252
| | | | |
| * | | | proto: Make the mock exit start writing to the stream.Gabriela Moldovan2025-07-161-1/+84
| | | | |
| * | | | proto: Replace oneshot completion channel with event channel.Gabriela Moldovan2025-07-161-18/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two mock exit legs will use this channel to notify each other of the receipt of BEGIN cells. This will enable us to extend the tests to support writing cells to the stream (but only after the stream is opened).
| * | | | proto: Give ConfluxStreamState a constructor.Gabriela Moldovan2025-07-161-7/+14
| | | | |
| * | | | proto: Replace tuple with struct with named fields for clarity.Gabriela Moldovan2025-07-161-37/+30
| | | | | | | | | | | | | | | | | | | | This abolishes the overly-long tuple used in these tests.
| * | | | proto: Move list of expected switches to a separate variable.Gabriela Moldovan2025-07-161-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | | I am moving these out of the `relays` list, in preparation for a minor refactoring around that part.
| * | | | proto: Clarify docs to say who the receiver of the data_recvd is.Gabriela Moldovan2025-07-161-1/+1
| | | | |
| * | | | proto: Remove no-longer accurate comment from test.Gabriela Moldovan2025-07-161-4/+0
| | | | |
| * | | | proto: Refactor test loop exit condition.Gabriela Moldovan2025-07-161-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | This is about to become slightly more complex, as the mock exit will support writing to the stream too.
| * | | | proto: Rename test for clarity.Gabriela Moldovan2025-07-161-1/+1
|/ / / / | | | | | | | | | | | | | | | | I will another test for exit-to-client transmissions, so I am preemptively renaming its counterpart.
* | | | Merge branch 'nightly-clippy' into 'main'gabi-2502025-07-163-4/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | config-path, dirmgr, general-addr: Remove unnecessary parentheses. See merge request tpo/core/arti!3096
| * | | | config-path, dirmgr, general-addr: Remove unnecessary parentheses (fmt).Gabriela Moldovan2025-07-151-2/+1
| | | | |
| * | | | config-path, dirmgr, general-addr: Remove unnecessary parentheses.Gabriela Moldovan2025-07-153-3/+3
| |/ / / | | | | | | | | | | | | This resolves some nightly clippy warnings.
* | | | Merge branch 'rename-remove-by-path' into 'main'opara2025-07-156-29/+32
|\ \ \ \ | |/ / / |/| | | | | | | | | | | arti: raw: Rename `arti keys-raw remove-by-path` See merge request tpo/core/arti!3095
| * | | doc: Update keys.mdhjrgrn2025-07-151-3/+3
| | | |
| * | | doc: Update `keys-raw.md`hjrgrn2025-07-151-9/+12
| | | |
| * | | arti: raw: Rename `arti keys-raw remove-by-path`hjrgrn2025-07-154-17/+17
|/ / / | | | | | | | | | | | | * arti: raw: `remove-by-path` is now `remove-by-id` * arti: raw: Adjust integration tests
* | | Merge branch 'bump-shadow-v2' into 'main'Nick Mathewson2025-07-141-2/+2
|\ \ \ | | | | | | | | | | | | | | | | CI: bump shadow version See merge request tpo/core/arti!3092
| * | | CI: bump shadow versionJim Newsome2025-07-141-2/+2
|/ / / | | | | | | | | | | | | Mostly to get reproducibility fixes for <https://github.com/shadow/shadow/issues/3610>
* | | Merge branch 'gsoc-plumb' into 'main'gabi-2502025-07-1429-313/+882
|\ \ \ | | | | | | | | | | | | | | | | arti: keys: Add arti keys raw-remove-by-path See merge request tpo/core/arti!3059
| * | | arti: keys: Add arti keys-rawhjrgrn2025-07-1429-313/+882
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CLI: Add `keys-raw` and subcommand `remove-by-path` * arti: Add `arti::subcommand::raw` for the CLI `keys-raw` * tor-keymgr: Add `ArtiNativeKeystoreError::UnexpectedRawEntry`, `ArtiEphemeralKeystoreError::NotSupported` * tor-keymgr: Add `tor-keymgr::raw` module * tor-keymgr: Add `Keystore::remove_unchecked` * tor-keymgr: Change `Keystore::list` to return `KeystoreEntry` * tor-keymgr: Add field `KeystoreEntry::raw_id` * doc: Update keys.md * doc: Add raw.md * tor-keymgr: BREAKING: `UnrecognizedEntryError::new` associated function is now only accessible within the crate `tor-keymgr` * tor-keymgr: BREAKING: `UnrecognizedEntryId` is renamed to `UnrecognizedEntry` * tor-keymgr: BREAKING: `KeyMgr::list()` and `Keystore::list()` now return `Result<Vec<KeystoreEntryResult<KeystoreEntry>>>`
* | | | Merge branch 'flow-ctrl' into 'main'opara2025-07-1012-96/+327
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto: Handle incoming XON/XOFF messages See merge request tpo/core/arti!3054
| * | | | tor-proto: renamed `get_bytes_per_sec()` to `bytes_per_sec()`Steven Engler2025-07-102-2/+2
| | | | |
| * | | | tor-proto: changed 'if' statements to 'match'Steven Engler2025-07-102-22/+34
| | | | |
| * | | | tor-proto: added TODOs for making rate limit stream optionalSteven Engler2025-07-092-0/+2
| | | | |
| * | | | tor-proto: set `XonXoffBased` variant behind "flowctl-cc" featSteven Engler2025-07-072-5/+23
| | | | |
| * | | | tor-proto: finish support for `StreamSendFlowControl` XON/XOFFSteven Engler2025-07-071-7/+4
| | | | |
| * | | | tor-proto: handle XON/XOFF messagesSteven Engler2025-07-075-7/+101
| | | | |
| * | | | tor-proto: establish channel for rate limit updatesSteven Engler2025-07-079-31/+127
| | | | |
| * | | | tor-proto: code movementSteven Engler2025-07-071-33/+33
| | | | | | | | | | | | | | | | | | | | Moves the `DataWriter` impl to immediately after the definition.
| * | | | tor-proto: small `DataWriter` refactoringSteven Engler2025-07-071-25/+35
| | | | |
| * | | | tor-proto: remove incorrect doc commentSteven Engler2025-07-071-2/+0
| | | | |
| * | | | tor-proto: move sendme decoding into `StreamSendFlowControl`Steven Engler2025-07-074-18/+22
| | | | | | | | | | | | | | | | | | | | | | | | | We only want to try to decode it if the circuit is using window-based flow control.
* | | | | Merge branch 'nongenericnonzero' into 'main'Ian Jackson2025-07-101-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-memquota: Replaced MSRV TODO with explanation as to why it is done this way See merge request tpo/core/arti!3067
| * | | | | tor-memquota: Replaced MSRV TODO with explanation as to why it is done this wayhashcatHitman2025-06-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The TODO regarding replacing usage of qualified names with a generic NonZero<T> has been replaced with a link to an issue requesting clearer documentation for NonZero as to how this cannot be done, due to the perma- unstable type bound on T. Signed-off-by: hashcatHitman <[email protected]>
* | | | | | Merge branch 'fix-zero-read' into 'main'Ian Jackson2025-07-101-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Fix 0-len buffer bug in `DataReader::poll_read` Closes #2053 See merge request tpo/core/arti!3080
| * | | | | | tor-proto: fix 0-len buffer bug in `DataReader::poll_read`Steven Engler2025-06-261-2/+3
| | | | | | |
* | | | | | | Merge branch 'prop360-combined' into 'main'Nick Mathewson2025-07-1020-43/+535
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement proposal 360 (limit HsDesc inflation opportunities) Closes #2046 See merge request tpo/core/arti!3070
| * | | | | | Suggestions from @gabi-250 on prop360 implementation.Nick Mathewson2025-07-103-4/+4
| | | | | | |
| * | | | | | Comment to explain _why_ ExcessOutbound is internal.Nick Mathewson2025-07-101-0/+5
| | | | | | |
| * | | | | | Rename last_hop to last_hop_info to fix name conflictNick Mathewson2025-07-102-4/+4
| | | | | | |
| * | | | | | dirclient: treat excessive incoming cells as suspicious.Nick Mathewson2025-07-101-2/+3
| | | | | | |
| * | | | | | circmgr: Apply incoming cell limits to hsdir connectionsNick Mathewson2025-07-101-1/+12
| | | | | | |
| * | | | | | proto: Add the ability to enforce a maximum number of cells per hopNick Mathewson2025-07-104-1/+118
| | | | | | |