summaryrefslogtreecommitdiff
path: root/crates/tor-hsclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-hsclient: state tests: Introduce connect_calledIan Jackson2023-06-231-5/+11
| | | | | | | | | | | | This will allow us to track when `Data` is discarded.
| * | tor-hsclient: Expire old data eventuallyIan Jackson2023-06-233-5/+89
| | | | | | | | | | | | Otherwise we'll fill up our RAM with junk.
* | | Merge branch 'stabilize-ll-crates' into 'main'Nick Mathewson2023-06-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Remove final "experimental" status from tor-hscrypto and tor-error. See merge request tpo/core/arti!1291
| * | | arti, hsclent: remove dependencies on tor-error/experimental-apiNick Mathewson2023-06-231-1/+1
| | | | | | | | | | | | | | | | The relevant ErrorKinds and macros are now stable.
* | | | Merge branch 'circuit-bis' into 'main'Nick Mathewson2023-06-231-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add TODO SPEC for issues dealt with in !1299 See merge request tpo/core/arti!1303
| * | | | tor-hsclient: Add TODO SPEC for issues dealt with in !1299Ian Jackson2023-06-231-0/+6
| | | | |
* | | | | Merge branch 'expire' into 'main'Nick Mathewson2023-06-231-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-hsclient: Add a TODO SPEC re circuit dirtiness See merge request tpo/core/arti!1302
| * | | | | tor-hsclient: Add a TODO SPEC re circuit dirtinessIan Jackson2023-06-231-0/+2
| | |_|/ / | |/| | |
* | | | | Merge branch 'circuit' into 'main'Alexander Færøy2023-06-231-21/+29
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | Drop intro circuit after ack, and deal with TODOs See merge request tpo/core/arti!1299
| * | | tor-hsclient: Discuss HS descriptor expiry and revision countersIan Jackson2023-06-231-2/+4
| | | | | | | | | | | | | | | | And delete the corresponding TODO.
| * | | tor-hsclient: Downgrade multi-ipt TODOIan Jackson2023-06-231-3/+4
| | | |
| * | | tor-hsclient: Downgrade rend/ipt parallelism TODOs and add linksIan Jackson2023-06-231-5/+8
| | | |
| * | | tor-hsclient: Downgrade ipt parallelism to a noteIan Jackson2023-06-231-2/+4
| | | |
| * | | tor-hsclient: Downgrade hsdir fetch parallelism to a noteIan Jackson2023-06-231-2/+4
| | | |
| * | | tor-hsclient: Drop intro circuit after ackIan Jackson2023-06-231-7/+5
| | |/ | |/|
* | | Merge branch 'data2' into 'main'Nick Mathewson2023-06-231-0/+32
|\ \ \ | | | | | | | | | | | | | | | | tor-hsclient: Expire old IPT data See merge request tpo/core/arti!1295
| * | | tor-hsclient: Write a test plan for IPT state managementIan Jackson2023-06-231-0/+23
| | | | | | | | | | | | | | | | | | | | This won't be trivial. Put it in as a TODO HS rather than as part of this fix MR.
| * | | tor-hsclient: Expire old IPT dataIan Jackson2023-06-231-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | If we don't use it for a whole, the whole of `Data` will be expired by the new machinery in !1290. However, we also need to expire individual IPTs. This bug doesn't seem to have had a relevant TODO.
* | | Merge branch 'expire' into 'main'Ian Jackson2023-06-233-21/+215
|\ \ \ | |_|/ |/| | | | | | | | tor-hsclient: Expire circuits when they get too old See merge request tpo/core/arti!1287
| * | tor-hsclient: Add a note about circuit expiry uncertainty, ticketIan Jackson2023-06-221-0/+3
| | |
| * | tor-hsclient: Expand explanation of `last_used` (for Open)Ian Jackson2023-06-221-1/+20
| | |
| * | tor-hsclient: Make comment about circuit expiry more accurateNick Mathewson2023-06-221-1/+2
| | |
| * | tor-hsclient: linkify a URL in a doc commentIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Apply broken formatting as demanded by rustfmtIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Test circuit expiryIan Jackson2023-06-221-1/+46
| | |
| * | tor-hsclient: Expire HS circuits that we don't want to reuseIan Jackson2023-06-221-4/+128
| | |
| * | tor-hsclient: Introduce helper function for locking services tableIan Jackson2023-06-222-14/+17
| | |
| * | tor-hsclient: Abolish an obsolete commentIan Jackson2023-06-221-1/+0
| |/ | | | | | | | | | | We don't now handle inability to store by panicking. Like the previous comment says, such situations end up with Err in stored, and that's handled by logging, below.
* | Merge branch 'desc-error' into 'main'Nick Mathewson2023-06-222-33/+6
|\ \ | | | | | | | | | | | | Clean up HsDesc error types and stabilize onion-service ErrorKinds See merge request tpo/core/arti!1289
| * | Remove onion service descriptor-related errorkinds.Nick Mathewson2023-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | These have been subsumed by other errorkinds, mostly OnionServiceProtocolViolation and TorProtocolViolation. In particular please review the change in tor-hsclient closely; I am not sure about the new errorkinds for the error there.
| * | netdoc: Introduce HsDescErrorNick Mathewson2023-06-222-31/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For higher-level HsDesc-related functions, this type indicates where exactly an error occurred. It lets us distinguish decryption errors from parsing errors, and attribute responsibility to the hsdir, the onion service, or the user's lack of encryption. This lets us remove some just-introduced complexity in tor-hsclient.
* | | keymgr: Move dummy implementation to tor-keymgr.Gabriela Moldovan2023-06-221-1/+3
|/ /
* | Merge branch 'socks_errorkinds' into 'main'Nick Mathewson2023-06-222-2/+25
|\ \ | | | | | | | | | | | | | | | | | | Generate correct-ish socks5 errors for onion service errors. Closes #736 See merge request tpo/core/arti!1279
| * | Generate correct ErrorKinds for hsdesc decryption failures.Nick Mathewson2023-06-212-2/+25
| | | | | | | | | | | | Part of #736
* | | tor-hsclient: Delete/rewrite out-of-date commentaryIan Jackson2023-06-221-13/+5
| |/ |/|
* | Merge branch 'stderr' into 'main'Alexander Færøy2023-06-211-0/+2
|\ \ | | | | | | | | | | | | lints: Promote clippy::print_stderr and clippy::print_stdout See merge request tpo/core/arti!1271
| * | lints: Run maint/add_warning to actually apply new lintsIan Jackson2023-06-211-0/+2
| | |
* | | Upgrade to strum 0.25.Nick Mathewson2023-06-211-1/+1
| |/ |/|
* | tor-hsclient: Apply deferred clippy churn needed by fmt churnIan Jackson2023-06-211-1/+1
| | | | | | | | rustfmt *introduced* this clippy warning.
* | tor-hsclient: Apply deferred rustfmt churnIan Jackson2023-06-212-11/+6
| |
* | tor-hsclient: Drop most allows that are marked for removalIan Jackson2023-06-213-9/+0
| |
* | tor-hsclient: Drop a large number of unneeded importsIan Jackson2023-06-214-19/+9
| |
* | tor-hsclient: Add HSID to some log messagesIan Jackson2023-06-211-6/+7
| | | | | | | | | | For the debug!, we can use the unredacted form. For error!, we use Sensitive.
* | tor-hsclient: Do Debug the descriptor as part of DataIan Jackson2023-06-211-1/+0
| | | | | | | | | | Empirically, this does not cause the descriptor to be spat out in normal operation. And it seems right.
* | tor-hsclient: Drop some temporary trace callsIan Jackson2023-06-212-8/+2
| | | | | | | | | | These were added as part of a debugging #885, and are no longer needed.
* | tor-hsclient: Drop two eprintlns in production codeIan Jackson2023-06-211-2/+0
| |
* | tor-hsclinet: Promote dead code allows to cover all testsIan Jackson2023-06-211-1/+3
| | | | | | | | | | We want to remove the crate-level dead code allows. The tests are incomplete and there are multiple todos for that.
* | tor-hsclient: Use a formulaic TODO mark for incompleteness of testsIan Jackson2023-06-211-5/+5
| |
* | tor-hsclinet: Add a narrow allow, pending answer to open questionIan Jackson2023-06-211-0/+1
| | | | | | | | | | I need to talk to HS expert(s) about when this circuit can be torn down.
* | tor-hsclient: Remove unused Context.hs_blind_id_keyIan Jackson2023-06-211-3/+0
| |