| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-hsservice: ipt_mgr: Reorganise publication set handling | Ian Jackson | 2023-08-29 | 1 | -25/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Replace the publish_set closure (whose body is just TODOs right now) with a proper function. Change the type of the publication set to be Option<publish::IptSet>, like the publisher now wants. The value of the enum IptSetStatus is now no longer reified; instead, these situations are the three branches of an if, and described in comments. | |||||
| * | | tor-hsservice: ipt_mgr: Rename `irelays` field from `relays` | Ian Jackson | 2023-08-29 | 1 | -12/+12 | |
| | | | | | | | | | | | | | Previous code review comments suggested this variable would be better with a name that more clearly distinguished it from (say) something containing `Relay`s. | |||||
| * | | tor-hsservice: Have the manager be in charge of expiry time | Ian Jackson | 2023-08-29 | 3 | -5/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | Add the expiry time (as wall clock time) to publish::IptSet. The manager is in a good position to know this information. Provide constants that will be used (for now) for actually calculating the expiry times. (Right now the part where the expiry time would actually be calculated doesn't exist, but it will come soon.) | |||||
| * | | tor-hsservice: Allow the manager to tell the publisher to pause | Ian Jackson | 2023-08-29 | 2 | -3/+11 | |
| | | | | | | | | | | | This is to implement the "Unknown" state described in "hssvc-ipt-algorithms.md". | |||||
| * | | tor-hsservice: Dispose of a done TODO comment | Ian Jackson | 2023-08-29 | 1 | -3/+0 | |
| | | | | | | | | | This function *does* take the new introduction points as an argument! | |||||
| * | | tor-hsservice: Change publisher doc comment re intro point changes | Ian Jackson | 2023-08-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | new_intro_points may be called even if they're actually all the same. (We have decided that it is the publisher which is responsible for eliding no-change updates: see the TODO HSS in publish/reactor.rs on Reactor, near l.50. | |||||
| * | | tor-hsservice: Reconcile types between manager and publisher | Ian Jackson | 2023-08-29 | 4 | -22/+21 | |
| | | | | | | | | | | | | | | | | | | | | | Move ipt_mgr::IptSetToPublish to be publish::IptSet, and use it everywhere appropriate. Define descriptor::Ipt to be an IntroPointDesc from tor_netdoc. The manager will have all the information to produce these, so it will be convenient to simply hand them, pre-canned, to the publisher. | |||||
| * | | tor-hsservice: Have Establisher provide more information to Manager (fmt) | Ian Jackson | 2023-08-29 | 1 | -1/+4 | |
| | | | ||||||
| * | | tor-hsservice: Have Establisher provide more information to Manager | Ian Jackson | 2023-08-29 | 3 | -6/+35 | |
| | | | | | | | | | | | | | The establisher has a netdir; the manager generally doesn't. So it will be convenient for the establisher to provide the linkspecs and so on. | |||||
| * | | hs: Intro point selection: Actually call is_hs_intro_point() (fmt) | Ian Jackson | 2023-08-29 | 1 | -5/+5 | |
| | | | ||||||
| * | | hs: Intro point selection: Actually call is_hs_intro_point() | Ian Jackson | 2023-08-29 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | Call site as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1550#note_2936401 Plus a TODO comment with an opinion from me about this API. (Note not a TODO HSS so this is on the back burner.) | |||||
| * | | tor-hsservice: Actually select new intro point relays (fmt) | Ian Jackson | 2023-08-29 | 1 | -2/+6 | |
| | | | ||||||
| * | | tor-hsservice: Actually select new intro point relays | Ian Jackson | 2023-08-29 | 1 | -9/+59 | |
| | | | | | | | | | | | | | | | | | I doubt this would work yet because it will probably crash at startup due to the unhandled error case. Handling the error case would have a conflict with !1549 so let's do that later. | |||||
| * | | Merge branch 'mgr-split' into 'main' | Ian Jackson | 2023-08-29 | 1 | -4/+19 | |
| |\ \ | |/ |/| | | | | | tor-hsservice: ipt mgr: Split up idempotently_progress_things_now See merge request tpo/core/arti!1549 | |||||
| | * | tor-hsservice: ipt mgr: Split up idempotently_progress_things_now | Ian Jackson | 2023-08-25 | 1 | -4/+19 | |
| | | | | | | | | | | | | | | | | | Break publication out of this function, which was rather long. This does seem to make conceptual sense, now I've done it. For example, note how the 2nd half didn't need &mut self, and so doesn't ever `return CONTINUE;` | |||||
| * | | tor-hsservice: Add TODOs for the unimplemented parts. | Gabriela Moldovan | 2023-08-25 | 1 | -0/+57 | |
| | | | ||||||
| * | | tor-hsservice: Get rid of an unnecessary clone. | Gabriela Moldovan | 2023-08-25 | 1 | -5/+3 | |
| | | | ||||||
| * | | tor-hsservice: Remove unnecessary validate() function. | Gabriela Moldovan | 2023-08-25 | 2 | -29/+11 | |
| | | | ||||||
| * | | tor-hsservice: If we can't build the descriptor, log the error (fmt). | Gabriela Moldovan | 2023-08-25 | 1 | -12/+15 | |
| | | | ||||||
| * | | tor-hsservice: If we can't build the descriptor, log the error. | Gabriela Moldovan | 2023-08-25 | 1 | -3/+6 | |
| | | | ||||||
| * | | tor-hsservice: Document the non-Event events handled by the Reactor. | Gabriela Moldovan | 2023-08-25 | 1 | -0/+10 | |
| | | | ||||||
| * | | tor-hsservice: Clarify when `descriptor` is expected to be incomplete. | Gabriela Moldovan | 2023-08-25 | 1 | -0/+3 | |
| | | | ||||||
| * | | tor-hsservice: Explain what UPLOAD_RATE_LIM_THRESHOLD is used for. | Gabriela Moldovan | 2023-08-25 | 1 | -0/+5 | |
| | | | ||||||
| * | | tor-hsservice: Document when recompute_hs_dirs should be called. | Gabriela Moldovan | 2023-08-25 | 1 | -0/+8 | |
| | | | ||||||
| * | | tor-hsservice: s/fetch_hsdirs/compute_hsdirs (fmt). | Gabriela Moldovan | 2023-08-25 | 1 | -1/+2 | |
| | | | ||||||
| * | | tor-hsservice: s/fetch_hsdirs/compute_hsdirs. | Gabriela Moldovan | 2023-08-25 | 1 | -3/+3 | |
| | | | ||||||
| * | | tor-hsservice: Use [v].into_iter() instead of iter::once(v). | Gabriela Moldovan | 2023-08-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-hsservice: Handle schedule_upload_rx.recv() errors. | Gabriela Moldovan | 2023-08-25 | 1 | -2/+4 | |
| | | | ||||||
| * | | tor-hsservice: Remove unnecessary argument from recompute_hs_dirs. | Gabriela Moldovan | 2023-08-25 | 1 | -5/+9 | |
| | | | ||||||
| * | | tor-hsservice: Replace the netdir before recomputing the HsDirs. | Gabriela Moldovan | 2023-08-25 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-hsservice: Add partial descriptor publisher reactor implementation. | Gabriela Moldovan | 2023-08-25 | 4 | -10/+842 | |
| | | | | | | | | | | | | | | | | | This partially implements the descriptor publisher reactor. The code still has many TODOs and there are no tests. Partially implements #977 | |||||
| * | | tor-hsservice: Move PublisherError to a separate module, tweak publisher API. | Gabriela Moldovan | 2023-08-25 | 2 | -5/+47 | |
| | | | ||||||
| * | | tor-hsservice: Make wait_for_netdir* more widely available. | Gabriela Moldovan | 2023-08-25 | 3 | -63/+78 | |
| |/ | | | | | `wait_for_netdir` is needed by the descriptor publisher (to compute the initial netdir). | |||||
| * | hss: Retry rendezvous circuit attempts. | Nick Mathewson | 2023-08-24 | 2 | -8/+27 | |
| | | | | | Closes #1013. | |||||
| * | tor-keymgr, tor-hsservice: Run rustfmt to make derives uglier | Ian Jackson | 2023-08-23 | 1 | -3/+3 | |
| | | ||||||
| * | tor-keymgr, tor-hsservice: deser for ArtiPathComponent and HsNickname | Ian Jackson | 2023-08-23 | 2 | -0/+22 | |
| | | ||||||
| * | tor-hsservice: Use real HsNickname in config | Ian Jackson | 2023-08-23 | 1 | -4/+4 | |
| | | ||||||
| * | tor-hsservice: Use real HsNickname in ipt_mgr | Ian Jackson | 2023-08-23 | 1 | -4/+1 | |
| | | ||||||
| * | tor-hsservice: Provide a sensible HsNickname | Ian Jackson | 2023-08-23 | 3 | -0/+91 | |
| | | ||||||
| * | Rerun maint/add_warning | Ian Jackson | 2023-08-23 | 1 | -0/+1 | |
| | | | | | | Fixes CI. There was a semantic conflict between !1535 (which added a suppression) and !1523 (which added a new module). | |||||
| * | Merge branch 'hss_send_raw' into 'main' | Ian Jackson | 2023-08-23 | 1 | -20/+2 | |
| |\ | | | | | | | | | hss: use send_raw_msg in rend_handshake. See merge request tpo/core/arti!1536 | |||||
| | * | hss: use send_raw_msg in rend_handshake. | Nick Mathewson | 2023-08-22 | 1 | -20/+2 | |
| | | | ||||||
| * | | ipt establisher API: pass a struct to new() (fmt) | Ian Jackson | 2023-08-23 | 1 | -6/+2 | |
| | | | | | | | | | One of rustfmt's changes here is wrong. Whatever. | |||||
| * | | ipt establisher API: pass a struct to new() | Ian Jackson | 2023-08-23 | 2 | -20/+47 | |
| | | | | | | | | | | | | | | | | | Now new() only has a reasonable number of arguments and removes some repetition in the mocking arrangements in the IPT Manager. This is the minimum amount that needs to be done in the commit that touches both the IPT Establisher and the Manager. | |||||
| * | | tor-hsservice: Add a TODO for breaking up the big function | Ian Jackson | 2023-08-23 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934367 | |||||
| * | | tor-hsservice: timeout_track: Add some TODOs | Ian Jackson | 2023-08-23 | 1 | -0/+3 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934299 | |||||
| * | | tor-hsservice: ipt-m: Add a TODO about code motion | Ian Jackson | 2023-08-23 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934300 | |||||
| * | | tor-hsservice: ipt-m: tests: Fix wrong comment | Ian Jackson | 2023-08-23 | 1 | -1/+1 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934298 | |||||
| * | | Fix doc formatting. | gabi-250 | 2023-08-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-hsservice: About half of an IPT Manager | Ian Jackson | 2023-08-23 | 5 | -2/+799 | |
| | | | | | | | | | There are many TODOs and no tests, but it does compile. | |||||
