summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| | | | | |
| * | | | | netdoc, hsservice: Respect maximum descriptor sizesNick Mathewson2025-07-104-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It would be better to take a more sophisticated approach; see #2048.
| * | | | | netdir: new parameters from prop360.Nick Mathewson2025-07-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | (maxima are as amended in torspec!411)
| * | | | | netdoc: Add note about prop360Nick Mathewson2025-07-101-0/+6
| | | | | |
| * | | | | netdoc: Tread a few more kinds of errors as suspicious.Nick Mathewson2025-07-101-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 Mathewson2025-07-105-10/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These errors are suspicious as hsdir inflation attacks, in the context of prop360.
| * | | | | dirclient: New error type for too-long headers.Nick Mathewson2025-07-103-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | (This was previously called a parse error, which isn't right.)
| * | | | | hs*: Include SourceInfo when making HsDesc requests.Nick Mathewson2025-07-103-3/+34
| | | | | |
| * | | | | dirclient: Make SourceInfo::from_circuit public.Nick Mathewson2025-07-101-8/+8
| | | | | |
| * | | | | dirclient: refactor logic for constructing a SourceInfo from a circuitNick Mathewson2025-07-102-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 Mathewson2025-07-101-0/+21
| | | | | |
| * | | | | netdoc: disallow extraneous space within final signature itemNick Mathewson2025-07-103-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | Part of proposal 360.
| * | | | | netdoc: Fix Item::end_pos() behavior, and add tests.Nick Mathewson2025-07-101-6/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it didn't include end-of-line space, even though the docs said it did.
| * | | | | Add test to enforce parser behavior wrt start-of-line space.Nick Mathewson2025-07-101-0/+46
| | | | | |
* | | | | | Merge branch 'typos-20250709' into 'main'Nick Mathewson2025-07-0922-28/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typo fixes (automatic and hand-verified) See merge request tpo/core/arti!3089
| * | | | | | Add a missing backtick.Nick Mathewson2025-07-091-1/+1
| | | | | | |
| * | | | | | socksproto: Grammar fix in comment.Nick Mathewson2025-07-091-1/+1
| | | | | | |
| * | | | | | Typo fixes (automatic and hand-verified)Nick Mathewson2025-07-0922-28/+28
| |/ / / / / | | | | | | | | | | | | | | | | | | Made with https://crates.io/crates/typos-cli
* / / / / / keymgr: fix spelling of MethodNotSuppor(t)ed.Nick Mathewson2025-07-091-5/+5
|/ / / / /
* | | | | Remove semver.md files post-release.Gabriela Moldovan2025-07-082-8/+0
| | | | |
* | | | | arti-client: Update release date.Gabriela Moldovan2025-07-071-1/+1
| | | | |
* | | | | hashx, equix: Update lock files.Gabriela Moldovan2025-07-072-3/+3
| | | | |
* | | | | Bump arti crate to 1.4.5Gabriela Moldovan2025-07-073-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
* | | | | Bump all the unstable tor- and arti- crates to 0.32.0.Gabriela Moldovan2025-07-0749-454/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.32.0 done ```
* | | | | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2025-07-0742-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error ``` We split them in the following categories: * crates with no changes (no version bumps): None ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` * crates that only have non-functional changes (bump the patch version): - oneshot-fused-workaround - slotmap-careful - test-temp-dir - fslock-guard - hashx - equix - caret - safelog - retry-error * crates where APIs were broken (bump minor): - fs-mistrust (the implicit once_cell feature was removed) The bumps from this commit were created using this script: ``` PATCH=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret safelog retry-error " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done MINOR=" fs-mistrust " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* | | | | Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2025-07-072-94/+112
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
* | | | tor-hsservice: Suppress false-positive clippy::useless_concat.Gabriela Moldovan2025-07-071-1/+4
| | | |
* | | | tor-dirmgr, tor-guardmgr: Use std::slice::from_ref as suggested by clippy.Gabriela Moldovan2025-07-072-6/+6
| | | |
* | | | tor-proto: Remove unnecessary return.Gabriela Moldovan2025-07-071-1/+1
| | | |
* | | | tor-linkspec: Fix over-indented docs.Gabriela Moldovan2025-07-071-1/+1
| | | | | | | | | | | | | | | | This fixes a clippy warning.