aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-hsclient: Add a TODO for InvalidTarget errorIan Jackson2023-06-091-0/+4
|/ / /
* | | Merge branch 'report-trait-doc-fix' into 'main'Alexander Færøy2023-06-092-0/+107
|\ \ \ | | | | | | | | | | | | | | | | Expand arti-client docs to include error reporting section See merge request tpo/core/arti!1213
| * | | Rephrase error handling to reportingSaksham Mittal2023-06-081-2/+2
| | | |
| * | | Add error handling section in READMESaksham Mittal2023-06-081-0/+40
| | | |
| * | | Add separate example with ReportSaksham Mittal2023-06-081-0/+67
| |/ /
* | | Merge branch 'warning' into 'main'Alexander Færøy2023-06-091-0/+1
|\ \ \ | | | | | | | | | | | | | | | | Fix a silly clippy warning See merge request tpo/core/arti!1226
| * | | Fix a silly clippy warningIan Jackson2023-06-081-0/+1
| |/ / | | | | | | | | | | | | Fixes nailing-cargo +stable clippy -p tor-hsclient --all-features --all-targets
* | | Merge branch 'cookie' into 'main'Ian Jackson2023-06-093-1/+12
|\ \ \ | |_|/ |/| | | | | | | | Implent Rng.gen() for RendCookie See merge request tpo/core/arti!1227
| * | tor-hscrypto: implement Rng.gen() for RendCookieIan Jackson2023-06-093-0/+8
| | |
| * | tor-hscrypto: Break out REND_COOKIE_LENIan Jackson2023-06-091-1/+4
|/ / | | | | | | We need to reuse this.
* | Merge branch 'hsclient-feature' into 'main'Alexander Færøy2023-06-081-1/+1
|\ \ | | | | | | | | | | | | hs: Fix a feature name in arti-client See merge request tpo/core/arti!1222
| * | hs: Fix a feature name in arti-clientNick Mathewson2023-06-071-1/+1
| | | | | | | | | | | | In arti-client it's called "onion-client", not "hs-client".
* | | Merge branch 'netdir' into 'main'Nick Mathewson2023-06-081-0/+7
|\ \ \ | |_|/ |/| | | | | | | | Expand docs for NetDirProvider See merge request tpo/core/arti!1224
| * | Expand docs for NetDirProviderIan Jackson2023-06-081-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 Mathewson2023-06-078-1/+159
|\ \ | |/ |/| | | | | Construct a CircTarget from an IntroPointDesc. See merge request tpo/core/arti!1221
| * hsclient: Create a CircTarget from an IntroPointDesc.Nick Mathewson2023-06-074-1/+104
| | | | | | | | | | 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 Mathewson2023-06-064-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øy2023-06-061-4/+69
|\| | | | | | | | | hsdesc docs: Provide some accessors See merge request tpo/core/arti!1220
| * hsdesc: Add minimal set of accessors for HsDesc and IntroPointDescIan Jackson2023-06-051-0/+65
| |
| * hsdesc docs: Don't imply that a thing has been done, which hasn't yetIan Jackson2023-06-051-1/+1
| |
| * hsdesc docs: Use the definite articleIan Jackson2023-06-051-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 Mathewson2023-06-0617-66/+64
|\ \ | | | | | | | | | | | | | | | | | | Remove use of arrayref Closes #872 See merge request tpo/core/arti!1214
| * | tor-cell: remove use of arrayrefNick Mathewson2023-06-014-14/+16
| | | | | | | | | | | | Closes #872
| * | tor-llcrypto: remove use of arrayrefNick Mathewson2023-06-015-20/+15
| | |
| * | tor-netdoc: remove use of arrayref.Nick Mathewson2023-06-013-5/+7
| | |
| * | tor-proto: Remove use of arrayref.Nick Mathewson2023-06-014-6/+10
| | |
| * | tor-bytes: Remove use of arrayrefNick Mathewson2023-05-255-21/+16
| | | | | | | | | | | | | | | Part of #872: Now that const generics are in, we have better ways to express converting slices into array-references.
* | | Merge branch 'rpc_session_registry' into 'main'Nick Mathewson2023-06-0613-72/+724
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Incomplete branch to implement an RPC session registry and link SOCKS streams to RPC Closes #863 See merge request tpo/core/arti!1208
| * | | arti: Interpret socks request to mean "lookup an RPC session"Nick Mathewson2023-06-053-14/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Mathewson2023-06-051-12/+25
| | | |
| * | | arti: Add an alias in the SOCKS code for per-conn isolatino info.Nick Mathewson2023-06-051-4/+10
| | | | | | | | | | | | | | | | This enables some small simplifications.
| * | | RPC: Note a possible API change in RpcMgr::new.Nick Mathewson2023-06-051-0/+4
| | | |
| * | | RPC: Make Session objects get a GlobalId.Nick Mathewson2023-06-051-1/+7
| | | |
| * | | RPC: tell the `arti` SOCKS code about an RpcMgr object.Nick Mathewson2023-06-053-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 Mathewson2023-06-053-11/+86
| | | |
| * | | RPC: Let objects declare that they need a GlobalId.Nick Mathewson2023-06-051-1/+17
| | | |
| * | | RPC: Implement a "global identifier" for non-session-bound IDsNick Mathewson2023-06-056-8/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Mathewson2023-06-053-17/+27
| | | |
| * | | rpc: Give RpcMgr a registry of connections.Nick Mathewson2023-06-054-5/+70
| | | | | | | | | | | | | | | | | | | | 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 Mathewson2023-06-052-4/+4
|/ / /
* | | Merge branch 'ctrldoc2' into 'main'Nick Mathewson2023-06-053-2/+4
|\ \ \ | | | | | | | | | | | | | | | | tor-circmgr: send_control_message: Furrher docs changes See merge request tpo/core/arti!1219
| * | | tor-circmgr: send_control_message: Add reference to MR discussionIan Jackson2023-06-051-0/+2
| | | |
| * | | tor-circmgr: send_control_message: Change a rename proposalIan Jackson2023-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1218#note_2908119
| * | | tor-circmgr: send_control_message: Fix reference to circuitIan Jackson2023-06-051-1/+1
| | | |
* | | | Merge branch 'ctrldoc' into 'main'Ian Jackson2023-06-053-7/+59
|\| | | | |_|/ |/| | | | | | | | tor-circmgr: send_control_message: Clarify some corner cases See merge request tpo/core/arti!1218
| * | tor-circmgr: send_control_message: API change proposalIan Jackson2023-06-051-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.
| * | tor-circmgr: Propose to rename `MetaCellDisposition::UninstallHandler`Ian Jackson2023-06-051-0/+4
| | |
| * | tor-circmgr: send_control_message: Clarify some corner casesIan Jackson2023-06-052-7/+34
|/ / | | | | | | | | | | | | | | | | | | | | | | Also, no longer talk about handlers being "installed". That's not something that's exposed by this API. And, say that `send_control_message` can be called again only after *`send_control_message`* returns, not when `handle_msg` has returned `UinstallHandler`. IMO this makes more sense. Explain that we can't maintain a continuous watch while holding a conversation with the peer. (This is surely an API bug.)
* | Merge branch 'cargo-audit-ignore' into 'main'Ian Jackson2023-06-051-0/+3
|\ \ | | | | | | | | | | | | maint/cargo-audit: Ignore RUSTSEC-2023-0040 (the users crate is unmaintained) See merge request tpo/core/arti!1217
| * | maint/cargo-audit: Ignore RUSTSEC-2023-0040 (the users crate is unmaintained)Gabriela Moldovan2023-06-051-0/+3
|/ / | | | | | | Signed-off-by: Gabriela Moldovan <[email protected]>