aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Upgrade to itertools 0.15.0Nick Mathewson2026-07-0124-38/+37
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Additionally, fix itertools usage in maybenot_padding.rs The definition of `Position` changed in 0.15.0.
* | | | | Merge branch 'fix/MissingOneOf' into 'main'Nick Mathewson2026-07-012-3/+19
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Added ConfigBuildError::MissingOneOf and did TODO See merge request tpo/core/arti!4131
| * | | | fix: apply rustfmtpryty262026-06-201-2/+5
| | | | |
| * | | | did TODO/Changed MissingFieled into MissingOneOfpryty262026-06-201-3/+3
| | | | |
| * | | | Added ConfigBuildError::MissingOneOfpryty262026-06-191-0/+13
| | | | |
* | | | | Merge branch 'upgrade-rdrand-0.9' into 'main'Ian Jackson2026-07-012-4/+3
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Upgrade rdrand dependency to 0.9 See merge request tpo/core/arti!4194
| * | | | llcrypto: Use rdrand on aarch64 too.Nick Mathewson2026-07-012-3/+2
| | | | | | | | | | | | | | | | | | | | Starting with rdrand 0.9, the crate supports aarch64.
| * | | | Upgrade rdrand dependency to 0.9Nick Mathewson2026-07-011-1/+1
| | | | |
* | | | | Upgrade to phf 0.14.0.Nick Mathewson2026-07-011-1/+1
|/ / / /
* | | | Merge branch 'impl-unix-conn' into 'main'Ian Jackson2026-07-012-28/+79
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | added Unix Socket support See merge request tpo/core/arti!4129
| * | | added Unix Socket supportpryty262026-07-012-28/+79
| | | |
* | | | tor-netdoc: AddrPolicy: Improve docs including spec xrefIan Jackson2026-07-011-2/+8
| | | |
* | | | tor-netdoc: IpPattern: Explain difference between `*` and `0.0.0.0/0`Ian Jackson2026-07-011-1/+4
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4141#note_3430551
* | | | tor-netdoc: AddrPolicy: Provide rules accessorIan Jackson2026-07-012-0/+8
| | | |
* | | | tor-netdoc: AddrPortPattern: Improve APIIan Jackson2026-07-012-1/+7
| | | |
* | | | tor-netdoc: AddrPortPattern: Expose contents, exhaustivelyIan Jackson2026-07-012-2/+8
| | | |
* | | | tor-netdoc: AddrPortPattern: Rename pattern field to addrsIan Jackson2026-07-011-8/+8
| | | | | | | | | | | | | | | | | | | | "Pattern" is wrong. Everything here is a pattern. This field is the *address* pattern as opposed to the *ports* pattern.
* | | | tor-netdoc: AddrPortPattern: Improve formatting a bitIan Jackson2026-07-011-3/+2
| | | |
* | | | tor-netdoc: IpPattern: Expose publiclyIan Jackson2026-07-013-4/+8
| | | |
* | | | tor-netdoc: IpPattern: Improve APIIan Jackson2026-07-011-2/+2
| | | | | | | | | | | | | | | | impl From<IpNet>, Copy, Hash
* | | | tor-netdoc: IpPattern: Improve docsIan Jackson2026-07-011-0/+5
| |_|/ |/| |
* | | Merge branch 'cargo-update-250' into 'main'Nick Mathewson2026-06-302-3/+3
|\ \ \ | | | | | | | | | | | | | | | | Run cargo-update and fix deprecation warnings See merge request tpo/core/arti!4187
| * | | Require a more recent "time" to fix parsing issues.Nick Mathewson2026-06-301-1/+1
| | | |
| * | | Fix deprecation-warning in tor-dirmgr.Nick Mathewson2026-06-302-3/+3
| | | | | | | | | | | | | | | | | | | | time::format_description::parse is now deprecated; the replacement we want to use is first available in time 0.3.49.
* | | | proto: Add test for the incoming stream cmd allow listGabriela Moldovan2026-06-301-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests that the customizable `IncomingCmdChecker` added for #2606 is doing its job, by ensuring that the circuit reactor doesn't emit `IncomingStream`s for incoming streams created with commands that are not in the reactor's allow list.
* | | | proto: Update tests to pass the incoming cmd allow list to the reactor (fmt)Gabriela Moldovan2026-06-301-12/+21
| | | |
* | | | proto: Update tests to pass the incoming cmd allow list to the reactorGabriela Moldovan2026-06-301-10/+12
| | | |
* | | | proto: Pass the allowed incoming commands to the relay reactorGabriela Moldovan2026-06-302-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CreateRequestHandler` now passes the list of allowed "incoming stream request" commands (i.e. BEGIN, BEGIN_DIR, or RESOLVE) to the reactor, replacing the hard-coded command list. Closes #2606
* | | | proto: Pass the allowed incoming commands to CreateRequestHandlerGabriela Moldovan2026-06-305-0/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables us to make these configurable: any relays that are not configured to be an exit will exclude BEGIN and RESOLVE from their list of allowed commands, causing exit and DNS streams to be rejected as soon as the BEGIN/RESOLVE cell is received in the circuit reactor. Context: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4145#note_3430345 Part of #2606
* | | Remove semver.md filesNick Mathewson2026-06-308-70/+0
| | |
* | | Merge branch 'version-bumps'Nick Mathewson2026-06-3070-741/+740
|\ \ \
| * | | Cargo update in hashx/equixNick Mathewson2026-06-302-83/+81
| | | |
| * | | Version bumps for 2.5.0Nick Mathewson2026-06-3068-658/+658
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2617. We've lucked out this time, and it turns out that every one of our published crates gets a minor bump. So this was generated with: ``` for cr in $(./maint/list-crates); do cargo set-version -p $cr --bump minor done ```
* | | | Merge branch 'ff-20260630' into 'main'Nick Mathewson2026-06-302-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Run "fixup-features" and clean up the result. See merge request tpo/core/arti!4180
| * | | | Run cargo sort in arti-relay.Nick Mathewson2026-06-301-4/+3
| | | | |
| * | | | arti-relay: Make "metrics" experimentalNick Mathewson2026-06-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | It was both in "metrics" and in "experimental"; I think the latter was intended.
| * | | | Run "fixup-features".Nick Mathewson2026-06-302-0/+3
| | | | |
* | | | | Update release date for 2.5.0Nick Mathewson2026-06-301-1/+1
| |/ / / |/| | |
* | | | protover: Use a faster check for unrecognized protocol uniqueness.Nick Mathewson2026-06-301-9/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of doing an O(n) check every time we add an unrecognized protocol, we just scan the list of unrecognized protocols after we sort them. Closes #2601. Resolves TROVE-2026-027.
* | | tor-basic-utils: don't include '-' in random hostnamesSteven Engler2026-06-291-2/+5
| | |
* | | Merge branch 'more-eq' into 'main'Clara Engler2026-06-296-12/+16
|\ \ \ | | | | | | | | | | | | | | | | Derive more Eq in tor-cert and tor-netdoc See merge request tpo/core/arti!4150
| * | | tor-netdoc: Derive Eq on RouterDescSignaturesClara Engler2026-06-292-1/+2
| | | |
| * | | tor-netdoc: Derive Eq on RouterDescClara Engler2026-06-292-1/+2
| | | |
| * | | tor-netdoc: Derive Eq on (embedded) certificate typesClara Engler2026-06-293-2/+3
| | | |
| * | | tor-cert: Derive PartialEq and Eq on core typesClara Engler2026-06-292-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit derives PartialEq and Eq on the "core" certificate types in lib.rs, i.e. the Ed25519 certificates and its adjacent data types. We will need this for proper PartialEq and Eq handling in tor-netdoc at one point.
* | | | arti-relay: Link IncomingStreamRequestFilter in RequestFilterGabriela Moldovan2026-06-291-1/+2
| | | | | | | | | | | | | | | | | | | | Suggested by opara in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4145#note_3430815
* | | | proto: Remove confusing blurb about IncomingStream handlingGabriela Moldovan2026-06-291-3/+5
| | | |
* | | | proto: Clarify wording in relay reactor constructorGabriela Moldovan2026-06-291-1/+5
| | | |
* | | | proto: Say why INCOMING_BUFFER is set to STREAM_READER_BUFFERGabriela Moldovan2026-06-291-0/+5
| | | |
* | | | proto: Add expect(unused) where neededGabriela Moldovan2026-06-292-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that relays no longer use `CtrlCmd::AwaitStreamRequests`, some of these fields are unused. I'm leaving them in for now, but we should remove them if they're still unused after we finish the circ reactor impl. I'm not removing `AwaitStreamRequests`, because it will be needed by onion services, when we replace the old client circuit reactor with the new one.