| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-hsservice: ipt mgr: Handle ipt relay selection failure | Ian Jackson | 2023-09-11 | 1 | -4/+34 | |
| | | | | | | | | | Without panicking. | |||||
| * | | tor-hsservice: ipt_mgr: Document expiry None | Ian Jackson | 2023-09-07 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940673 | |||||
| * | | tor-hsservice: ipt_mgr: Explain more about expiry time data flow | Ian Jackson | 2023-09-07 | 2 | -0/+16 | |
| | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940676 | |||||
| * | | tor-hsservice: ipt_mgr: Add a TODO about the join | Ian Jackson | 2023-09-07 | 1 | -0/+4 | |
| | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675 | |||||
| * | | tor-hsservice: ipt_mgr: Explicitly drop publish_set | Ian Jackson | 2023-09-07 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940674 | |||||
| * | | tor-hsservice: ipt_mgr: Actually send ipts to publisher | Ian Jackson | 2023-09-07 | 1 | -4/+2 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Fix output expiry time handling (fmt) | Ian Jackson | 2023-09-07 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Fix output expiry time handling | Ian Jackson | 2023-09-07 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | For the expiry times for descriptors we are intending to publish, copy out of our data structure. We don't need to actually update it to account for (possible) imminent publication; the publisher will do that. | |||||
| * | | tor-hsservice: ipt_mgr: Import updated expiry times | Ian Jackson | 2023-09-07 | 1 | -0/+38 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Call borrow_for_update() | Ian Jackson | 2023-09-07 | 1 | -5/+11 | |
| | | | | | | | | | | | | | And plumb the reference through to places that will need it. We don't actually do anything with the results yet. | |||||
| * | | tor-hsservice: ipt_mgr: Call borrow_for_update() (pre fmt) | Ian Jackson | 2023-09-07 | 1 | -3/+10 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Reorganise main loop a bit | Ian Jackson | 2023-09-07 | 1 | -9/+13 | |
| | | | | | | | | | | | We are going to need to hold the ipt_set lock while we loop around making changes to our data structures etc. | |||||
| * | | tor-hsservice: ipt_mgr: Document further data structure stability | Ian Jackson | 2023-09-07 | 1 | -0/+7 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop (fmt) | Ian Jackson | 2023-09-07 | 1 | -4/+5 | |
| | | | ||||||
| * | | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop | Ian Jackson | 2023-09-07 | 1 | -4/+7 | |
| | | | | | | | | | This should be an Option, to correspond to what's in IptSet. | |||||
| * | | tor-hsservice: ipt_set: Add a missing Debug derive | Ian Jackson | 2023-09-07 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-hsservice: ipt_set: Add an IptLocalId field | Ian Jackson | 2023-09-07 | 2 | -0/+9 | |
| | | | ||||||
| * | | tor-hsservice: Move IptLocalId into crate toplevel | Ian Jackson | 2023-09-07 | 2 | -14/+14 | |
| | | | ||||||
| * | | Merge branch 'hss_config' into 'main' | Nick Mathewson | 2023-09-07 | 4 | -29/+280 | |
| |\ \ | |/ |/| | | | | | Begin working on configuration logic for onion services See merge request tpo/core/arti!1557 | |||||
| | * | Allow max_concurrent_streams_per_circuit to be impossibly high. | Nick Mathewson | 2023-09-07 | 1 | -1/+1 | |
| | | | ||||||
| | * | hss: clarify and document deserialization for Anonymity | Nick Mathewson | 2023-09-07 | 1 | -5/+14 | |
| | | | | | | | | | | | Don't make people say "Dangerous!" in the configuration, document the formats, and make the strings case-insensitive. | |||||
| | * | hsservice: add TODO about authorized client plugins | Nick Mathewson | 2023-09-07 | 1 | -0/+5 | |
| | | | ||||||
| | * | add a TODO about rate limits and their relationship. | Nick Mathewson | 2023-09-07 | 1 | -0/+4 | |
| | | | ||||||
| | * | hsservice: Make configs members pub(crate). | Nick Mathewson | 2023-09-07 | 1 | -5/+5 | |
| | | | ||||||
| | * | HSS: Parser/encoder for AuthorizedClientConfig | Nick Mathewson | 2023-09-07 | 1 | -2/+54 | |
| | | | ||||||
| | * | HSS: Start making builders for config structs. | Nick Mathewson | 2023-09-07 | 2 | -12/+51 | |
| | | | | | | | | | Note a few issues encountered while doing so. | |||||
| | * | HSS: adjust two options. | Nick Mathewson | 2023-09-07 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | For rate-limiting, we make it optional. If it isn't set, we don't tell the intro to rate-limit. We condense our two max-streams options into one. We had two options here because we were looking for feature parity with C, but I think I had misunderstood what C provides. | |||||
| | * | hss: Move Anonymity to module and make it serde. | Nick Mathewson | 2023-09-07 | 2 | -15/+77 | |
| | | | ||||||
| | * | hss: Add configuration fields for onion services. | Nick Mathewson | 2023-08-28 | 2 | -5/+88 | |
| | | | ||||||
| * | | tor-hsservice: Remove unused Event struct (fmt). | Gabriela Moldovan | 2023-09-06 | 2 | -3/+3 | |
| | | | ||||||
| * | | tor-hsservice: Remove unused Event struct. | Gabriela Moldovan | 2023-09-06 | 2 | -68/+4 | |
| | | | | | | | | | | | | | | | | | | | | | The reactor events are no longer received on the same channel, so we don't need the `Event` enum or the old `Publisher` APIs any more. Svc config changes are received on a wseparate `postage::watch` channel, whereas IPT changes are detected through the `IptsPublisherView`. The publisher will (eventually) be informed of keystore changes through another `postage::watch` channel. | |||||
| * | | tor-hsservice: Use a postage::watch channel to watch for config changes. | Gabriela Moldovan | 2023-09-06 | 2 | -1/+13 | |
| | | | | | | | | | | | If multiple config changes happen in quick succession, we don't want the publisher to publish a new descriptor for every single one. | |||||
| * | | tor-hsservice: Use the new IPT change notifier API (fmt). | Gabriela Moldovan | 2023-09-06 | 2 | -4/+12 | |
| | | | ||||||
| * | | tor-hsservice: Use the new IPT change notifier API. | Gabriela Moldovan | 2023-09-06 | 2 | -3/+19 | |
| | | | | | | | | | | | | | | | | | This makes the publisher watch for IPT changes using the `IptsPublisherView` added in arti#1023 (instead of waiting for an `Event::NewIntroPoints`. The `Event` enum will soon be replaced by multiple `postage::watch` channels, one for every type of change it needs to react to). | |||||
| * | | tor-hsservice: Add PublisherError::Bug variant. | Gabriela Moldovan | 2023-09-06 | 1 | -0/+4 | |
| | | | ||||||
| * | | tor-hsservice: ipt_set: Define the API | Ian Jackson | 2023-09-06 | 1 | -1/+90 | |
| | | | ||||||
| * | | tor-hsservice: ipt_set: Define the shared data structure | Ian Jackson | 2023-09-06 | 3 | -2/+50 | |
| | | | | | | | | | | | | | | | | | | | Put a last_descriptor_expiry_including_slop into the IptSet. Define who is responsible for which data. The code at the sites that interacts with this needs to be bodged, to make it still compile. That code is wrong, and the new API for sharing the state doesn't exist yet. | |||||
| * | | tor-hsservice: Move PublishIptSet and its pieces into a new module (fmt) | Ian Jackson | 2023-09-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-hsservice: Move PublishIptSet and its pieces into a new module | Ian Jackson | 2023-09-06 | 6 | -48/+54 | |
| | | | | | | | | | | | This is going to be complicated enough we probably want it split out of the publisher. | |||||
| * | | tor-hsservice: Update our list of relevant TPs whenever the consensus changes. | Gabriela Moldovan | 2023-09-06 | 1 | -3/+3 | |
| | | | ||||||
| * | | tor-hsservice: Update outdated docs. | Gabriela Moldovan | 2023-09-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-hsservice: Remove outdated TODO. | Gabriela Moldovan | 2023-09-06 | 1 | -2/+0 | |
| | | | ||||||
| * | | tor-hsservice: Replace {current,previous}_period with a list of time periods. | Gabriela Moldovan | 2023-09-06 | 1 | -43/+42 | |
| | | | | | | | | | | | | | | | | | The descriptor publisher reactor was (incorrectly) only keeping track of the "current" and "previous" time periods. The reactor now maintains a list of all relevant time periods (obtained from `Netdir::hs_all_time_periods`). | |||||
| * | | tor-hsservice: Only build the Descriptor once. | Gabriela Moldovan | 2023-09-06 | 1 | -25/+32 | |
| | | | | | | | | | | | We don't need to build the `Descriptor` for each time period (it contains TP-agnostic information). | |||||
| * | | tor-hsservice: Remove unnecessary time period change handler. | Gabriela Moldovan | 2023-09-06 | 1 | -37/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This was based on the incorrect assumption there would be an external source notifying the reactor of time period changes. Time period changes will be handled in the consensus change handler of the reactor. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1545#note_2935668 | |||||
| * | | tor-hsservice: De-linkify a docs link to a private item | Ian Jackson | 2023-09-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Weirdly, rustdoc says 189 | /// TODO HSS surely this should be [`tor_proto::crypto::handshake::ntor::NtorSecretKey`] ? | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `crypto` in module `tor_proto` when it should probably complain the item is private. Anyway, we can't link to it, so don't. | |||||
| * | | Merge branch 'doc-fixes' into 'main' | Nick Mathewson | 2023-09-05 | 2 | -3/+3 | |
| |\ \ | | | | | | | | | | | | | tor-hsservice: Fix broken doc links. See merge request tpo/core/arti!1565 | |||||
| | * | | tor-hsservice: Fix IPT establisher broken doc link. | Gabriela Moldovan | 2023-09-05 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsservice: Fix broken publisher reactor broken doc link. | Gabriela Moldovan | 2023-09-05 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | tor-hsservice: Add a TODO HSS re expiry times | Ian Jackson | 2023-09-05 | 2 | -1/+2 | |
| | | | | ||||||
