| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | proto: Make the mock exit start writing to the stream. | Gabriela Moldovan | 2025-07-16 | 1 | -1/+84 | |
| | | | | ||||||
| * | | | proto: Replace oneshot completion channel with event channel. | Gabriela Moldovan | 2025-07-16 | 1 | -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 Moldovan | 2025-07-16 | 1 | -7/+14 | |
| | | | | ||||||
| * | | | proto: Replace tuple with struct with named fields for clarity. | Gabriela Moldovan | 2025-07-16 | 1 | -37/+30 | |
| | | | | | | | | | | | | | This abolishes the overly-long tuple used in these tests. | |||||
| * | | | proto: Move list of expected switches to a separate variable. | Gabriela Moldovan | 2025-07-16 | 1 | -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 Moldovan | 2025-07-16 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | proto: Remove no-longer accurate comment from test. | Gabriela Moldovan | 2025-07-16 | 1 | -4/+0 | |
| | | | | ||||||
| * | | | proto: Refactor test loop exit condition. | Gabriela Moldovan | 2025-07-16 | 1 | -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 Moldovan | 2025-07-16 | 1 | -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-250 | 2025-07-16 | 3 | -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 Moldovan | 2025-07-15 | 1 | -2/+1 | |
| | | | | | ||||||
| | * | | | config-path, dirmgr, general-addr: Remove unnecessary parentheses. | Gabriela Moldovan | 2025-07-15 | 3 | -3/+3 | |
| | |/ / | | | | | | | | | | This resolves some nightly clippy warnings. | |||||
| * / / | arti: raw: Rename `arti keys-raw remove-by-path` | hjrgrn | 2025-07-15 | 3 | -16/+16 | |
| |/ / | | | | | | | | | * arti: raw: `remove-by-path` is now `remove-by-id` * arti: raw: Adjust integration tests | |||||
| * | | Merge branch 'gsoc-plumb' into 'main' | gabi-250 | 2025-07-14 | 25 | -300/+804 | |
| |\ \ | | | | | | | | | | | | | arti: keys: Add arti keys raw-remove-by-path See merge request tpo/core/arti!3059 | |||||
| | * | | arti: keys: Add arti keys-raw | hjrgrn | 2025-07-14 | 25 | -300/+804 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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' | opara | 2025-07-10 | 12 | -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 Engler | 2025-07-10 | 2 | -2/+2 | |
| | | | | | ||||||
| | * | | | tor-proto: changed 'if' statements to 'match' | Steven Engler | 2025-07-10 | 2 | -22/+34 | |
| | | | | | ||||||
| | * | | | tor-proto: added TODOs for making rate limit stream optional | Steven Engler | 2025-07-09 | 2 | -0/+2 | |
| | | | | | ||||||
| | * | | | tor-proto: set `XonXoffBased` variant behind "flowctl-cc" feat | Steven Engler | 2025-07-07 | 2 | -5/+23 | |
| | | | | | ||||||
| | * | | | tor-proto: finish support for `StreamSendFlowControl` XON/XOFF | Steven Engler | 2025-07-07 | 1 | -7/+4 | |
| | | | | | ||||||
| | * | | | tor-proto: handle XON/XOFF messages | Steven Engler | 2025-07-07 | 5 | -7/+101 | |
| | | | | | ||||||
| | * | | | tor-proto: establish channel for rate limit updates | Steven Engler | 2025-07-07 | 9 | -31/+127 | |
| | | | | | ||||||
| | * | | | tor-proto: code movement | Steven Engler | 2025-07-07 | 1 | -33/+33 | |
| | | | | | | | | | | | | | | | | | Moves the `DataWriter` impl to immediately after the definition. | |||||
| | * | | | tor-proto: small `DataWriter` refactoring | Steven Engler | 2025-07-07 | 1 | -25/+35 | |
| | | | | | ||||||
| | * | | | tor-proto: remove incorrect doc comment | Steven Engler | 2025-07-07 | 1 | -2/+0 | |
| | | | | | ||||||
| | * | | | tor-proto: move sendme decoding into `StreamSendFlowControl` | Steven Engler | 2025-07-07 | 4 | -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 Jackson | 2025-07-10 | 1 | -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 way | hashcatHitman | 2025-06-24 | 1 | -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 Jackson | 2025-07-10 | 1 | -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 Engler | 2025-06-26 | 1 | -2/+3 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'prop360-combined' into 'main' | Nick Mathewson | 2025-07-10 | 20 | -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 Mathewson | 2025-07-10 | 3 | -4/+4 | |
| | | | | | | | ||||||
| | * | | | | | Comment to explain _why_ ExcessOutbound is internal. | Nick Mathewson | 2025-07-10 | 1 | -0/+5 | |
| | | | | | | | ||||||
| | * | | | | | Rename last_hop to last_hop_info to fix name conflict | Nick Mathewson | 2025-07-10 | 2 | -4/+4 | |
| | | | | | | | ||||||
| | * | | | | | dirclient: treat excessive incoming cells as suspicious. | Nick Mathewson | 2025-07-10 | 1 | -2/+3 | |
| | | | | | | | ||||||
| | * | | | | | circmgr: Apply incoming cell limits to hsdir connections | Nick Mathewson | 2025-07-10 | 1 | -1/+12 | |
| | | | | | | | ||||||
| | * | | | | | proto: Add the ability to enforce a maximum number of cells per hop | Nick Mathewson | 2025-07-10 | 4 | -1/+118 | |
| | | | | | | | ||||||
| | * | | | | | netdoc, hsservice: Respect maximum descriptor sizes | Nick Mathewson | 2025-07-10 | 4 | -6/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It would be better to take a more sophisticated approach; see #2048. | |||||
| | * | | | | | netdir: new parameters from prop360. | Nick Mathewson | 2025-07-10 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | (maxima are as amended in torspec!411) | |||||
| | * | | | | | netdoc: Add note about prop360 | Nick Mathewson | 2025-07-10 | 1 | -0/+6 | |
| | | | | | | | ||||||
| | * | | | | | netdoc: Tread a few more kinds of errors as suspicious. | Nick Mathewson | 2025-07-10 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, these are errors that provide an opportunity to inflate the size of an hsdesc download. | |||||
| | * | | | | | hs*: Define some HsDesc errors as _suspicious_. | Nick Mathewson | 2025-07-10 | 5 | -10/+130 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These errors are suspicious as hsdir inflation attacks, in the context of prop360. | |||||
| | * | | | | | dirclient: New error type for too-long headers. | Nick Mathewson | 2025-07-10 | 3 | -4/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | (This was previously called a parse error, which isn't right.) | |||||
| | * | | | | | hs*: Include SourceInfo when making HsDesc requests. | Nick Mathewson | 2025-07-10 | 3 | -3/+34 | |
| | | | | | | | ||||||
| | * | | | | | dirclient: Make SourceInfo::from_circuit public. | Nick Mathewson | 2025-07-10 | 1 | -8/+8 | |
| | | | | | | | ||||||
| | * | | | | | dirclient: refactor logic for constructing a SourceInfo from a circuit | Nick Mathewson | 2025-07-10 | 2 | -11/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) It's the last hop that matters, not the first. 2) The last hop could conceivably be virtual, making the source anonymous. (Though this never happens in Arti today.) | |||||
| | * | | | | | proto: Add method to get the last hop of a circuit. | Nick Mathewson | 2025-07-10 | 1 | -0/+21 | |
| | | | | | | | ||||||
| | * | | | | | netdoc: disallow extraneous space within final signature item | Nick Mathewson | 2025-07-10 | 3 | -1/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Part of proposal 360. | |||||
| | * | | | | | netdoc: Fix Item::end_pos() behavior, and add tests. | Nick Mathewson | 2025-07-10 | 1 | -6/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it didn't include end-of-line space, even though the docs said it did. | |||||
