summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/status.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-hsservice: Replace placeholder IptError with the real IptError type.Gabriela Moldovan2024-02-191-1/+1
|
* tor-hsservice: Clarify what State::Recovering means.Gabriela Moldovan2024-02-191-10/+9
|
* tor-hsservice: Expand on State::Broken reachability notes.Gabriela Moldovan2024-02-191-1/+1
|
* tor-hsservice: Expand on reachability notes.Ian Jackson2024-02-191-2/+2
|
* tor-hsservice: Add an IptError type for status reporting.Gabriela Moldovan2024-02-191-1/+4
| | | | | | | The `OnionServiceStatus` API can now report errors coming from `IptManager`. Part of #1083
* tor-hsservice: Document the `State`s in which the service is reachable.Gabriela Moldovan2024-02-191-0/+30
| | | | Part of #1083
* tor-hsservice: Add a Degraded onion service status.Gabriela Moldovan2024-02-191-0/+14
| | | | | | | `State::Degraded` means we've successfully published a number of introduction points, but we would like to have more. Part of #1083
* tor-hsservice: Rename note_<status> to send_<status>.Gabriela Moldovan2024-02-191-7/+7
| | | | | Since these are `*StatusSender` APIs, it seems more idiomatic to call them `send*`.
* tor-hsservice: Remove extraneous blank line.Gabriela Moldovan2024-02-191-1/+0
| | | | | We don't have blank lines between the other variants, so let's remove this one too for consistency.
* tor-hsservice: Fix a broken doc link.Gabriela Moldovan2024-01-251-1/+1
|
* tor-hsservice: Implement {Publisher, IptMgr}StatusSender.Gabriela Moldovan2024-01-241-23/+54
|
* tor-hsservice: Implement OnionServiceStatus::current_problem.Gabriela Moldovan2024-01-241-1/+9
|
* tor-hsservice: Rename OnionServiceStatus fields.Gabriela Moldovan2024-01-241-7/+7
| | | | The new names are shorter and just as descriptive.
* tor-hsservice: Remove outdated TODO.Gabriela Moldovan2024-01-241-2/+0
|
* tor-hsservice: Add separate status structs for the svc subsystems.Gabriela Moldovan2024-01-241-7/+48
|
* tor-hsservice: Replace StartupError with Problem.Gabriela Moldovan2024-01-241-10/+16
|
* tor-hsservice: Reassign a TODO to #1194.Gabriela Moldovan2024-01-241-2/+2
| | | | | The key expiration status is only relevant if the service is running in "offline mode", so these TODOs should be part of #1194.
* tor-hsservice: Remove unused field.Gabriela Moldovan2024-01-241-4/+0
| | | | This field is unused now that we have `ipt_mgr_state` and `publisher_state`.
* tor-hsservice: Add separate StatusSender types for the publisher and IPT mgr.Gabriela Moldovan2024-01-241-0/+10
| | | | | | For updating the underlying component statuses of an `OnionServiceStatus. Part of #1083
* hsservice: Downgrade TODO HSS about having a type not be Clone.Nick Mathewson2024-01-121-1/+1
| | | | The type is crate-internal, so changing this is not blocking.
* hsservice: Convert TODOs about status to "TODO (#1083)"Nick Mathewson2024-01-121-5/+5
|
* tor-hsservice: Add functions to update the IPT mgr/publisher states.Gabriela Moldovan2023-12-111-7/+21
| | | | Part of #1083
* tor-hsservice: Derive service state from the state of its components.Gabriela Moldovan2023-12-111-1/+20
| | | | | | | | | | | | | | We need to know the status of each component to be able to report the overall status of the service. Without this change, the service (and its components) have no way of knowing if a given transition is valid: if the state of a component (say, the IPT manager) is `Bootstrapping`, `Recovering` or `Broken`, a transition out of the current state is only valid if it is initiated by the same component that caused the current state (for example, if the publisher sets the state to `Recovering`, the IPT manager should not be allowed to trigger an overall state transition to `Running`). Part of #1083
* tor-hsservice: Trim trailing whitespace.Gabriela Moldovan2023-12-111-1/+1
|
* Add a "Shutdown" status, and clarify places where status should change.Nick Mathewson2023-12-071-2/+8
|
* Add a status API to OnionService.Nick Mathewson2023-12-071-5/+147
| | | | | | (This doesn't yet send any status events.) Begins work on arti#1083.
* hsservice: Adapt data structures from onion-service-notes.mdNick Mathewson2023-07-311-0/+6
| | | | | | | Also, removed some older structures that don't make sense in the current design. Closes #970
* Downgrade every "TODO HS" in tor-hsserviceNick Mathewson2023-06-201-1/+1
| | | | These are all service-specific, and not client-specific.
* Sketch an API for onion services.Nick Mathewson2023-01-241-0/+4