| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | tor-hsservice: Reformat handle_upload_results docs. | Gabriela Moldovan | 2023-09-12 | 1 | -1/+2 | |
| | | | ||||||
| | * | tor-hsservice: Replace SystemTime::now() with runtime.now(). | Gabriela Moldovan | 2023-09-12 | 1 | -7/+5 | |
| | | | ||||||
| | * | tor-hsservice: Remove the TODOs that have been addressed. | Gabriela Moldovan | 2023-09-07 | 1 | -16/+0 | |
| | | | ||||||
| | * | tor-hsservice: Tell the reactor about the status of the descriptor upload task. | Gabriela Moldovan | 2023-09-07 | 1 | -1/+13 | |
| | | | ||||||
| | * | tor-hsservice: Don't block the reactor on the descriptor uploads (fmt). | Gabriela Moldovan | 2023-09-07 | 1 | -24/+38 | |
| | | | ||||||
| | * | tor-hsservice: Don't block the reactor on the descriptor uploads. | Gabriela Moldovan | 2023-09-07 | 2 | -53/+92 | |
| | | | | | | | | | | | Instead of blocking the main loop until all pending uploads complete, the reactor now spawns an upload task for each relevant time period. | |||||
| | * | tor-hsservice: Handle upload completion events. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+14 | |
| | | | ||||||
| | * | tor-hsservice: Add handler for descriptor upload results. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+44 | |
| | | | ||||||
| | * | tor-hsservice: Add some types for representing upload results. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+39 | |
| | | | ||||||
| | * | tor-hsservice: Run descriptor uploads in parallel instead of sequentially (fmt). | Gabriela Moldovan | 2023-09-07 | 1 | -17/+22 | |
| | | | ||||||
| | * | tor-hsservice: Run descriptor uploads in parallel instead of sequentially. | Gabriela Moldovan | 2023-09-07 | 1 | -5/+26 | |
| | | | | | | | | | | | | | | | | | | | | | For each time period, the publisher now parallelizes the descriptor uploads. Note that the upload batches for each time period still execute sequentially (rather than in parallel), and that the reactor loop is still blocked until the uploads complete. These limitations will be addressed in a future commit. | |||||
| | * | tor-hsservice: Increment the revision counter when generating a new descriptor. | Gabriela Moldovan | 2023-09-07 | 1 | -2/+26 | |
| | | | ||||||
| | * | tor-hsservice: Move the revision counter out of Descriptor. | Gabriela Moldovan | 2023-09-07 | 2 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The `Descriptor` struct is meant to contain TP-agnostic data, (such as the intro points or client authorization info), and the revision counter is going to be different for each TP as per rend-spec-v3: Implementations MAY generate revision counters in any way they please, so long as they are monotonically increasing over the lifetime of each blinded public key. (the blinded public key changes with the time period) | |||||
| | * | tor-hsservice: Remove unused publisher reactor function. | Gabriela Moldovan | 2023-09-07 | 1 | -5/+0 | |
| | | | ||||||
| | * | tor-hsservice: Remove unnecessary allow annotations. | Gabriela Moldovan | 2023-09-07 | 1 | -2/+0 | |
| | | | ||||||
| | * | tor-hsservice: Use existing postage::watch import. | Gabriela Moldovan | 2023-09-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: test | Ian Jackson | 2023-09-12 | 1 | -0/+27 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: Add an empty test module | Ian Jackson | 2023-09-12 | 1 | -0/+18 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: Commentary about performance | Ian Jackson | 2023-09-12 | 1 | -0/+59 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: rustfmt | Ian Jackson | 2023-09-12 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: fix clippy lints | Ian Jackson | 2023-09-12 | 1 | -11/+5 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: drop Debug bounds | Ian Jackson | 2023-09-12 | 1 | -3/+3 | |
| | | | | | | | | | Now it's not fallible, we don't need to construct error messages. | |||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: return an iterator | Ian Jackson | 2023-09-12 | 1 | -12/+7 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: Introduce 'out | Ian Jackson | 2023-09-12 | 1 | -8/+8 | |
| | | | | | | | | | No functional change. | |||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: Replace algorithm | Ian Jackson | 2023-09-12 | 1 | -77/+20 | |
| | | | | | | | | | | | Use HashMap-based algorithm, as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1583#note_2941645 | |||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: document working set | Ian Jackson | 2023-09-12 | 1 | -1/+2 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: check more for dupes | Ian Jackson | 2023-09-12 | 1 | -0/+4 | |
| | | | ||||||
| * | | tor-hsservice: ipt mgr: Break out merge_join_subset_by | Ian Jackson | 2023-09-12 | 1 | -19/+109 | |
| | | | | | | | | | | | Propted by this conversation https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675 | |||||
| * | | tor-hsservice: ipt mgr: Handle ipt relay selection failure (fmt) | Ian Jackson | 2023-09-11 | 1 | -1/+1 | |
| | | | ||||||
| * | | 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 | 5 | -29/+281 | |
| |\ \ | |/ |/| | | | | | 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. | |||||
