| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | 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 | |||||
| | * | | tor-hsclient: Add a debug message about task exit | Ian Jackson | 2023-06-26 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1290#note_2915678 | |||||
| | * | | tor-hsclient: Comment explaining why no launch_background_tasks | Ian Jackson | 2023-06-26 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1290#note_2915676 | |||||
| | * | | tor-hsclient: Say we *mustn't* do housekeeping while dormant | Ian Jackson | 2023-06-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a change to the API docs, but not to the actual code, since our call site is in arti-client and tied to netdir fetch, which *doesn't* happen when dormant. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1290#note_2915677 | |||||
| | * | | tor-hsclient: Add a TODO SPEC re data lifetime | Ian Jackson | 2023-06-23 | 1 | -0/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: state tests: Test housekeeping (data expiry) | Ian Jackson | 2023-06-23 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | tor-hsclient: state tests: Promote mk_hsconn call | Ian Jackson | 2023-06-23 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | tor-hsclient: state tests: Introduce connect_called | Ian Jackson | 2023-06-23 | 1 | -5/+11 | |
| | | | | | | | | | | | | | This will allow us to track when `Data` is discarded. | |||||
| | * | | tor-hsclient: Expire old data eventually | Ian Jackson | 2023-06-23 | 3 | -5/+89 | |
| | | | | | | | | | | | | | Otherwise we'll fill up our RAM with junk. | |||||
| * | | | Merge branch 'stabilize-ll-crates' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -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-api | Nick Mathewson | 2023-06-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | The relevant ErrorKinds and macros are now stable. | |||||
| * | | | | Merge branch 'circuit-bis' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -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 !1299 | Ian Jackson | 2023-06-23 | 1 | -0/+6 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'expire' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -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 dirtiness | Ian Jackson | 2023-06-23 | 1 | -0/+2 | |
| | | |_|/ / | |/| | | | ||||||
| * | | | | | Merge branch 'circuit' into 'main' | Alexander Færøy | 2023-06-23 | 1 | -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 counters | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | And delete the corresponding TODO. | |||||
| | * | | | tor-hsclient: Downgrade multi-ipt TODO | Ian Jackson | 2023-06-23 | 1 | -3/+4 | |
| | | | | | ||||||
| | * | | | tor-hsclient: Downgrade rend/ipt parallelism TODOs and add links | Ian Jackson | 2023-06-23 | 1 | -5/+8 | |
| | | | | | ||||||
| | * | | | tor-hsclient: Downgrade ipt parallelism to a note | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | ||||||
| | * | | | tor-hsclient: Downgrade hsdir fetch parallelism to a note | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | ||||||
| | * | | | tor-hsclient: Drop intro circuit after ack | Ian Jackson | 2023-06-23 | 1 | -7/+5 | |
| | | |/ | |/| | ||||||
| * | | | Merge branch 'data2' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -0/+32 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-hsclient: Expire old IPT data See merge request tpo/core/arti!1295 | |||||
| | * | | | tor-hsclient: Write a test plan for IPT state management | Ian Jackson | 2023-06-23 | 1 | -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 data | Ian Jackson | 2023-06-23 | 1 | -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 Jackson | 2023-06-23 | 3 | -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, ticket | Ian Jackson | 2023-06-22 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | tor-hsclient: Expand explanation of `last_used` (for Open) | Ian Jackson | 2023-06-22 | 1 | -1/+20 | |
| | | | | ||||||
| | * | | tor-hsclient: Make comment about circuit expiry more accurate | Nick Mathewson | 2023-06-22 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: linkify a URL in a doc comment | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Apply broken formatting as demanded by rustfmt | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Test circuit expiry | Ian Jackson | 2023-06-22 | 1 | -1/+46 | |
| | | | | ||||||
| | * | | tor-hsclient: Expire HS circuits that we don't want to reuse | Ian Jackson | 2023-06-22 | 1 | -4/+128 | |
| | | | | ||||||
| | * | | tor-hsclient: Introduce helper function for locking services table | Ian Jackson | 2023-06-22 | 2 | -14/+17 | |
| | | | | ||||||
| | * | | tor-hsclient: Abolish an obsolete comment | Ian Jackson | 2023-06-22 | 1 | -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 Mathewson | 2023-06-22 | 2 | -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 Mathewson | 2023-06-22 | 1 | -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 HsDescError | Nick Mathewson | 2023-06-22 | 2 | -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 Moldovan | 2023-06-22 | 1 | -1/+3 | |
| |/ / | ||||||
| * | | Merge branch 'socks_errorkinds' into 'main' | Nick Mathewson | 2023-06-22 | 2 | -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 Mathewson | 2023-06-21 | 2 | -2/+25 | |
| | | | | | | | | | | | | | Part of #736 | |||||
| * | | | tor-hsclient: Delete/rewrite out-of-date commentary | Ian Jackson | 2023-06-22 | 1 | -13/+5 | |
| | |/ |/| | ||||||
| * | | Merge branch 'stderr' into 'main' | Alexander Færøy | 2023-06-21 | 1 | -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 lints | Ian Jackson | 2023-06-21 | 1 | -0/+2 | |
| | | | | ||||||
| * | | | Upgrade to strum 0.25. | Nick Mathewson | 2023-06-21 | 1 | -1/+1 | |
| | |/ |/| | ||||||
| * | | tor-hsclient: Apply deferred clippy churn needed by fmt churn | Ian Jackson | 2023-06-21 | 1 | -1/+1 | |
| | | | | | | | | | rustfmt *introduced* this clippy warning. | |||||
| * | | tor-hsclient: Apply deferred rustfmt churn | Ian Jackson | 2023-06-21 | 2 | -11/+6 | |
| | | | ||||||
| * | | tor-hsclient: Drop most allows that are marked for removal | Ian Jackson | 2023-06-21 | 3 | -9/+0 | |
| | | | ||||||
| * | | tor-hsclient: Drop a large number of unneeded imports | Ian Jackson | 2023-06-21 | 4 | -19/+9 | |
| | | | ||||||
