| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-hsclient: Add an allow for a deliberately-unused variable | Ian Jackson | 2023-06-21 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-hsclient: Omit some unussed struct fields in patterns | Ian Jackson | 2023-06-21 | 1 | -2/+2 | |
| |/ | | | | | For the arms that have a fixed retry time, or a fixed ErrorKind, dont't bind the unused inner error. | |||||
| * | Merge branch 'netdoc-todos' into 'main' | Nick Mathewson | 2023-06-16 | 1 | -0/+2 | |
| |\ | | | | | | | | | Resolve many TODO HS items in tor-netdoc See merge request tpo/core/arti!1251 | |||||
| | * | hsclient: note that we should check revctr. | Nick Mathewson | 2023-06-16 | 1 | -0/+2 | |
| | | | ||||||
| * | | keymgr: Move the HS client and service key specifiers out of tor-keymgr. | Gabriela Moldovan | 2023-06-15 | 4 | -2/+83 | |
| | | | | | | | | | | | | | The HS `HsClientSpecifier` and `HsClientSecretKeySpecifier` are moved to `tor-hsclient`. The HS service secret key specifier stubs are moved to `tor-hsservice`. | |||||
| * | | hsclient: Change builder error return type to ConfigBuildError. | Gabriela Moldovan | 2023-06-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | It's not perfectly clear what this error type should be, so let's use `ConfigBuildError` for now (it makes things easier in `arti-client`, as we already have an `ErrorDetail` for it). | |||||
| * | | tor-hsclient: Make Untried a {}-less unit | Ian Jackson | 2023-06-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1247#note_2912642 It's unlikely this will grow any content, so fine. | |||||
| * | | tor-hsclient: Insert a blank line | gabi-250 | 2023-06-15 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-hsclient: Docs improvements. | gabi-250 | 2023-06-15 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-hsclient: Remove two done TODOs | Ian Jackson | 2023-06-15 | 1 | -2/+0 | |
| | | | ||||||
| * | | tor-hsclient: provide intro_index accessor for FailedAttemptError (xref) | Ian Jackson | 2023-06-15 | 1 | -1/+2 | |
| | | | | | | | | | Add a cross-reference to docs arising from MR comments in !1246. | |||||
| * | | tor-hsclient: Actually store our IPT experiences | Ian Jackson | 2023-06-15 | 1 | -7/+42 | |
| | | | ||||||
| * | | tor-hsclient: intro_rend_connect: bind `outcome` | Ian Jackson | 2023-06-15 | 1 | -3/+3 | |
| | | | | | | | | | This will be used in a moment. | |||||
| * | | tor-hsclient: Actually choose which intro points to use | Ian Jackson | 2023-06-15 | 1 | -3/+75 | |
| | | | | | | | | | | | Right now this just always chooses randomly because nothing stores anything in the HashMap. | |||||
| * | | tor-hsclient: Introduce RelayIdForExperience | Ian Jackson | 2023-06-15 | 1 | -9/+37 | |
| | | | | | | | | | | | Wrap this up in a newtype so we don't accidentally use it for anything else. Provide two constructors, one for storing and one for lookups. | |||||
| * | | tor-hsclient: Add random sort key to UsableIpt | Ian Jackson | 2023-06-15 | 1 | -0/+6 | |
| | | | ||||||
| * | | tor-hsclient: provide intro_index accessor for FailedAttemptError | Ian Jackson | 2023-06-15 | 2 | -1/+24 | |
| | | | ||||||
| * | | tor-hsclient: InvalidTarget::ImpossibleRelayIds is RetryTime::Never | Ian Jackson | 2023-06-14 | 1 | -1/+1 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1246#note_2912105 | |||||
| * | | tor-hsclient: Correction to HasRetryTime for InvalidTarget doc | Nick Mathewson | 2023-06-14 | 1 | -1/+2 | |
| | | | ||||||
| * | | tor-hsclient: Add doc for HasKind for FailedAttemptError | Ian Jackson | 2023-06-14 | 1 | -0/+16 | |
| | | | | | | | | | | | There is a cross-reference here to code (`IptSortKey`) in another branch that I haven't made an MR for yet. | |||||
| * | | tor-hsclient: Add docs and comments about HasRetryTime for InvalidTarget | Ian Jackson | 2023-06-14 | 1 | -0/+18 | |
| | | | ||||||
| * | | tor-hsclient: impl HasRetryTime for FailedAttemptError | Ian Jackson | 2023-06-14 | 2 | -2/+25 | |
| | | | ||||||
| * | | tor-hsclient: impl HasRetryTime for InvalidTarget | Ian Jackson | 2023-06-14 | 1 | -1/+14 | |
| |/ | ||||||
| * | tor-hsclient: Add some more debugging | Ian Jackson | 2023-06-13 | 1 | -2/+39 | |
| | | ||||||
| * | tor-hsclient: Return the circuit | Ian Jackson | 2023-06-13 | 1 | -4/+1 | |
| | | ||||||
| * | tor-hsclient: Conduct the INTRODUCE1 exchange | Ian Jackson | 2023-06-13 | 2 | -6/+59 | |
| | | ||||||
| * | tor-hsclient: Remove an already-done TODO | Ian Jackson | 2023-06-13 | 1 | -3/+0 | |
| | | | | | Since !1238 we do pass the handshake_state along. | |||||
| * | tor-hsclient: Rename some errors for greater consistency | Ian Jackson | 2023-06-13 | 2 | -15/+15 | |
| | | ||||||
| * | tor-hsclient: Reorder timeout errors to be "less interesting" | Ian Jackson | 2023-06-13 | 1 | -21/+21 | |
| | | | | | | If something *other* than a timeout went wrong, then that is less expected so more interesting. | |||||
| * | tor-hsclient: Improve proto_oneshot docs | Nick Mathewson | 2023-06-13 | 1 | -1/+1 | |
| | | ||||||
| * | tor-hsclient: Pass handshake_state to complete_handcshake (fmt) | Ian Jackson | 2023-06-13 | 1 | -1/+4 | |
| | | ||||||
| * | tor-hsclient: Pass handshake_state to complete_handcshake | Ian Jackson | 2023-06-13 | 1 | -7/+21 | |
| | | | | | | Pass Introduced to complete_handshake. The lack of this was a slip. Add handshake_state to Introduced, and use it. | |||||
| * | tor-hsclient: Add a missing doc | Ian Jackson | 2023-06-13 | 1 | -1/+1 | |
| | | | | | Requested in !1228 but overlooked | |||||
| * | tor-hsclient: Introduce proto_oneshot, to help with message handling (fmt) | Ian Jackson | 2023-06-13 | 1 | -12/+5 | |
| | | ||||||
| * | tor-hsclient: Introduce proto_oneshot, to help with message handling | Ian Jackson | 2023-06-13 | 3 | -57/+120 | |
| | | | | | | This gets rid of a lot of repeated `oneshot::<...<Result, ...>>` and a bit of repeated functional code, etc. | |||||
| * | tor-hsclient: (try to) receive the RENDEZVOUS2 message | Ian Jackson | 2023-06-13 | 2 | -7/+38 | |
| | | ||||||
| * | tor-hsclient: Fix a botched doc comment | Ian Jackson | 2023-06-13 | 1 | -1/+1 | |
| | | ||||||
| * | proto: Convert MsgHandler API to expect a message, not a cell. | Nick Mathewson | 2023-06-12 | 1 | -23/+14 | |
| | | | | | Closes #887. | |||||
| * | hsclient: fill in a lot more introduce/rendezvous logic. | Nick Mathewson | 2023-06-12 | 1 | -4/+146 | |
| | | | | | | | This code tries to fill in some TODO HS code, replacing it with a lot more code with a bunch more TODO HS comments. Hopefully the expansions of the new TODO HS comments should be simpler. | |||||
| * | hsclient: receive rendezvous2 messages too. | Nick Mathewson | 2023-06-12 | 1 | -17/+25 | |
| | | ||||||
| * | hsclient: Move the body of the msg handler into a new function | Nick Mathewson | 2023-06-12 | 1 | -26/+41 | |
| | | ||||||
| * | hsclient: Add a second oneshot to Rendezvous msghandler | Nick Mathewson | 2023-06-12 | 1 | -9/+36 | |
| | | | | | | | On a client's circuit to the rendezvous point, we need to first wait for an `RENDEZVOUS_ESTABLISHED` message, and then for a `RENDEZVOUS2` message. | |||||
| * | hsclient: use hs-client feature in tor-proto. | Nick Mathewson | 2023-06-12 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade async-trait requirement to 1.54 | Nick Mathewson | 2023-06-12 | 1 | -1/+1 | |
| | | | | | | | | | We need the fix from [82d69902], which first appeared in async-trait version 1.54. (Technically we only need this fix in tor-hsclient, but we may as well update our minimal async-trait version everywhere.) [82d69902]: https://github.com/dtolnay/async-trait/commit/82d69902535f5cb7f5d9e1ea4168c64abd496389 | |||||
| * | proto: Have send_control_message take an AnyRelayMsg. | Nick Mathewson | 2023-06-09 | 1 | -6/+6 | |
| | | | | | | | | | | | When we break the 1:1 relationship of message and cell, we'll want this API to take messages, not cells. This API is experimental, so we don't need to call it a semver break. Closes #881. | |||||
| * | tor-hsclient: Use send_control_message properly (fmt) | Ian Jackson | 2023-06-09 | 1 | -10/+10 | |
| | | | | | This re-indents the body of the trapping IEFE. | |||||
| * | tor-hsclient: Use send_control_message properly | Ian Jackson | 2023-06-09 | 1 | -14/+18 | |
| | | | | | | | | | | | The comment was entirely wrong. send_control_message returns as soon as the message has been enqueued. So we actually *need* to wait for the oneshot. Also, given that a circuit collapse doesn't give us a real error, we plumb the error through the oneshot. Introduce an IEFE to capture the error from the decoding. | |||||
| * | tor-hsclient: Obtain reply_tx earlier | Ian Jackson | 2023-06-09 | 1 | -3/+5 | |
| | | | | | | | No functional change other than to error cases. Will fit better with code to come in a moment. | |||||
| * | tor-hsclient: Break out handle_proto_error | Ian Jackson | 2023-06-09 | 1 | -4/+6 | |
| | | | | | We're going to want to reuse this. | |||||
| * | tor-hsclient: Add TODO for broken send_control_message use | Ian Jackson | 2023-06-09 | 1 | -0/+1 | |
| | | ||||||
