| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Clarify IptEstablisher shutdown rules | Nick Mathewson | 2024-01-18 | 1 | -8/+11 | |
| | | | | | | | | | | | | | There was no actual bug here; just some missing comments. Closes #1236. | |||||
| * | | Merge branch 'tolerant_intro_established' into 'main' | gabi-250 | 2024-01-19 | 1 | -17/+12 | |
| |\| | | | | | | | | | | | | | Do not reject INTRO_ESTABLISHED messages with extensions Closes #1238 See merge request tpo/core/arti!1898 | |||||
| | * | Do not reject INTRO_ESTABLISHED messages with extensions | Nick Mathewson | 2024-01-18 | 1 | -17/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec says that we should ignore unrecognized extensions. Per discussion at torspec#249, this is still correct. Additionally, this commit moves responsibility for checking INTRO_ESTABLISHED messages into IptMsgHandler::handle_msg, to make sure that the circuit is torn down as soon as possible on a bad reply. (There's nothing to check yet, but there will be once we start sending extensions that expect a reply.) Closes #1238. | |||||
| * | | Mark ShutdownStatus as must_use | Nick Mathewson | 2024-01-18 | 1 | -0/+1 | |
| |/ | | | | Followup from !1895. | |||||
| * | Merge branch 'publisher-shut-down' into 'main' | Nick Mathewson | 2024-01-18 | 2 | -7/+13 | |
| |\ | | | | | | | | | tor-hsservice: The publisher should exit when the IPT manager says so. See merge request tpo/core/arti!1895 | |||||
| | * | tor-hsservice: The publisher should exit when the IPT manager says so. | Gabriela Moldovan | 2024-01-18 | 2 | -7/+13 | |
| | | | | | | | | | | | | | The publisher needs to shut down when `IptPublisherView::sawait_update()` returns `None`, not pause the uploads. | |||||
| * | | Merge branch 'downgrade-todo' into 'main' | Nick Mathewson | 2024-01-18 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | | | | | | | | | | | tor-hsservice: Reference #1226 instead of #1219 in a TODO. Closes #1219 See merge request tpo/core/arti!1896 | |||||
| | * | | tor-hsservice: Reference #1226 instead of #1219 in a TODO. | Gabriela Moldovan | 2024-01-18 | 1 | -1/+1 | |
| | |/ | | | | | | | | | | | | | | | `note_publication_attempt` can only fail: * due to an internal error, in which case there is no point in retrying * if `PublishIptSet::save` fails, i.e. if we fail to write to persistent storage (this is #1226) | |||||
| * | | tor-hsservice: Store the StateMgr inside OnionServiceState. | Gabriela Moldovan | 2024-01-18 | 2 | -22/+56 | |
| | | | | | | | | | | | | | This introduces an internal `OnionServiceStateMgr` trait, which enables us to store the `StateMgr` inside the `OnionServiceState` (without having to parameterize `OnionServiceState` on `S: StateMgr`). | |||||
| * | | tor-hsservice: Add a test for OnionService::onion_name. | Gabriela Moldovan | 2024-01-18 | 1 | -0/+31 | |
| | | | ||||||
| * | | tor-hsservice: Move onion_name() to OnionServiceState. | Gabriela Moldovan | 2024-01-18 | 2 | -56/+61 | |
| | | | | | | | | | | | | | | | | | Both `OnionService` and `RunningOnionService` have an `onion_name()` function. To reduce code duplication, we can move `onion_name()` to a new `OnionServiceState` struct (which will grow more state management functions int he future), and make both `*OnionService` structs deref to it. | |||||
| * | | tor-hsservice: Add RunningOnionService::onion_name. | Gabriela Moldovan | 2024-01-18 | 1 | -7/+42 | |
| | | | ||||||
| * | | tor-hsservice: Add a couple of TODOs for #1247. | Gabriela Moldovan | 2024-01-18 | 1 | -0/+2 | |
| | | | ||||||
| * | | tor-hsservice: Do not store the StateMgr in OnionService. | Gabriela Moldovan | 2024-01-18 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | | The `StateMgr` is currently only needed in `launch()`, so we don't really need to store it. This allows us to unparameterize OnionService. | |||||
| * | | tor-hsservice: Remove a couple of resolved TODOs. | Gabriela Moldovan | 2024-01-18 | 1 | -3/+0 | |
| | | | ||||||
| * | | tor-hsservice: Remove unused state module. | Gabriela Moldovan | 2024-01-18 | 2 | -50/+0 | |
| | | | | | | | | | | | The functionality previously provided by the so-called `StateMgr` is now part of `OnionService`, so we can remove state.rs altogether. | |||||
| * | | tor-hsservice: Move onion_name() to OnionService. | Gabriela Moldovan | 2024-01-18 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | This a modified version of `tor_hsservice::state::StateMgr::onion_name`. `tor_hsservice::state::StateMgr` will soon be abolished. Part of #1220, #1227 | |||||
| * | | tor-hsservice: Create a separate RunningOnionService type. | Gabriela Moldovan | 2024-01-18 | 3 | -25/+75 | |
| | | | | | | | | | | | | | | | | | This will enable us to construct non-launched (but configured) `OnionService`s. We need this, for example, for implementing the `arti hss` CLI command. Part of #1227 | |||||
| * | | tor-hsservice: Rename stop() to pause(). | Gabriela Moldovan | 2024-01-18 | 1 | -1/+1 | |
| |/ | | | | Part of #1227 | |||||
| * | Merge branch 'is_ipt_failure' into 'main' | Nick Mathewson | 2024-01-17 | 1 | -3/+39 | |
| |\ | | | | | | | | | | | | | Implement is_ipt_failure better. Closes #1234 See merge request tpo/core/arti!1889 | |||||
| | * | Add a note about torspec#249. | Nick Mathewson | 2024-01-17 | 1 | -1/+4 | |
| | | | ||||||
| | * | Implement is_ipt_failure better. | Nick Mathewson | 2024-01-17 | 1 | -2/+35 | |
| | | | | | | | | | | | Additionally, explain its behavior better, since we cannot always identify an Ipt failure with certainty. | |||||
| * | | hsservice: Document circ lifetime in OpenSession. | Nick Mathewson | 2024-01-17 | 2 | -5/+9 | |
| | | | | | | | | | | | Closes #1224, by making it more clear that we aren't keeping a circuit alive indefinitely. | |||||
| * | | ipt_mgr: Remove todo-#1211 | Nick Mathewson | 2024-01-16 | 1 | -12/+7 | |
| |/ | | | | | | All appropriate checks here should be in `is_hs_intro_point()`. Closes #1211. | |||||
| * | Typo fixes | gabi-250 | 2024-01-15 | 1 | -2/+2 | |
| | | ||||||
| * | Downgrade a TODO about dropping unlisted ipts to #1239 | Nick Mathewson | 2024-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | hsservice: Replace TODO comment about intro_established checking with #1238. | Nick Mathewson | 2024-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Rename IptEstablisher::{new => launch} | Nick Mathewson | 2024-01-13 | 2 | -3/+2 | |
| | | ||||||
| * | hsservice: Turn TODOs about ipt_establisher error handling to #1237 | Nick Mathewson | 2024-01-13 | 1 | -6/+6 | |
| | | ||||||
| * | hsservice: Remove TODO HSS about a type that is already Arc. | Nick Mathewson | 2024-01-13 | 1 | -2/+0 | |
| | | ||||||
| * | hsservice: Replace shutdown-TODO HSS with references to #1236 | Nick Mathewson | 2024-01-13 | 1 | -2/+2 | |
| | | ||||||
| * | Downgrade a TODO about wanting a better API. | Nick Mathewson | 2024-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | hsservice: Remove an erroneous TODO | Nick Mathewson | 2024-01-13 | 1 | -1/+1 | |
| | | | | | | k_sid was not redundant with RequestContext: the latter only held the public key, but the reactor here needed the entire keypair. | |||||
| * | hsservice: Convert TODOs about ipt reconfiguration to refer to #1209. | Nick Mathewson | 2024-01-13 | 1 | -2/+2 | |
| | | | | | | (I've expanded #1209 to give us the option to either _implement_ these transitions, or _forbid_ them. We shouldn't just ignore them, though.) | |||||
| * | hsservice: Convert TODOs about documentation to refer to #1235. | Nick Mathewson | 2024-01-13 | 1 | -3/+3 | |
| | | ||||||
| * | hsservice: Remove an outdated TODO: Ipt ids are indeed unique. | Nick Mathewson | 2024-01-13 | 1 | -3/+0 | |
| | | ||||||
| * | hsservice: Remove now-needless "allows". | Nick Mathewson | 2024-01-13 | 1 | -1/+0 | |
| | | ||||||
| * | hsservice: Remove the unused n_faults field | Nick Mathewson | 2024-01-13 | 2 | -11/+0 | |
| | | | | | (We can revert this later if it turns out to be needed.) | |||||
| * | hsservice: Turn a TODO into #1234. | Nick Mathewson | 2024-01-13 | 1 | -1/+1 | |
| | | | | | This is a MUST. | |||||
| * | hsservice: Resolve some TODO HSS items in IptParameters declaration | Nick Mathewson | 2024-01-13 | 1 | -5/+37 | |
| | | | | | | Mostly, this is just adding documentation, but it is also removing a couple of no-longer-relevant TODOs. | |||||
| * | Add a couple more TODO references (to #1227) | gabi-250 | 2024-01-13 | 1 | -2/+2 | |
| | | ||||||
| * | Remove a TODO HSS about introduce rate-limiting. | Nick Mathewson | 2024-01-12 | 1 | -2/+0 | |
| | | | | | This misunderstands the way that introduce rate-limiting works. | |||||
| * | Remove a TODO HSS that is not a TODO, just a note | Nick Mathewson | 2024-01-12 | 1 | -1/+1 | |
| | | ||||||
| * | Convert a TODO HSS about write failure into a ref to #1226 | Nick Mathewson | 2024-01-12 | 1 | -1/+1 | |
| | | ||||||
| * | Convert a TODO HSS about handling replays into a (subtle) #1233 | Nick Mathewson | 2024-01-12 | 1 | -1/+7 | |
| | | ||||||
| * | hsservice::svc: Lower "allows" to publish.rs | Nick Mathewson | 2024-01-12 | 4 | -6/+7 | |
| | | | | | See #1232 for fixing the remaining part of these. | |||||
| * | Replace TODOs about stopping onion services with #1231. | Nick Mathewson | 2024-01-12 | 1 | -2/+2 | |
| | | ||||||
| * | Remove TODO about "doing something with" rend_req_rx | Nick Mathewson | 2024-01-12 | 1 | -3/+1 | |
| | | | | | Turns out, we _do_ use this field. | |||||
| * | Change TODO about inconsistent state to #1230. | Nick Mathewson | 2024-01-12 | 1 | -1/+1 | |
| | | ||||||
| * | Link another status TODO to #1083 | Nick Mathewson | 2024-01-12 | 1 | -1/+1 | |
| | | ||||||
