| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | tor-hsclient: Allow dead code for now | Ian Jackson | 2023-06-09 | 1 | -0/+2 | |
| | | | | | | | | | | | | | The dead code warnings are a nuisance while this file is half-written. | |||||
| * | | | tor-hsclient: Mocks: Add get_or_launch_client_rend to mock pool | Ian Jackson | 2023-06-09 | 1 | -0/+19 | |
| | | | | | | | | | | | | | This has the wrong return type at the moment. | |||||
| * | | | tor-hsclient: Mock trait: use actual HsCircPool in non-mock impl | Ian Jackson | 2023-06-09 | 1 | -5/+6 | |
| | | | | | | | | | | | | | The impl was in terms of itself. Sadly, nothing warns about this bug. | |||||
| * | | | tor-hsclient: impl HasKind for InvalidTarget: ..DescriptorValidationFailed | Ian Jackson | 2023-06-09 | 2 | -3/+11 | |
| | | | | | | | | | | | | | | | | | | | This basically always means we couldn't cope with the descriptor. We need to extend the description of OnionServiceDescriptorValidationFailed | |||||
| * | | | tor-error: Introduce define_asref_dyn_std_error and use it | Ian Jackson | 2023-06-09 | 2 | -9/+19 | |
| | | | | | | | | | | | | | | | | This factors out an ad-hoc AsRef impl. We're going to want to reuse this for another error type. | |||||
| * | | | tor-hsclient: Have descriptor_ensure take only &mut data.desc | Ian Jackson | 2023-06-09 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | | It returns a borrow (so whatever is passed remains borrowed) and the next phase is going to need to perhaps mutate other parts of data, so we must pass only what is needed. | |||||
| * | | | tor-hsclient: Move &mut Data out of Context, and pass &Context (fmt) | Ian Jackson | 2023-06-09 | 1 | -9/+1 | |
| | | | | ||||||
| * | | | tor-hsclient: Move &mut Data out of Context, and pass &Context | Ian Jackson | 2023-06-09 | 1 | -19/+12 | |
| | | | | | | | | | | | | | | | | | | | Now Context can be usefully shared, across different threads/tasks/functions, so long as only one of them needs to modify `Data`. | |||||
| * | | | tor-hsclient: export InvalidTarget | Ian Jackson | 2023-06-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | | It's going to appear in our public errors. | |||||
| * | | | tor-hsclient: Add a TODO for InvalidTarget error | Ian Jackson | 2023-06-09 | 1 | -0/+4 | |
| | | | | ||||||
| * | | | Merge branch 'report-trait-doc-fix' into 'main' | Alexander Færøy | 2023-06-09 | 2 | -0/+107 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Expand arti-client docs to include error reporting section See merge request tpo/core/arti!1213 | |||||
| | * | | | Rephrase error handling to reporting | Saksham Mittal | 2023-06-08 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | Add error handling section in README | Saksham Mittal | 2023-06-08 | 1 | -0/+40 | |
| | | | | | ||||||
| | * | | | Add separate example with Report | Saksham Mittal | 2023-06-08 | 1 | -0/+67 | |
| | |/ / | ||||||
| * | | | Merge branch 'warning' into 'main' | Alexander Færøy | 2023-06-09 | 1 | -0/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Fix a silly clippy warning See merge request tpo/core/arti!1226 | |||||
| | * | | | Fix a silly clippy warning | Ian Jackson | 2023-06-08 | 1 | -0/+1 | |
| | |/ / | | | | | | | | | | | | | Fixes nailing-cargo +stable clippy -p tor-hsclient --all-features --all-targets | |||||
| * | | | tor-hscrypto: implement Rng.gen() for RendCookie | Ian Jackson | 2023-06-09 | 2 | -0/+7 | |
| | | | | ||||||
| * | | | tor-hscrypto: Break out REND_COOKIE_LEN | Ian Jackson | 2023-06-09 | 1 | -1/+4 | |
| | |/ |/| | | | | | We need to reuse this. | |||||
| * | | Merge branch 'hsclient-feature' into 'main' | Alexander Færøy | 2023-06-08 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | | | | | hs: Fix a feature name in arti-client See merge request tpo/core/arti!1222 | |||||
| | * | | hs: Fix a feature name in arti-client | Nick Mathewson | 2023-06-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | In arti-client it's called "onion-client", not "hs-client". | |||||
| * | | | Expand docs for NetDirProvider | Ian Jackson | 2023-06-08 | 1 | -0/+7 | |
| | |/ |/| | | | | | | | | | | | | | Apropos a question that arose on IRC, to which I felt the answer wasn't 100% unambiguous. Also, reference the usual implementation (it can't be a link because it's an upward reference). | |||||
| * | | Merge branch 'ipt_to_circtarget' into 'main' | Nick Mathewson | 2023-06-07 | 7 | -1/+158 | |
| |\ \ | |/ |/| | | | | | Construct a CircTarget from an IntroPointDesc. See merge request tpo/core/arti!1221 | |||||
| | * | hsclient: Create a CircTarget from an IntroPointDesc. | Nick Mathewson | 2023-06-07 | 3 | -1/+103 | |
| | | | | | | | | | | | The main body of this function is written so that we can later use it to create a CircTarget from an INTRODUCE2 message. | |||||
| | * | netdir, netdoc: Add accessors for protocol version status. | Nick Mathewson | 2023-06-06 | 4 | -0/+55 | |
| | | | | | | | | | | | | | | | | | | | | | | | The consensus includes a listing for clients and for relays, saying which protocol versions are _required_ for participation on the network, and which versions are _recommended_. We have been parsing this, but not yet exposing it. This commit adds accessors to expose it, since we'll need that in order to create CircTargets for introduction points and rendezvous points. | |||||
| * | | Merge branch 'access' into 'main' | Alexander Færøy | 2023-06-06 | 1 | -4/+69 | |
| |\| | | | | | | | | | hsdesc docs: Provide some accessors See merge request tpo/core/arti!1220 | |||||
| | * | hsdesc: Add minimal set of accessors for HsDesc and IntroPointDesc | Ian Jackson | 2023-06-05 | 1 | -0/+65 | |
| | | | ||||||
| | * | hsdesc docs: Don't imply that a thing has been done, which hasn't yet | Ian Jackson | 2023-06-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | hsdesc docs: Use the definite article | Ian Jackson | 2023-06-05 | 1 | -3/+3 | |
| | | | | | | | | | | | These are (I hope) the only key matching the description. If they're not, the description needs to be expanded. | |||||
| * | | Merge branch 'remove_arrayref' into 'main' | Nick Mathewson | 2023-06-06 | 16 | -55/+64 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Remove use of arrayref Closes #872 See merge request tpo/core/arti!1214 | |||||
| | * | | tor-cell: remove use of arrayref | Nick Mathewson | 2023-06-01 | 3 | -7/+16 | |
| | | | | | | | | | | | | | Closes #872 | |||||
| | * | | tor-llcrypto: remove use of arrayref | Nick Mathewson | 2023-06-01 | 4 | -19/+15 | |
| | | | | ||||||
| | * | | tor-netdoc: remove use of arrayref. | Nick Mathewson | 2023-06-01 | 2 | -4/+7 | |
| | | | | ||||||
| | * | | tor-proto: Remove use of arrayref. | Nick Mathewson | 2023-06-01 | 3 | -5/+10 | |
| | | | | ||||||
| | * | | tor-bytes: Remove use of arrayref | Nick Mathewson | 2023-05-25 | 4 | -20/+16 | |
| | | | | | | | | | | | | | | | | Part of #872: Now that const generics are in, we have better ways to express converting slices into array-references. | |||||
| * | | | arti: Interpret socks request to mean "lookup an RPC session" | Nick Mathewson | 2023-06-05 | 2 | -14/+106 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual decoding here is just a placeholder. The important part is that we can get either a (SessionId, StreamId) tuple out of the request, or we treat it as part of an isolation token. This commit has a few TODOs for additional things that we'll need in order to build out our design. | |||||
| * | | | arti: Move SOCKS code for building StreamPrefs and getting a TorClient. | Nick Mathewson | 2023-06-05 | 1 | -12/+25 | |
| | | | | ||||||
| * | | | arti: Add an alias in the SOCKS code for per-conn isolatino info. | Nick Mathewson | 2023-06-05 | 1 | -4/+10 | |
| | | | | | | | | | | | | | This enables some small simplifications. | |||||
| * | | | RPC: Note a possible API change in RpcMgr::new. | Nick Mathewson | 2023-06-05 | 1 | -0/+4 | |
| | | | | ||||||
| * | | | RPC: Make Session objects get a GlobalId. | Nick Mathewson | 2023-06-05 | 1 | -1/+7 | |
| | | | | ||||||
| * | | | RPC: tell the `arti` SOCKS code about an RpcMgr object. | Nick Mathewson | 2023-06-05 | 3 | -23/+78 | |
| | | | | | | | | | | | | | | | | It will use this to find which TorClient to use when opening a stream. | |||||
| * | | | RPC: Give out and accept GlobalIds for appropriate objects. | Nick Mathewson | 2023-06-05 | 3 | -11/+86 | |
| | | | | ||||||
| * | | | RPC: Let objects declare that they need a GlobalId. | Nick Mathewson | 2023-06-05 | 1 | -1/+17 | |
| | | | | ||||||
| * | | | RPC: Implement a "global identifier" for non-session-bound IDs | Nick Mathewson | 2023-06-05 | 5 | -8/+299 | |
| | | | | | | | | | | | | | | | | | | | | | | These identifiers are actually only "global" with respect to a given `RpcMgr`, but they should not be forgeable or reusable across RpcMgr objects. We're going to use them so that we have a kind of identifier for `TorClient`s that we can expose to SOCKS. | |||||
| * | | | rpc: Slightly refactor GenIdx encoding. | Nick Mathewson | 2023-06-05 | 3 | -17/+27 | |
| | | | | ||||||
| * | | | rpc: Give RpcMgr a registry of connections. | Nick Mathewson | 2023-06-05 | 3 | -5/+68 | |
| | | | | | | | | | | | | | | | | We're going to use this to implement arti#863, which requires that some RPC objects be globally nameable. | |||||
| * | | | rpc: Move Arc::new() to RpcMgr code. | Nick Mathewson | 2023-06-05 | 2 | -4/+4 | |
| | | | | ||||||
| * | | | tor-circmgr: send_control_message: Add reference to MR discussion | Ian Jackson | 2023-06-05 | 1 | -0/+2 | |
| | | | | ||||||
| * | | | tor-circmgr: send_control_message: Change a rename proposal | Ian Jackson | 2023-06-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1218#note_2908119 | |||||
| * | | | tor-circmgr: send_control_message: Fix reference to circuit | Ian Jackson | 2023-06-05 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tor-circmgr: send_control_message: API change proposal | Ian Jackson | 2023-06-05 | 1 | -0/+21 | |
| | | | | | | | | | | | | | | | | | | | I am hoping we can merge this as a "TODO (Diziet)", even though I think it may be controversial. Ie merging this doesn't represent a decision to do as I suggest. | |||||
