| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | tor-hsclient: Expand explanation of `last_used` (for Open) | Ian Jackson | 2023-06-22 | 1 | -1/+20 | |
| | | | | ||||||
| | * | | tor-hsclient: Make comment about circuit expiry more accurate | Nick Mathewson | 2023-06-22 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: linkify a URL in a doc comment | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Apply broken formatting as demanded by rustfmt | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Test circuit expiry | Ian Jackson | 2023-06-22 | 1 | -1/+46 | |
| | | | | ||||||
| | * | | tor-hsclient: Expire HS circuits that we don't want to reuse | Ian Jackson | 2023-06-22 | 1 | -4/+128 | |
| | | | | ||||||
| | * | | tor-hsclient: Introduce helper function for locking services table | Ian Jackson | 2023-06-22 | 2 | -14/+17 | |
| | | | | ||||||
| | * | | tor-hsclient: Abolish an obsolete comment | Ian Jackson | 2023-06-22 | 1 | -1/+0 | |
| | |/ | | | | | | | | | | | We don't now handle inability to store by panicking. Like the previous comment says, such situations end up with Err in stored, and that's handled by logging, below. | |||||
| * | | Merge branch 'desc-error' into 'main' | Nick Mathewson | 2023-06-22 | 8 | -129/+141 | |
| |\ \ | | | | | | | | | | | | | Clean up HsDesc error types and stabilize onion-service ErrorKinds See merge request tpo/core/arti!1289 | |||||
| | * | | hsdescerror: Add paragraph breaks to docs. | Nick Mathewson | 2023-06-22 | 1 | -3/+11 | |
| | | | | ||||||
| | * | | netdoc: Use a dev-dependency on anyhow to fix a doc example | Nick Mathewson | 2023-06-22 | 2 | -1/+2 | |
| | | | | ||||||
| | * | | tor-error: Stabilize OnionService error kinds | Nick Mathewson | 2023-06-22 | 1 | -7/+0 | |
| | | | | ||||||
| | * | | tor-error: typo fix in a comment. | Nick Mathewson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Remove onion service descriptor-related errorkinds. | Nick Mathewson | 2023-06-22 | 3 | -52/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | These have been subsumed by other errorkinds, mostly OnionServiceProtocolViolation and TorProtocolViolation. In particular please review the change in tor-hsclient closely; I am not sure about the new errorkinds for the error there. | |||||
| | * | | netdoc: Introduce HsDescError | Nick Mathewson | 2023-06-22 | 5 | -68/+128 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For higher-level HsDesc-related functions, this type indicates where exactly an error occurred. It lets us distinguish decryption errors from parsing errors, and attribute responsibility to the hsdir, the onion service, or the user's lack of encryption. This lets us remove some just-introduced complexity in tor-hsclient. | |||||
| * | | | Merge branch 'circmgr-timeout-est' into 'main' | Nick Mathewson | 2023-06-22 | 4 | -7/+35 | |
| |\ \ \ | | | | | | | | | | | | | | | | | circmgr: New API to expose estimate-based timeouts. See merge request tpo/core/arti!1281 | |||||
| | * | | | circmgr: Now that Action is public, clean it up a little. | Nick Mathewson | 2023-06-22 | 1 | -3/+2 | |
| | | | | | ||||||
| | * | | | circmgr: New API to expose estimate-based timeouts. | Nick Mathewson | 2023-06-22 | 4 | -4/+33 | |
| | | | | | | | | | | | | | | | | | | | | | This will help create good timeout values for various onion-service operations. | |||||
| * | | | | Merge branch 'move-dummy-keymgr-impl' into 'main' | gabi-250 | 2023-06-22 | 13 | -146/+159 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | keymgr: Move dummy keymgr impl from arti-client to tor-keymgr See merge request tpo/core/arti!1269 | |||||
| | * | | | | keymgr: Remove blank line to satisfy maint/cargo_sort. | Gabriela Moldovan | 2023-06-22 | 1 | -1/+0 | |
| | | | | | | ||||||
| | * | | | | keymgr: Make the dummy types non_exhaustive. | Gabriela Moldovan | 2023-06-22 | 1 | -0/+3 | |
| | | | | | | ||||||
| | * | | | | keymgr: Add a TODO regarding missing dummy impls. | Gabriela Moldovan | 2023-06-22 | 1 | -1/+3 | |
| | | | | | | ||||||
| | * | | | | keymgr: Update outdated docs. | Gabriela Moldovan | 2023-06-22 | 1 | -23/+10 | |
| | | | | | | ||||||
| | * | | | | keymgr: Remove outdated TODOs. | Gabriela Moldovan | 2023-06-22 | 1 | -9/+0 | |
| | | | | | | ||||||
| | * | | | | keymgr: Remove unnecessary dummy types. | Gabriela Moldovan | 2023-06-22 | 2 | -19/+4 | |
| | | | | | | | | | | | | | | | | | | | | | We don't need dummy impls for `Error` and `Result`. | |||||
| | * | | | | keymgr: Move dummy implementation to tor-keymgr. | Gabriela Moldovan | 2023-06-22 | 10 | -39/+58 | |
| | | | | | | ||||||
| | * | | | | arti-client: Make all dummy APIs pub. | Gabriela Moldovan | 2023-06-22 | 1 | -10/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | `dummy.rs` will be moved to `tor-keymgr`, which will export everything from the module. | |||||
| | * | | | | arti-client: Add a dummy KeyType. | Gabriela Moldovan | 2023-06-22 | 1 | -0/+3 | |
| | | | | | | ||||||
| | * | | | | keymgr: Remove unnecessary pub(crate). | Gabriela Moldovan | 2023-06-22 | 1 | -5/+5 | |
| | | | | | | ||||||
| | * | | | | keymgr: Define a `keymgr` feature. | Gabriela Moldovan | 2023-06-22 | 2 | -0/+22 | |
| | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | The dummy key manager impl from `arti-client` will be moved to `tor-keymgr` soon. This commit adds a `keymgr` feature flag to `tor-keymgr` which will eventually be used to choose between the real key manager API and the dummy one. | |||||
| * | | | | Merge branch 'proto-better-path' into 'main' | Nick Mathewson | 2023-06-22 | 4 | -86/+218 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better API for getting circuit paths Closes #787 See merge request tpo/core/arti!1286 | |||||
| | * | | | | hspool: Use let-else pattern; our MSRV permits it. | Nick Mathewson | 2023-06-22 | 1 | -6/+2 | |
| | | | | | | ||||||
| | * | | | | proto: Resolve/downgrade some path-related "TODO HS" items | Nick Mathewson | 2023-06-22 | 2 | -4/+6 | |
| | | | | | | ||||||
| | * | | | | proto: Implement Redactable and Display for PathEntry. | Nick Mathewson | 2023-06-22 | 1 | -0/+23 | |
| | | | | | | ||||||
| | * | | | | circmgr: Use path_ref() instead of path(). | Nick Mathewson | 2023-06-22 | 1 | -24/+45 | |
| | | | | | | ||||||
| | * | | | | proto: Add ClientCirc::path_ref(), deprecate path(). | Nick Mathewson | 2023-06-22 | 1 | -13/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new path_ref() method returns an Arc<Path>, which gives a much better API for reasons discussed in the new documentation of path(). (We could just replace path() if we'd prefer, but IMO having path_ref() here isn't so bad.) | |||||
| | * | | | | proto: Make Path and PathEntry at least minimally useful | Nick Mathewson | 2023-06-22 | 1 | -0/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (I'm not 100% sure about having both hops() and iter(). Should I remove one?) | |||||
| | * | | | | proto: Expose an opaque PathEntry. | Nick Mathewson | 2023-06-22 | 3 | -20/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new PathEntry struct wraps the old PathEntry enum, which has been renamed to HopDetail. It's an opaque struct because we want to be able to put new information in the enum as we think best. | |||||
| | * | | | | proto: Make Path public | Nick Mathewson | 2023-06-22 | 2 | -4/+9 | |
| | | | | | | | | | | | | | | | | | | | | | (You can't get one yet or do much with it.) | |||||
| | * | | | | proto: Remove Mutex from Path. | Nick Mathewson | 2023-06-22 | 3 | -17/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now Path is a regular struct with no interior mutability, and we use Arc::make_mut() for the case when we need to add a hop. | |||||
| | * | | | | proto: Move Path into a separate shared mutable structure | Nick Mathewson | 2023-06-22 | 2 | -14/+44 | |
| | | |_|/ | |/| | | | | | | | | | | (We're about to remove the interior mutability from Path.) | |||||
| * | | | | Merge branch 'proto-todos' into 'main' | Nick Mathewson | 2023-06-22 | 5 | -30/+43 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | tor-proto: resolve or defer the easier TODO HS items. See merge request tpo/core/arti!1282 | |||||
| | * | | | proto: Downgrade a comment about unauthenticated SENDMEs | Nick Mathewson | 2023-06-21 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | | | | We never actually need to allow these again; see #914 | |||||
| | * | | | proto::circuit::handshake: downgrade a "TODO HS". | Nick Mathewson | 2023-06-21 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | proto: Put client and service hs_ntor behind individual features | Nick Mathewson | 2023-06-21 | 1 | -5/+17 | |
| | | | | | | | | | | | | | | | | | | | | | This lets us keep the service-side hs-ntor handshake experiemental for now. | |||||
| | * | | | proto: Resolve some hs_ntor "TODO HS" comments. | Nick Mathewson | 2023-06-21 | 1 | -10/+7 | |
| | | | | | ||||||
| | * | | | proto: downgrade some "TODO HS" comments to "HSS" | Nick Mathewson | 2023-06-21 | 2 | -8/+8 | |
| | |/ / | | | | | | | | | | | | | These are all related to issues that will come up for the service side of the onion service implementation. | |||||
| * | | | Merge branch 'socks_errorkinds' into 'main' | Nick Mathewson | 2023-06-22 | 9 | -31/+74 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Generate correct-ish socks5 errors for onion service errors. Closes #736 See merge request tpo/core/arti!1279 | |||||
| | * | | | arti: Resolve TODO HS items related to extended SOCKS5 errors | Nick Mathewson | 2023-06-22 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes an approach discussed in #736: Instead of trying to distinguish INTRO/REND failures perfectly, we instead map our existing ErrorKinds as best we can, in respect to the fact that this distinction is not super important in practice. Closes #736 | |||||
| | * | | | New ErrorKind for invalid onion addresses | Nick Mathewson | 2023-06-22 | 4 | -0/+27 | |
| | | | | | | | | | | | | | | | | | Use this to emit HS_BAD_ADDRESS as appropriate. | |||||
