| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Run "fixup-features". | Nick Mathewson | 2023-06-29 | 1 | -1/+4 | |
| | | ||||||
| * | hsclient: Make HsClientSpecifier a newtype instead of a type alias. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+11 | |
| | | ||||||
| * | arti-client, hsclient: Typealias HsClientSpecifier to ArtiPathComponent. | Gabriela Moldovan | 2023-06-29 | 1 | -25/+2 | |
| | | | | | `ArtiPathComponent` is a more generic version of `HsClientSpecifier`. | |||||
| * | Merge branch 'timeouts' into 'main' | Ian Jackson | 2023-06-29 | 1 | -16/+109 | |
| |\ | | | | | | | | | tor-hsclient: Use estimated timeouts See merge request tpo/core/arti!1342 | |||||
| | * | tor-hsclient: Add some notes about timeouts and hops | Ian Jackson | 2023-06-29 | 1 | -0/+8 | |
| | | | ||||||
| | * | tor-hsclient: Use estimated timeouts for introduction and rendezvous (fmt) | Ian Jackson | 2023-06-29 | 1 | -2/+6 | |
| | | | ||||||
| | * | tor-hsclient: Use estimated timeouts for introduction and rendezvous | Ian Jackson | 2023-06-29 | 1 | -12/+44 | |
| | | | | | | | | | Replacing RPT_IPT_TIMEOUT is not entirely straightforward. | |||||
| | * | tor-hsclient: Use estimated timeout for hsdir fetches (fmt) | Ian Jackson | 2023-06-29 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-hsclient: Use estimated timeout for hsdir fetches | Ian Jackson | 2023-06-29 | 1 | -5/+7 | |
| | | | ||||||
| | * | tor-hsclient: Provide bodge constant for circuit length | Ian Jackson | 2023-06-29 | 1 | -0/+11 | |
| | | | ||||||
| | * | tor-hsclient: Plumb timeout estimation machinery | Ian Jackson | 2023-06-29 | 1 | -0/+36 | |
| | | | ||||||
| * | | Merge branch 'maxintro3' into 'main' | Ian Jackson | 2023-06-29 | 1 | -4/+0 | |
| |\ \ | |/ |/| | | | | | tor-netdoc: Handle anomalous numbers of introduction points See merge request tpo/core/arti!1332 | |||||
| | * | tor-netdoc: Reject hsdescs with no intro points | Ian Jackson | 2023-06-28 | 1 | -4/+0 | |
| | | | | | | | | | None of the existing NetdocErrorKinds seemed right. | |||||
| * | | Merge branch 'debug' into 'main' | Ian Jackson | 2023-06-29 | 1 | -15/+12 | |
| |\ \ | | | | | | | | | | | | | tor-hsclient: Reimplement Debug for MockCirc See merge request tpo/core/arti!1324 | |||||
| | * | | tor-hsclient: Reimplement Debug for MockCirc | Ian Jackson | 2023-06-29 | 1 | -15/+12 | |
| | | | | | | | | | | | | | | | | This is less code. Also it now dumps the connect_called field which was introduced in the meantime. | |||||
| * | | | Merge branch 'circparams' into 'main' | Ian Jackson | 2023-06-29 | 1 | -2/+2 | |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | tor-hsclient: Use proper CircParameters Closes #935 See merge request tpo/core/arti!1340 | |||||
| | * | | tor-hsclient: Use proper CircParameters | Ian Jackson | 2023-06-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | Fixes #935 | |||||
| * | | | Merge branch 'handshake-error' into 'main' | Nick Mathewson | 2023-06-29 | 2 | -31/+59 | |
| |\| | | | | | | | | | | | | | | tor-hsclient: Handle handshake completion error correctly See merge request tpo/core/arti!1336 | |||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messages (fmt) | Ian Jackson | 2023-06-29 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | tor-hsclient: err: Rename to RendezvousCompletionCircuitError | Ian Jackson | 2023-06-29 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | Thsi is a bit of a mouthful now, but it is comprehensible. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917235 | |||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messages | Ian Jackson | 2023-06-29 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: err: Move doc comment to correct impl | Ian Jackson | 2023-06-29 | 1 | -17/+17 | |
| | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917236 | |||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 | Ian Jackson | 2023-06-29 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: err: Reword comments about error | Ian Jackson | 2023-06-29 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Handle handshake completion error correctly | Ian Jackson | 2023-06-28 | 2 | -6/+31 | |
| | | | | ||||||
| | * | | tor-hsclient: Rename RendezvousCompletionCircuit from RendezvousCompletion | Ian Jackson | 2023-06-28 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | We need to handle errors during the handshake. That also produces a `tor_proto::Error` but we want to print a different message for that, so let's rename this before adding the new variant. | |||||
| | * | | tor-hsclient: Move handling of Bug to new section | Ian Jackson | 2023-06-28 | 1 | -1/+2 | |
| | |/ | | | | | | | It was wrong where ti was. | |||||
| * | | tor-hsclient: Make RendPtIdentityForError use RelayIds | Ian Jackson | 2023-06-28 | 1 | -6/+3 | |
| | | | | | | | | | Since arti!1233 this is trivial. | |||||
| * | | tor-hsclient: Use RendPtIdentityForError in more places | Ian Jackson | 2023-06-28 | 1 | -4/+4 | |
| |/ | | | | | For some reason this wasn't used in the actual errors, although it *was* used in the types of the functions etc. | |||||
| * | Merge branch 'reuse' into 'main' | Ian Jackson | 2023-06-28 | 1 | -1/+17 | |
| |\ | | | | | | | | | tor-hsclient: Discuss intro circuit extend-and-reuse See merge request tpo/core/arti!1298 | |||||
| | * | tor-hsclient: Add a TODO SPEC re HS intro extend-and-reuse | Ian Jackson | 2023-06-23 | 1 | -0/+2 | |
| | | | ||||||
| | * | tor-hsclient: Discuss intro circuit extend-and-reuse | Ian Jackson | 2023-06-23 | 1 | -1/+15 | |
| | | | | | | | | | This is a summary of a discussion I had on IRC. | |||||
| * | | HS timeout parameters: Restore some TODOs | Ian Jackson | 2023-06-28 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | Conceptually this is a fixup to HS configuration: Add retry parameters to configuration which erroneously removed these comments - they were intended to apply to *all* these parameters, not just the max attempts. Not marking it as fixup! because that would involve merge conflicts. | |||||
| * | | HS configuration: Use configured maximum attempts - comment | Ian Jackson | 2023-06-28 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | Explain why this fallback to MAX is good. Discussion https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1305#note_2915927 | |||||
| * | | HS configuration: Use configured maximum attempts (fmt) | Ian Jackson | 2023-06-28 | 1 | -4/+12 | |
| | | | ||||||
| * | | HS configuration: Use configured maximum attempts | Ian Jackson | 2023-06-28 | 1 | -10/+9 | |
| | | | ||||||
| * | | HS configuration: Plumb configuration through (fmt) | Ian Jackson | 2023-06-28 | 2 | -10/+25 | |
| | | | | | | | | | Apply deferred rustfmt churn. | |||||
| * | | HS configuration: Plumb configuration through | Ian Jackson | 2023-06-28 | 4 | -6/+64 | |
| | | | | | | | | | | | Invent a trait a la circmgr config for the hs client connector config. Plumb a suitable value all the way through to the code that will use it. | |||||
| * | | HS configuration: Add retry parameters to configuration | Ian Jackson | 2023-06-28 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | I think these should go in `[circuit_timing]`. That section already has some retry parameters, so is not strictly *timing*. This is not honoured yet. | |||||
| * | | tor-hsclient: Completely hide hsdir identities in errors | Ian Jackson | 2023-06-28 | 2 | -7/+6 | |
| | | | ||||||
| * | | hsclient: Use HsDescDownloadRequest::set_max_len. | Nick Mathewson | 2023-06-27 | 1 | -1/+12 | |
| | | | ||||||
| * | | tor-hsclient: Increase some timeouts | Ian Jackson | 2023-06-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | 1. Fix a use of 10ms that should have been TIMEOUT_SLOP. 2. Increase BODGE_YIELD by a factor of 5. Now this test should tolerate being hung up for 125ms. I am hoping that this will fix the CI failure https://gitlab.torproject.org/Diziet/arti/-/jobs/302457 which fails at the line comparing circuit1 with circuit2a. (I can't repro that locally.) | |||||
| * | | tor-hsclient: test: Introduce some constants for timings | Ian Jackson | 2023-06-26 | 1 | -5/+16 | |
| | | | ||||||
| * | | tor-hsclient: test: Add another sleep for expiry task *start* | Ian Jackson | 2023-06-26 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | Without this, the expiry task can end up choosing a 600s timeout starting *after we advanced the clock*. Fixes #923 | |||||
| * | | tor-hsclient: impl Debug by hand for MockCirc | Ian Jackson | 2023-06-26 | 1 | -1/+18 | |
| | | | | | | | | | | | | | | | | | The provided impl for Mutex is hopeless: it prints just some internal flags and doesn't acquire the mutex for printing purposes. At some point we might want to factor this out as a general function on `Arc<Mutex<...>>` but not now. | |||||
| * | | Merge branch 'upgrade-itertools' into 'main' | gabi-250 | 2023-06-26 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | | | | | Upgrade to itertools 0.11.0 See merge request tpo/core/arti!1306 | |||||
| | * | | Upgrade to itertools 0.11.0 | Nick Mathewson | 2023-06-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | The breaking changes here do not seem to affect us. | |||||
| * | | | Merge branch 'data' into 'main' | Ian Jackson | 2023-06-26 | 3 | -11/+121 | |
| |\ \ \ | |/ / |/| | | | | | | | | tor-hsclient: Expire old IPT and HS descriptor data eventually See merge request tpo/core/arti!1290 | |||||
| | * | | tor-hsclient: Split out expire_old_data function | Ian Jackson | 2023-06-26 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | As per discussion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1290#note_2915679 | |||||
| | * | | tor-hsclient: Add a comment about what run_housekeeping does | Ian Jackson | 2023-06-26 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1290#note_2915679 | |||||
