| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | tor-proto: Specify which of the 2 senders is used for sending cells. | Gabriela Moldovan | 2024-11-20 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-proto: Fix typo in streammap docs. | Gabriela Moldovan | 2024-11-19 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Merge branch 'hs-host-pow' into 'main' | wesleyac | 2024-11-25 | 24 | -136/+325 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Start of host-side onion service PoW support Closes #1691 See merge request tpo/core/arti!2609 | |||||
| | * | | | tor-netdoc: Error on PowParams::V1 when hs-pow-v1 is disabled. | Wesley Aptekar-Cassels | 2024-11-25 | 1 | -2/+11 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Don't include pow_params in HsDesc when feature is disabled. | Wesley Aptekar-Cassels | 2024-11-25 | 2 | -7/+8 | |
| | | | | | ||||||
| | * | | | Add TODO to error if enable_pow is set but feature flag is disabled. | Wesley Aptekar-Cassels | 2024-11-25 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Clarify enable_pow setting TODO. | Wesley Aptekar-Cassels | 2024-11-25 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdir: Add timeliness param to wait_for_netdir_to_list. | Wesley Aptekar-Cassels | 2024-11-25 | 2 | -2/+3 | |
| | | | | | ||||||
| | * | | | Move helpers from tor-hsservice to tor-netdir. | Wesley Aptekar-Cassels | 2024-11-25 | 9 | -100/+96 | |
| | | | | | | | | | | | | | | | | | | | | | These helpers seem potentially broadly useful, and only really discoverable if they're here. | |||||
| | * | | | tor-hscrypto: Add Verifier::seed() helper function. | Wesley Aptekar-Cassels | 2024-11-25 | 1 | -0/+7 | |
| | | | | | ||||||
| | * | | | tor-hscrypto: Add Seed::new. | Wesley Aptekar-Cassels | 2024-11-25 | 1 | -0/+43 | |
| | | | | | | | | | | | | | | | | | | | | | This includes the ability to generate a seed that does not share a head with the previously used seed, which is generally what we want to do. | |||||
| | * | | | tor-netdoc: Support writing pow-params line. | Wesley Aptekar-Cassels | 2024-11-25 | 4 | -2/+111 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not particularly happy with the code that does the actual writing out of the pow-params line, in particular the error handling there seems very verbose. However, I don't know of a better way to structure it given that APIs I'm working with. | |||||
| | * | | | TimerangeBound: Stop using std::ops::Bound. | Wesley Aptekar-Cassels | 2024-11-25 | 8 | -32/+44 | |
| | | | | | | | | | | | | | | | | | Fixes: #1691 | |||||
| | * | | | arti: Add onion_service.enable_pow option. | Wesley Aptekar-Cassels | 2024-11-25 | 2 | -2/+12 | |
| |/ / / | | | | | | | | | | This currently is not implemented. | |||||
| * | | | Merge branch 'bump-rustls' into 'main' | Nick Mathewson | 2024-11-25 | 1 | -2/+2 | |
| |\ \ \ | | | | | | | | | | | | | | | | | cargo_audit: Bump rustls to 0.23.18. See merge request tpo/core/arti!2641 | |||||
| | * | | | cargo_audit: Bump rustls to 0.23.18. | Gabriela Moldovan | 2024-11-25 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rustls 0.23.13 introduced a bug that causes `Acceptor::accept` to panic if the client hello is fragmented (see [RUSTSEC-2024-0399]). We don't currently use `rustls::server::Acceptor::accept()` anywhere in arti (that I know of, at least), so I don't believe we're affected. [RUSTSEC-2024-0399]: https://rustsec.org/advisories/RUSTSEC-2024-0399 | |||||
| * | | | | Merge branch 'transient-error-retry' into 'main' | Alexander Hansen Færøy | 2024-11-25 | 2 | -1/+2 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | tor-chanmgr: change `RequestCancelled` retry from `Never` to `Immediate` See merge request tpo/core/arti!2640 | |||||
| | * | | | tor-error: add comment to `ErrorKind::TransientFailure` | Steven Engler | 2024-11-21 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | tor-chanmgr: change `RequestCancelled` retry from `Never` to `Immediate` | Steven Engler | 2024-11-21 | 1 | -1/+1 | |
| |/ / / | | | | | | | | | | | | | | | | | | | If the channel request was cancelled, we should be able to retry immediately. Additionally, the `kind()` of `RequestCancelled` is `TransientFailure`, and I don't think it make sense for a transient error to return a `retry_time()` of `Never`. | |||||
| * | | | Merge branch 'clippy-fixes' into 'main' | Jim Newsome | 2024-11-20 | 3 | -0/+7 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Fix clippy errors See merge request tpo/core/arti!2639 | |||||
| | * | | | tor-netdoc: add clippy allows and `#[non_exhaustive]` | Steven Engler | 2024-11-20 | 1 | -0/+2 | |
| | | | | | ||||||
| | * | | | tor-hsservice: add clippy allows | Steven Engler | 2024-11-20 | 1 | -0/+4 | |
| | | | | | ||||||
| | * | | | tor-cell: add clippy allows | Steven Engler | 2024-11-20 | 1 | -0/+1 | |
| |/ / / | ||||||
| * | | | Merge branch 'keymgr-cleanup' into 'main' | David Goulet | 2024-11-20 | 3 | -39/+4 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-keymgr: Remove dead code See merge request tpo/core/arti!2638 | |||||
| | * | | | tor-keymgr: Remove now-unnecessary cfg_attr. | Gabriela Moldovan | 2024-11-20 | 1 | -6/+0 | |
| | | | | | | | | | | | | | | | | | This doesn't seem to be needed anymore. | |||||
| | * | | | tor-keymgr: Remove now-unnecessary clippy allows from dummy impl. | Gabriela Moldovan | 2024-11-20 | 1 | -2/+0 | |
| | | | | | ||||||
| | * | | | tor-keymgr: Feature-gate RelKeyPath::from_parts constructor. | Gabriela Moldovan | 2024-11-20 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Otherwise, we get a dead code warning when the `ctor-keystore` feature is disabled. | |||||
| | * | | | tor-keymgr: Allow dead code in dummy KeyMgr. | Gabriela Moldovan | 2024-11-20 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fields are never read but need to be present in order for the dummy `KeyMgrBuilder` to have the same interface as the real one. (We could of course manually implement the builder, or let the dummy `KeyMgrBuilder` impl diverge from the real one, but for now let's leave this as-is and simply mark the fields as unused). | |||||
| | * | | | tor-keymgr: Remove unused dummy error type. | Gabriela Moldovan | 2024-11-20 | 1 | -16/+1 | |
| | | | | | | | | | | | | | | | | | | | | | We no longer have any dummy keymgr operations that return an error, so this error type is unused. | |||||
| | * | | | tor-keymgr: Remove unused imports from dummy module. | Gabriela Moldovan | 2024-11-20 | 1 | -2/+1 | |
| | | | | | ||||||
| | * | | | tor-keymgr: Remove unused dummy KeyType. | Gabriela Moldovan | 2024-11-20 | 1 | -14/+0 | |
| | | | | | | | | | | | | | | | | | This is not used anywhere (or exported publicly). | |||||
| * | | | | Merge branch 'connect-point-1' into 'main' | Nick Mathewson | 2024-11-20 | 13 | -27/+1648 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Begin implementation work on RPC connect points See merge request tpo/core/arti!2629 | |||||
| | * | | | connect point: Use new CfgPathResolver api. | Nick Mathewson | 2024-11-19 | 1 | -12/+22 | |
| | | | | | ||||||
| | * | | | connect point: handle unrecognized auth variants. | Nick Mathewson | 2024-11-19 | 3 | -6/+39 | |
| | | | | | ||||||
| | * | | | Connect point: Improve robustness against new SocketAddr variants | Nick Mathewson | 2024-11-19 | 1 | -2/+10 | |
| | | | | | ||||||
| | * | | | connect point: add a test for ConflictingMembers. | Nick Mathewson | 2024-11-19 | 1 | -0/+13 | |
| | | | | | ||||||
| | * | | | connect-point: Rename Reps to Addresses. | Nick Mathewson | 2024-11-19 | 1 | -7/+7 | |
| | | | | | ||||||
| | * | | | connect point: Add server support. | Nick Mathewson | 2024-11-19 | 2 | -0/+71 | |
| | | | | | | | | | | | | | | | | | | | | | ("Server support" here means binding to a socket and reading a cookie file.) | |||||
| | * | | | connect point: Add client support. | Nick Mathewson | 2024-11-19 | 3 | -0/+182 | |
| | | | | | | | | | | | | | | | | | | | | | ("Client support" here means connecting to a socket and reading a cookie file.) | |||||
| | * | | | connect point: Treat unrecognized auth types as Decline. | Nick Mathewson | 2024-11-19 | 1 | -0/+9 | |
| | | | | | ||||||
| | * | | | connect points: Validate more correctness properties | Nick Mathewson | 2024-11-19 | 1 | -4/+23 | |
| | | | | | | | | | | | | | | | | | | | | | In particular, we only allow binding/connecting to localhost, and we only support None auth for Unix connections. | |||||
| | * | | | connect points: Remember original string addresses | Nick Mathewson | 2024-11-19 | 3 | -6/+61 | |
| | | | | | | | | | | | | | | | | | The cookie authentication protocol will need these. | |||||
| | * | | | rpc-connect: Types for cookie authentication. | Nick Mathewson | 2024-11-19 | 4 | -1/+193 | |
| | | | | | | | | | | | | | | | | | (Cookie authentication is described in rpc-cookie-sketch.md) | |||||
| | * | | | rpc-connect: Move tempdir() helper to a new module | Nick Mathewson | 2024-11-19 | 3 | -17/+36 | |
| | | | | | ||||||
| | * | | | RPC connect points: Facility to load from files. | Nick Mathewson | 2024-11-19 | 4 | -1/+427 | |
| | | | | | ||||||
| | * | | | connect point: implement FromStr. | Nick Mathewson | 2024-11-19 | 1 | -17/+58 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While doing so, tidy up the errors that we detect when parsing a connect point, so that we can differentiate ones that indicate an unsupported connect-point type. This means that fewer types now implement Deserialize; that's probably a good thing. | |||||
| | * | | | tor-connect-point: new crate to manage RPC connect points | Nick Mathewson | 2024-11-19 | 6 | -27/+558 | |
| | | | | | | | | | | | | | | | | | See doc/dev/rpc-book/src/rpc-connect-sketch.md for details. | |||||
| | * | | | CfgAddr: Function to check whether substitutions apply | Nick Mathewson | 2024-11-19 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | We'll need this for implementing the connect point logic. | |||||
| | * | | | tor-config-path: Note an unused error variant | Nick Mathewson | 2024-11-19 | 1 | -0/+2 | |
| |/ / / | ||||||
| * | | | Merge branch 'config-paths' into 'main' | opara | 2024-11-18 | 17 | -213/+484 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-config-path: refactor to support a `CfgPathResolver` See merge request tpo/core/arti!2615 | |||||
