summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'changelog_20230905' into 'main'Nick Mathewson2023-09-051-1/+237
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Changelog for arti 1.1.8 See merge request tpo/core/arti!1568
| * | | changelog: suggestions from gabi and dizietNick Mathewson2023-09-051-4/+5
| | | |
| * | | CHANGELOG: Add referencesNick Mathewson2023-09-051-3/+109
| | | |
| * | | Add acknowledgments.Nick Mathewson2023-09-051-0/+9
| | | |
| * | | changelog: Minor cleanupsNick Mathewson2023-09-051-4/+0
| | | |
| * | | CHANGELOG: Add "breaking changes" based on semver.md.Nick Mathewson2023-09-051-1/+8
| | | |
| * | | Initial changelog for arti 1.1.8Nick Mathewson2023-09-051-0/+117
| | | |
* | | | Merge branch 'sqlite' into 'main'Nick Mathewson2023-09-051-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CI: Ensure arti runtime deps are installed in shadow and chutney tests See merge request tpo/core/arti!1567
| * | | | CI: Ensure libssl3 is installed in shadow and chutney testsJim Newsome2023-09-051-4/+4
| | | | |
| * | | | CI: Ensure libsqlite3 is installed in shadow and chutney testsJim Newsome2023-09-051-0/+5
| | | | |
* | | | | Merge branch 'doc-fixes' into 'main'Nick Mathewson2023-09-052-3/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-hsservice: Fix broken doc links. See merge request tpo/core/arti!1565
| * | | | tor-hsservice: Fix IPT establisher broken doc link.Gabriela Moldovan2023-09-051-1/+1
| | | | |
| * | | | tor-hsservice: Fix broken publisher reactor broken doc link.Gabriela Moldovan2023-09-051-2/+2
| |/ / /
* | | | Merge branch 'ipt-pub-set' into 'main'Ian Jackson2023-09-053-12/+17
|\ \ \ \ | |/ / / |/| | | | | | | | | | | PublishIptSet and a TODO See merge request tpo/core/arti!1562
| * | | tor-hsservice: Add a TODO HSS re expiry timesIan Jackson2023-09-052-1/+2
| | | |
| * | | tor-hsservice: publish: Add type alias for PublishIptSetIan Jackson2023-09-053-11/+15
|/ / /
* | | Merge branch 'ipt-pub' into 'main'Ian Jackson2023-09-057-73/+308
|\ \ \ | | | | | | | | | | | | | | | | HS: Calculate descriptor sets to publish See merge request tpo/core/arti!1559
| * | | tor-hsservice: Add a TODO re PublishIptSetIan Jackson2023-09-051-0/+2
| | | |
| * | | tor-hsservice: Add commentary re VerbatimLinkSpecCircTargetIan Jackson2023-09-051-0/+9
| | | |
| * | | RustfmtIan Jackson2023-08-301-2/+2
| | | |
| * | | tor-hsservice: ipt_mgr: Clarify/correct `is_good` commentIan Jackson2023-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937979
| * | | tor-hsservice: ipt_mgr: Actually generate k_sidIan Jackson2023-08-301-6/+2
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937978
| * | | tor-hsservice: Fix type of descriptor expiryIan Jackson2023-08-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937976 If we're publishing with Durations, then we can use Instant at least while everything remains in-core.
| * | | tor-hsservice: Fix type of descriptor lifetime in IptSetIan Jackson2023-08-303-6/+6
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937976
| * | | tor-hsservice: publish: Add more docs for `Option<IptSet>`Ian Jackson2023-08-301-0/+2
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937975
| * | | tor-hsservice: ipt_estblish: Add TODOs re netdir monitoringIan Jackson2023-08-301-0/+16
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937973
| * | | tor-hsservice: ipt_mgr: Replace a panicIan Jackson2023-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937971
| * | | tor-hsservice: ipt_mgr: Discussion of IPT publication strategyIan Jackson2023-08-301-2/+20
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937970
| * | | tor-hsservice: ipt_mgr: Remove stray commentIan Jackson2023-08-301-2/+0
| | | | | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1559#note_2937969
| * | | tor-hsservice: ipt_mgr: Calculate a publish::IptSetIan Jackson2023-08-291-6/+79
| | | |
| * | | tor-netdoc: provide a IntroPointDescBuilder (fmt)Ian Jackson2023-08-291-2/+1
| | | |
| * | | tor-netdoc: provide a IntroPointDescBuilderIan Jackson2023-08-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously there was no way to construct one of these during descriptor generation, other than parsing. A fairly simple builder seems right. I felt the builder's setter functions for setting keys should be named precisely after official key names. But the fields weren't, so for now I have done some builder-level renaming.
| * | | tor-hsservice: ipt_mgr: Break out Ipt::is_good (fmt)Ian Jackson2023-08-291-2/+1
| | | |
| * | | tor-hsservice: ipt_mgr: Break out Ipt::is_goodIan Jackson2023-08-291-4/+11
| | | | | | | | | | | | | | | | | | | | I'm going to want to reuse this, and it makes the code clearer at the one call site already.
| * | | tor-hsservice: ipt_mgr: Sort-of create IPT key materialIan Jackson2023-08-291-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the key material to `struct Ipt`, and add some code to generate it. However, this is all rather unsatisfactory. I got a bit lost in the maze of 25519 key types, and neded up making a provisional dummy `NtorKeyPair` type, which will need to be deleted again. And, I wasn't able to generate K_hs_ipt_sid because of a mismatch in Rng traits, which seems to be caused by us not properly wrapping up the underlying crypto key types ? At least the warts seem to be fairly localised.
| * | | tor-hsservice: ipt_mgr: Reorganise publication set handlingIan Jackson2023-08-291-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 Jackson2023-08-291-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 timeIan Jackson2023-08-293-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 pauseIan Jackson2023-08-292-3/+11
| | | | | | | | | | | | | | | | | | | | This is to implement the "Unknown" state described in "hssvc-ipt-algorithms.md".
| * | | tor-hsservice: Dispose of a done TODO commentIan Jackson2023-08-291-3/+0
| | | | | | | | | | | | | | | | This function *does* take the new introduction points as an argument!
| * | | tor-hsservice: Change publisher doc comment re intro point changesIan Jackson2023-08-291-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 publisherIan Jackson2023-08-294-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 Jackson2023-08-291-1/+4
| | | |
| * | | tor-hsservice: Have Establisher provide more information to ManagerIan Jackson2023-08-293-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.
* | | | Merge branch 'hop-num-todo' into 'main'Nick Mathewson2023-08-304-24/+57
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | tor-proto: Make HopNum indices appear 1-based in the Display impl. Closes #996 See merge request tpo/core/arti!1548
| * | | tor-proto: Use HopNum::display() instead of Debug representation.Gabriela Moldovan2023-08-251-3/+3
| | | |
| * | | tor-proto: Remove the Display impl of HopNum (fmt).Gabriela Moldovan2023-08-251-6/+6
| | | |
| * | | tor-proto: Remove the Display impl of HopNum.Gabriela Moldovan2023-08-252-15/+9
| | | | | | | | | | | | | | | | | | | | This removes the `Display` impl of `HopNum` and replaces its usage with `HopNum::display`.
| * | | tor-proto: Add a HopNum::display function.Gabriela Moldovan2023-08-253-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function can be used to display a more user-friendly representation of a `HopNum`. This will print hop numbers as 1-indexed values: #1, #2, etc.. We will soon remove HopNum's Display implementation in favour of `.display()`.
| * | | tor-proto: Make HopNum indices appear 1-based in the Display impl.Gabriela Moldovan2023-08-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes `HopNum`s display as 1-indexed values. This will make error messages more intuitive, because when talking about an N-hop circuit, we generally speak in terms of hops 1..N (rather than 0..N-1). Internally, our `HopNum` indices are still 0-based. Closes #996