| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typos | Dimitris Apostolou | 2024-01-08 | 7 | -10/+10 |
| | | |||||
| * | KeySpecifier etc: apply deferred rustfmt import churn | Ian Jackson | 2024-01-04 | 2 | -2/+2 |
| | | |||||
| * | KeySpecifier d-a macro: Do not produce fn new() | Ian Jackson | 2024-01-04 | 1 | -5/+6 |
| | | | | | | | Where we wanted this, use derive_more::Constructor isntead. arti#1151 item 6. | ||||
| * | KeySpecifier: Make KeySpecifierPattern a trait | Ian Jackson | 2024-01-04 | 2 | -0/+2 |
| | | | | | | | So now .arti_pattern() is a trait method. arti#1151 item 3. | ||||
| * | KeySpecifier d-a macro: Introduce SomeSpecifierPattern and use dyn | Ian Jackson | 2024-01-04 | 2 | -3/+7 |
| | | | | | | | | | This is a better API. The implementation has less monomorphisation. arti#1151 item 2 and the patterns part of 4. Closes #1126. | ||||
| * | tor-hsservice: Drop an unused import | Ian Jackson | 2024-01-04 | 1 | -1/+0 |
| | | | | | | I'm not sure why the compiler doesn't complain about this already, but it becomes "more" unused later. | ||||
| * | KeySpecifier d-a macro: rename from KeySpecifierDefault | Ian Jackson | 2024-01-03 | 1 | -7/+7 |
| | | | | | arti#1151 item 1. | ||||
| * | clippy nightly: For now, locally allow blocks_in_conditions | Ian Jackson | 2024-01-02 | 1 | -0/+1 |
| | | | | | | | Filed https://gitlab.torproject.org/tpo/core/arti/-/issues/1176 proposing a final fix. | ||||
| * | clippy nightly: Use Poll.is_pending() in two places | Ian Jackson | 2024-01-02 | 1 | -2/+2 |
| | | | | | clippy correctly identifies that this is nicer than matches!. | ||||
| * | Merge branch 'hs-desc-builder' into 'main' | Alexander Færøy | 2023-12-18 | 1 | -6/+4 |
| |\ | | | | | | | | | | | | | tor-netdoc: Make HsDescBuilder::auth_clients take an Option. Closes #1019 See merge request tpo/core/arti!1840 | ||||
| | * | tor-netdoc: Make HsDescBuilder::auth_clients take an Option. | Gabriela Moldovan | 2023-12-14 | 1 | -6/+4 |
| | | | | | | | | | Closes #1019 | ||||
| * | | Merge branch 'rename_relaycell' into 'main' | Ian Jackson | 2023-12-14 | 1 | -1/+1 |
| |\ \ | |/ |/| | | | | | | | | | Rename {Any}RelayCell to {Any}RelayMsgOuter Closes #775 See merge request tpo/core/arti!1839 | ||||
| | * | Fix documentation that referred to RelayCell. | Nick Mathewson | 2023-12-14 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'doc-link' into 'main' | gabi-250 | 2023-12-14 | 1 | -1/+1 |
| |\ \ | |/ |/| | | | | | tor-hsservice: Fix broken doc link. See merge request tpo/core/arti!1836 | ||||
| | * | tor-hsservice: Fix broken doc link. | Gabriela Moldovan | 2023-12-14 | 1 | -1/+1 |
| | | | |||||
| * | | tor-hsservice: Add TODO about rethinking the HSS StateMgr API. | Gabriela Moldovan | 2023-12-14 | 1 | -0/+3 |
| | | | |||||
| * | | tor-hsservice: Add an hss state mgmt API | Gabriela Moldovan | 2023-12-14 | 2 | -0/+47 |
| |/ | |||||
| * | Merge branch 'todos-hss' into 'main' | Nick Mathewson | 2023-12-13 | 3 | -25/+29 |
| |\ | | | | | | | | | Clear away some misc todos in tor-hsservice. See merge request tpo/core/arti!1819 | ||||
| | * | hss: Explain why wait_for_netdir_to_list does not need more complexity. | Nick Mathewson | 2023-12-13 | 1 | -6/+11 |
| | | | |||||
| | * | hss::svc::netdir: Explain why it is okay to suppress errors. | Nick Mathewson | 2023-12-12 | 1 | -1/+3 |
| | | | |||||
| | * | hss::config: Downgrade or remove some TODO HSS comments. | Nick Mathewson | 2023-12-12 | 1 | -16/+15 |
| | | | |||||
| | * | hss: remove TODO about making DangerouslyNonAnonymous conditional. | Nick Mathewson | 2023-12-12 | 1 | -2/+0 |
| | | | |||||
| * | | Merge branch 'log_hsid_unconditionally' into 'main' | Nick Mathewson | 2023-12-13 | 1 | -14/+20 |
| |\ \ | | | | | | | | | | | | | hsservice: Log hsid whether we just generated it or not. See merge request tpo/core/arti!1830 | ||||
| | * | | tor-hsservice: Retrieve the public hsid for logging purposes. | gabi-250 | 2023-12-13 | 1 | -3/+3 |
| | | | | |||||
| | * | | hsservice: Log hsid whether we just generated it or not. | Nick Mathewson | 2023-12-13 | 1 | -14/+20 |
| | |/ | | | | | | | | | | | With this change you can find your hsid in your logs (if safe logging is off) even if you forgot to notice it the first time around. | ||||
| * | | Merge branch 'publisher-do-not-retry-fatal' into 'main' | gabi-250 | 2023-12-13 | 1 | -16/+1 |
| |\ \ | | | | | | | | | | | | | tor-hsservice: If the error is fatal, do not retry the desc upload. See merge request tpo/core/arti!1821 | ||||
| | * | | tor-hsservice: If the error is fatal, do not retry the desc upload. | Gabriela Moldovan | 2023-12-13 | 1 | -16/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The errors returned by `upload_all` are now all fatal, so we there is no point in retrying `upload_all` on failure. Note this will exacerbate #1155, as it will cause the seemingly transient time skew issues to become fatal (the corresponding error type is `Bug`, so in principle they ought to be fatal) | ||||
| * | | | tor-hsservice: Add more explanation of replay_log locking | Ian Jackson | 2023-12-13 | 1 | -0/+5 |
| | | | | |||||
| * | | | tor-hsservice: Add more explanation of replay_log locking | Ian Jackson | 2023-12-13 | 1 | -0/+6 |
| | | | | |||||
| * | | | tor-hsservice: replay: Note a bug | Ian Jackson | 2023-12-13 | 1 | -0/+4 |
| | | | | |||||
| * | | | tor-hsservice: Make IPT logs be persistent (fmt) | Ian Jackson | 2023-12-13 | 1 | -1/+3 |
| | | | | |||||
| * | | | tor-hsservice: Make IPT logs be persistent | Ian Jackson | 2023-12-13 | 3 | -7/+88 |
| | | | | |||||
| * | | | tor-hsservice ipt_mgr: Rename STORAGE_RETRY from KEYSTORE_RETRY | Ian Jackson | 2023-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | We're going to reuse this for other kinds of storage error. | ||||
| * | | | tor-hsservice: Plumb state dir and its mistrust into ipt_mgr (fmt) | Ian Jackson | 2023-12-13 | 1 | -5/+2 |
| | | | | |||||
| * | | | tor-hsservice: Plumb state dir and its mistrust into ipt_mgr | Ian Jackson | 2023-12-13 | 2 | -2/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for the replay logs. It's a shame that CheckedDir is (i) a bit unergonomic (ii) has an extra bool in it, or we could pass one of those instead of these two arguments. Since HS's might be created after startup, TorClient must have these fields. | ||||
| * | | | tor-hsservice tests: replay: Pass nick to ↵ | Ian Jackson | 2023-12-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | create_storage_handles_from_state_mgr (fmt) | ||||
| * | | | tor-hsservice tests: replay: Pass nick to create_storage_handles_from_state_mgr | Ian Jackson | 2023-12-13 | 2 | -3/+6 |
| | | | | | | | | | | | | | | | | This will allow us to more faithfully model the actual Arti state directory layout. | ||||
| * | | | tor-hsservice tests: replay: Provide for a filesystem lockfile | Ian Jackson | 2023-12-13 | 1 | -2/+22 |
| | | | | | | | | | | | | | | | | This is to prevent current use of the same directory of replay logs by different instances. | ||||
| * | | | tor-hsservice tests: replay: Break out create_logged | Ian Jackson | 2023-12-13 | 1 | -13/+25 |
| | | | | |||||
| * | | | tor-hsservice: Move ReplayLog construction to ipt_mgr | Ian Jackson | 2023-12-13 | 2 | -9/+19 |
| | | | | |||||
| * | | | tor-hsservice: Note some TODOs relating to IPT teardown | Ian Jackson | 2023-12-13 | 1 | -0/+9 |
| | | | | |||||
| * | | | tor-hsservice: ReplayLog: Fix file magic | Ian Jackson | 2023-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ought to have the hash algorithm name in it or we'll have trouble if we want to change the hash algorithm in the future. (Strictly, we could just choose a different magic but the string was rather short.) Add a newline, which is often convenient in file headers. And "onion" to mean "onion swervice" is improper. | ||||
| * | | | tor-hsservice: ReplayLog: Slight tidying up | Ian Jackson | 2023-12-13 | 1 | -3/+5 |
| |/ / | | | | | | | Make `#[cfg(target_family = "unix")]` appear only once. | ||||
| * | | tor-hsservice: Add TODO about removing the shutdown handling from the publisher. | Gabriela Moldovan | 2023-12-13 | 1 | -0/+5 |
| | | | |||||
| * | | tor-hsservice: Add TODO about changing a return type in ipt_set. | Gabriela Moldovan | 2023-12-13 | 1 | -0/+5 |
| | | | |||||
| * | | tor-hsservice: Add TODO about possibly making UploadStatus a type alias. | Gabriela Moldovan | 2023-12-13 | 1 | -0/+2 |
| | | | |||||
| * | | tor-hsservice: Add TODO about possibly retrying failed uploads. | Gabriela Moldovan | 2023-12-13 | 1 | -0/+6 |
| | | | |||||
| * | | tor-hsservice: Remove unused ReactorError type. | Gabriela Moldovan | 2023-12-13 | 1 | -84/+2 |
| | | | | | | | | | | | | | | | The publisher now returns `FatalError`s, so we don't need `ReactorError` anymore. Addresses a TODO HSS in publish/reactor.rs Part of #1129 | ||||
| * | | tor-hsservice: Replace ReactorError with FatalError (fmt). | Gabriela Moldovan | 2023-12-13 | 2 | -9/+6 |
| | | | |||||
| * | | tor-hsservice: Replace ReactorError with FatalError. | Gabriela Moldovan | 2023-12-13 | 2 | -30/+29 |
| | | | |||||
