summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Bump arti crate version to 1.3.0Ian Jackson2024-10-301-2/+2
| | | | | | | | I think we should bump the minor version because of the new features, particularly supporting .onion domains as a client by default, and the OOM DoS resistance features (#351). cargo set-version --offline --bump=minor -p arti
* Bump minor versions of crates with new APIs/implsIan Jackson2024-10-301-2/+2
| | | | | cargo set-version --bump=patch -p slotmap-careful cargo set-version --bump=patch -p safelog
* Bump unstable tor-* and arti-* crates to 0.24.0Ian Jackson2024-10-301-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cargo set-version -p tor-async-utils 0.24.0 cargo set-version -p tor-basic-utils 0.24.0 cargo set-version -p tor-bytes 0.24.0 cargo set-version -p tor-cell 0.24.0 cargo set-version -p tor-cert 0.24.0 cargo set-version -p tor-chanmgr 0.24.0 cargo set-version -p tor-checkable 0.24.0 cargo set-version -p tor-circmgr 0.24.0 cargo set-version -p tor-config 0.24.0 cargo set-version -p tor-config-path 0.24.0 cargo set-version -p tor-consdiff 0.24.0 cargo set-version -p tor-dirclient 0.24.0 cargo set-version -p tor-dirmgr 0.24.0 cargo set-version -p tor-error 0.24.0 cargo set-version -p tor-general-addr 0.24.0 cargo set-version -p tor-geoip 0.24.0 cargo set-version -p tor-guardmgr 0.24.0 cargo set-version -p tor-hsclient 0.24.0 cargo set-version -p tor-hscrypto 0.24.0 cargo set-version -p tor-hsrproxy 0.24.0 cargo set-version -p tor-hsservice 0.24.0 cargo set-version -p tor-key-forge 0.24.0 cargo set-version -p tor-keymgr 0.24.0 cargo set-version -p tor-linkspec 0.24.0 cargo set-version -p tor-llcrypto 0.24.0 cargo set-version -p tor-log-ratelim 0.24.0 cargo set-version -p tor-memquota 0.24.0 cargo set-version -p tor-netdir 0.24.0 cargo set-version -p tor-netdoc 0.24.0 cargo set-version -p tor-persist 0.24.0 cargo set-version -p tor-proto 0.24.0 cargo set-version -p tor-protover 0.24.0 cargo set-version -p tor-ptmgr 0.24.0 cargo set-version -p tor-relay-crypto 0.24.0 cargo set-version -p tor-relay-selection 0.24.0 cargo set-version -p tor-rpcbase 0.24.0 cargo set-version -p tor-rtcompat 0.24.0 cargo set-version -p tor-rtmock 0.24.0 cargo set-version -p tor-socksproto 0.24.0 cargo set-version -p tor-units 0.24.0 cargo set-version -p arti-client 0.24.0 cargo set-version -p arti-relay 0.24.0 cargo set-version -p arti-rpc-client-core 0.24.0 cargo set-version -p arti-rpcserver 0.24.0
* Update notify to 7.xIan Jackson2024-10-301-20/+19
| | | | | Nothing in the changelog seems concerning. There's an MSRV bump, but still lower than our own MSRV.
* cargo updateIan Jackson2024-10-301-191/+188
|
* Merge branch 'tor-genaddr' into 'main'Nick Mathewson2024-10-291-0/+13
|\ | | | | | | | | Extract general::SocketAddr and its unix friends to their own crate. See merge request tpo/core/arti!2592
| * Remove re-export of "unix" from tor_rtcompat.Nick Mathewson2024-10-291-0/+1
| |
| * Extract general::SocketAddr and its unix friends to their own crate.Nick Mathewson2024-10-291-0/+12
| | | | | | | | This is mostly code motion.
* | tor-config-path: moved `tor_config::path` to hereSteven Engler2024-10-291-0/+12
| | | | | | | | This is a direct move of the `path` module from tor-config.
* | tor-config-path: added empty packageSteven Engler2024-10-291-0/+5
|/
* tor-config: use 'path' feature of shellexpandSteven Engler2024-10-281-0/+22
|
* Merge branch 'bug1531' into 'main'Ian Jackson2024-10-211-4/+4
|\ | | | | | | | | | | | | Move crates to crates to slotmap-careful Closes #1531 See merge request tpo/core/arti!2530
| * Convert a few crates to slotmap-carefulNeel Chauhan2024-10-171-4/+4
| |
* | rpc: Allow the "RpcError.kinds" to be an RpcErrorKind.Nick Mathewson2024-10-171-12/+0
| | | | | | | | | | This change will let us start removing the not-entirely-logical `Rpc.*` variants from tor_error::ErrorKind.
* | Merge branch 'fs-watcher-poll' into 'main'gabi-2502024-10-171-0/+1
|\ \ | | | | | | | | | | | | | | | | | | tor-config: Use a polling watcher on non-windows platforms that don't have inotify. Closes #1644 See merge request tpo/core/arti!2547
| * | tor-config: Use a polling watcher on non-windows platforms that don't have ↵Gabriela Moldovan2024-10-161-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | inotify. On windows and platforms that support inotify (i.e. linux and android), we continue using the recommended watcher. On platforms that use kqueue, we switch to a polling watcher to work around a [notify bug] that manifests when using a non-recursive watcher to watch a directory. This commit is best reviewed with `git diff --ignore-all-space`. Closes #1644 [notify bug]: https://github.com/notify-rs/notify/issues/644
* | Merge branch 'general_socketaddr_ops' into 'main'Nick Mathewson2024-10-171-0/+8
|\ \ | | | | | | | | | | | | | | | | | | general::SocketAddr: Specify and implement string representations. Closes #1681 See merge request tpo/core/arti!2519
| * | rtcompat: Add a fuzzer for round-trip general::SocketAddr parsing.Nick Mathewson2024-10-161-0/+1
| | | | | | | | | | | | (This turned up another place where we need documentation.)
| * | general::SocketAddr: Add unit testsNick Mathewson2024-10-161-0/+7
| | |
* | | Merge branch 'fix-arti-relay-deps' into 'main'opara2024-10-161-1/+0
|\ \ \ | |_|/ |/| | | | | | | | arti: remove 'relay' subcommand and 'arti-relay' dependency See merge request tpo/core/arti!2542
| * | arti: remove 'relay' subcommand and 'arti-relay' depSteven Engler2024-10-151-1/+0
| |/
* / Update to pwd-grp 1.xIan Jackson2024-10-151-144/+50
|/ | | | | | | Should fix the build on NetBSD, see rust-pwd-grp#4. Also, eliminates the last use of derive-adhoc, the old name for derive-deftly.
* Merge branch 'mq-toplevel' into 'main'Ian Jackson2024-10-151-0/+2
|\ | | | | | | | | Abolish the toplevel Account See merge request tpo/core/arti!2537
| * memquota: Change ToplevelAccount to be an alias for Arc<MemoryQuotaTracker>Ian Jackson2024-10-151-0/+2
| | | | | | | | Fixes a TODO.
* | arti: Bump secmem-proc to fix the build errors on FreeBSD.Gabriela Moldovan2024-10-151-2/+2
|/ | | | | | | | The FreeBSD fixes were released in [`secmem-proc 0.3.4`]. Closes #1686 [`secmem-proc 0.3.4`]: https://github.com/niluxv/secmem-proc/pull/11
* Merge branch 'hs-client-pow' into 'main'Ian Jackson2024-10-151-14/+6
|\ | | | | | | | | Proof-of-work client See merge request tpo/core/arti!2486
| * hs-pow: Refactor to prefer stub types rather than cfg sprawl.Wesley Aptekar-Cassels2024-10-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this design, the thin multiplexing layer between PoW types is always available when onion services are in use, but the specific pow schemes (and their dependency libraries) are gated by crate features everywhere. There are now no new cfg() gates. When the pow-v1 scheme is disabled, we can parse `pow-params v1` lines into an empty type (so clients know a PoW scheme exists that might be supported if they were configured differently). We currently don't save the contents of unknown hsdesc items. On the relaycell side, the hs ext module already sets a strong precedent for keeping unrecognized data as a byte vec, and it doesn't provide a good way to signal soft parse errors like unrecognized optional extensions. There, the `v1` type is completely optional, and services lacking a pow scheme suggested by a client would see one of these 'unrecognized' blobs. This isn't necessarily helpful but it fits the rest of the design. Co-authored-by: Micah Elizabeth Scott <[email protected]>
| * tor-hspow: Big refactor, dissolve this crateWesley Aptekar-Cassels2024-10-091-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My previous strategy here was to try and centralize hspow in one crate, writing it like a self-contained feature. That introduced friction in the data types, prompting the use of simplistic types at the netdoc/cell layers and full-featured types in the optional modules. This changes tactics, dissolving the low-level parts of tor-hspow into tor-hscrypto and the high-level parts into hsclient/hsservice. Full featured types are used everywhere now, but the tradeoff is that compile-time configurability is a lot more pervasive. Anything that knows about PoW types at all needs to be fully configured out. I took this opportunity to try a more complete set of crate features, allowing users to configure individual PoW schemes. Co-authored-by: Micah Elizabeth Scott <[email protected]>
| * First pass at implementing onion proof-of-work clientWesley Aptekar-Cassels2024-10-091-0/+5
| | | | | | | | | | | | | | | | This adds a module to tor-hspow for version-independent client logic. The entire module and its invocations are disabled unless the new "hs-pow" compile time feature is set. Co-authored-by: Micah Elizabeth Scott <[email protected]>
| * tor-cell: Support encoding proofs-of-work in intro_payloadWesley Aptekar-Cassels2024-10-091-0/+1
| | | | | | | | | | | | | | | | | | Like parameters, PoW solutions are versioned to account for multiple algorithms over time. A single solution of a specific version may accompany an INTRO1/2 as part of the encrypted extensions section. Its encoding may depend on the version. Co-authored-by: Micah Elizabeth Scott <[email protected]>
* | arti-rpc-client-core: remove 'c_str_macro' dependencySteven Engler2024-10-091-7/+0
|/ | | | | Arti has a MSRV of rust 1.77 which supports C string literals, so 'c_str_macro' isn't needed.
* tor-keymgr: Add a keystore for C Tor client keys.Gabriela Moldovan2024-10-081-0/+1
|
* tor-keymgr: Add a keystore for C Tor service keys.Gabriela Moldovan2024-10-081-0/+1
|
* tor-keymgr: Add configuration for C Tor service keystores.Gabriela Moldovan2024-10-081-0/+1
|
* Merge branch 'bump-futures-util' into 'main'Nick Mathewson2024-10-071-14/+14
|\ | | | | | | | | cargo-audit Bump our various futures-* deps to 0.3.31. See merge request tpo/core/arti!2499
| * cargo-audit Bump our various futures-* deps to 0.3.31.Gabriela Moldovan2024-10-071-14/+14
| | | | | | | | | | | | | | | | | | The `cargo-audit` job is currently failing because `futures-util 0.3.30` was yanked. This bumps our various futures-* deps to [0.3.31]. [0.3.31]: https://github.com/rust-lang/futures-rs/commit/631aa93a598520b24e671aa3492351f516e85538?short_path=06572a9#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
* | memquota: Add a toplevel account in tor-chanmgrIan Jackson2024-10-031-0/+1
| | | | | | | | | | | | | | | | | | Plumb through a top-level account. This doesn't have any channel-specific, circuit-specific or stream-specific accounts yet. tor-circmgr's and tor-hsclient's *tests* need fake account. In arti-relay, use a dummy account for now.
* | tor-chanmgr: Provide a variant for memquota errorsIan Jackson2024-10-031-0/+1
|/
* tor-memquota: Add an example for HasMemoryCost deriveIan Jackson2024-10-021-0/+1
|
* Some HasMemoryCost impls in tor-protoIan Jackson2024-10-021-0/+2
|
* Some HasMemoryCost impls in tor-cellIan Jackson2024-10-021-0/+2
|
* Some HasMemoryCost impls in tor-linkspecIan Jackson2024-10-021-0/+1
|
* Some HasMemoryCost impls in tor-hscryptoIan Jackson2024-10-021-0/+2
|
* Some HasMemoryCost impls in tor-llcryptoIan Jackson2024-10-021-0/+2
|
* Some HasMemoryCost impls in tor-unitsIan Jackson2024-10-021-0/+2
|
* tor-memquota: Provide facilities for deriving HasMemoryCostIan Jackson2024-10-021-0/+1
|
* Merge branch 'socksproto-3' into 'main'Ian Jackson2024-10-011-0/+6
|\ | | | | | | | | | | | | New tor-socksproto API Closes #1627 See merge request tpo/core/arti!2436
| * arti-rpc-client-core: Use new tor-socksproto APIIan Jackson2024-10-011-0/+1
| |
| * tor-socksproto: Introduce new APIIan Jackson2024-10-011-0/+4
| |
| * tor-socksproto: Factor out return value handlingIan Jackson2024-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | This centralises the handling of return values, and paves the way for further deduplication. (The two return paragraphs were identical.) There's quite a lot of initial API surface to framework.rs. Some of that is going to be hidden, but we're also going to extend this to do more work. No functional change.