| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-hsclient: Add an allow to this incomplete code | Ian Jackson | 2023-04-12 | 1 | -0/+1 |
| | | | | | Fixes CI warning. | ||||
| * | hs connect: Add TODOs re improving tests | Ian Jackson | 2023-04-11 | 1 | -0/+3 |
| | | | | | | Aa per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1118#note_2894467 | ||||
| * | hs connect: Add TODO re multiple parallel hsdir requests | Ian Jackson | 2023-04-11 | 1 | -0/+2 |
| | | |||||
| * | hs connect: Improve docs for descriptor_ensure | Ian Jackson | 2023-04-11 | 1 | -1/+7 |
| | | |||||
| * | hs connect: Clarify clientness of Context | Ian Jackson | 2023-04-11 | 1 | -1/+1 |
| | | |||||
| * | hs connect tests: check that we asked exactly one relay | Ian Jackson | 2023-04-11 | 1 | -6/+6 |
| | | |||||
| * | hs connect tests: derive Default for MocksGlobal, and use it | Ian Jackson | 2023-04-11 | 1 | -2/+2 |
| | | |||||
| * | hs connect: Test descriptor download | Ian Jackson | 2023-04-11 | 1 | -0/+120 |
| | | |||||
| * | hs connect: Do circuitry etc. via mocks trait | Ian Jackson | 2023-04-11 | 1 | -7/+59 |
| | | | | | | This doesn't change the text of the functional code, but now the methods are indirected via the Mock* traits. | ||||
| * | hs dirs: Initial cut at descriptor downloading | Ian Jackson | 2023-04-11 | 1 | -7/+193 |
| | | | | | | | | | There are many TODOs here. Some are questions; some are straightforward and can be done in followups. With this code, I am able to reach the eprintln! and todo! with curl --socks5-hostname localhost:9150 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/ | ||||
| * | hs desc: Record a Timebound<HsDesc> (but not really for now) | Ian Jackson | 2023-04-11 | 1 | -6/+10 |
| | | | | | | | | | | We have a local alias of `HsDesc = String` which needs to be got rid of. But, right now the alternative would be to implement all the code for signature checking and decryption of an `HsDesc`, before we can make a test case for the downloader part. | ||||
| * | hs connect: Introduce Context | Ian Jackson | 2023-04-11 | 1 | -13/+91 |
| | | | | | | This will be convenient as the common context for the descriptor download work, and also for testing. | ||||
| * | tor-hsconn: Rename ConnError (from HsClientConnError) | Ian Jackson | 2023-03-30 | 1 | -3/+3 |
| | | | | | | The old name was unwieldy and other crates can just as well name it by the crate scope. | ||||
| * | tor-client: Pass a netdir for each request | Ian Jackson | 2023-03-30 | 1 | -1/+6 |
| | | | | | | This will be more convenient inside tor-hsclient. In arti-client, this mirrors the way TorClient::get_or_launch_exit_circ works. | ||||
| * | Pass HS identity to hsclient connection function | Ian Jackson | 2023-03-28 | 1 | -1/+4 |
| | | | | | Obviously it will need this! | ||||
| * | hsclient state: Rename rechecks (from attempts) and add clarifying docs | Ian Jackson | 2023-03-01 | 1 | -0/+3 |
| | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2882079 | ||||
| * | hsclient: Use a generic to provide a mock for connect() | Ian Jackson | 2023-03-01 | 1 | -1/+24 |
| | | | | | This will allow us to test state.rs. | ||||
| * | hsclient: Move dead code allows to specific locations | Ian Jackson | 2023-03-01 | 1 | -0/+2 |
| | | |||||
| * | hsclient: Implement connection attempt tracking state machine | Ian Jackson | 2023-03-01 | 1 | -0/+47 |
| This compiles, but it cannot work yet. Nor can it conveniently be tested. | |||||
