summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | hsrproxy: implement builders and serde.Nick Mathewson2023-09-073-5/+80
| | |
| * | hsrproxy: implement parse/encode for patterns and targets.Nick Mathewson2023-09-073-5/+260
| | |
| * | Create a tor-hsrproxy crate to handle "proxy to local port".Nick Mathewson2023-09-076-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm calling this a "reverse proxy" since I think a lot of folks like that terminology, though I'm not personally a huge fan. Calling it "`tor-hsproxy`" would IMO confuse people more about what kind of proxy it was. This is a separate crate from `tor-hsservice` because it's logically at a different level: if you're writing a little embedded onion service, you don't need this code. Right now there is only configuration logic here.
| * | hss: Add configuration fields for onion services.Nick Mathewson2023-08-282-5/+88
| | |
| * | hssvc-high-level-apis: link to MR comments; add num_intro_pointsNick Mathewson2023-08-281-0/+7
| | |
* | | Merge branch 'publisher-postage' into 'main'Ian Jackson2023-09-073-69/+45
|\ \ \ | | | | | | | | | | | | | | | | tor-hsservice: Use the new IPT change notifier API. See merge request tpo/core/arti!1576
| * | | tor-hsservice: Remove unused Event struct (fmt).Gabriela Moldovan2023-09-062-3/+3
| | | |
| * | | tor-hsservice: Remove unused Event struct.Gabriela Moldovan2023-09-062-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 Moldovan2023-09-062-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 Moldovan2023-09-062-4/+12
| | | |
| * | | tor-hsservice: Use the new IPT change notifier API.Gabriela Moldovan2023-09-062-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 Moldovan2023-09-061-0/+4
| | | |
* | | | Merge branch 'fixed-capacity-vec' into 'main'gabi-2502023-09-067-300/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Switch to FixedCapacityVec from crates.io See merge request tpo/core/arti!1563
| * | | | Switch to FixedCapacityVec 0.1.0 from crates.ioIan Jackson2023-09-067-300/+23
| | | | |
* | | | | Merge branch 'arti-merge-sample-projects-redux-rebased' into 'main'Nick Mathewson2023-09-0637-13/+2611
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Rebased attempt to merge gsoc2023 examples See merge request tpo/core/arti!1574
| * | | | obs4-checker/README.md: annotate verbatim sectionsNick Mathewson2023-09-051-3/+3
| | | | |
| * | | | matrix_test: find directories correctlyNick Mathewson2023-09-051-2/+12
| | | | |
| * | | | Update "list_crates" to handle examples right.Nick Mathewson2023-09-051-6/+6
| | | | |
| * | | | downgrade_dependencies: upgrade "log"Nick Mathewson2023-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | We don't use "log" but some dependency of one of our examples does.
| * | | | obfs4-checker: port from chrono to time.Nick Mathewson2023-09-054-44/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Chrono is unmaintained, I think, and uses a version of `time` that cargo-audit doesn't like.
| * | | | Use a more recent tracing_subscriber in examples.Nick Mathewson2023-09-056-70/+20
| | | | | | | | | | | | | | | | | | | | Part of a solution for cargo-audit.
| * | | | Check-licenses: Allow "MIT AND BSD-3-Clause"Nick Mathewson2023-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have automatic support for "OR", but we can't do anything automated with AND, since the intersection of licenses can get complicated. So we just have to authorize the specific combinations that exist. This is used by matchit, which is used in the gotlou's examples.
| * | | | Set license on gsoc2023 examples to "MIT OR Apache-2.0"Nick Mathewson2023-09-055-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | With permission from gotlou; see discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1556
| * | | | Teach check_toposort to not expect examples in crates/Nick Mathewson2023-09-051-1/+1
| | | | |
| * | | | Add a README to gsoc2023 directory.Nick Mathewson2023-09-051-0/+3
| | | | |
| * | | | Remove cargo.lock from download-manager.Nick Mathewson2023-09-051-3895/+0
| | | | |
| * | | | Move examples to examples/gsoc2023Nick Mathewson2023-09-0524-40/+40
| | | | |
| * | | | Add cognitive-complexity exceptions for clippy.Nick Mathewson2023-09-058-0/+10
| | | | | | | | | | | | | | | | | | | | I have no idea why these became necessary.
| * | | | examples: set publish = false on all.Nick Mathewson2023-09-054-0/+4
| | | | |
| * | | | examples: Run cargo sort to reformat.Nick Mathewson2023-09-055-10/+5
| | | | |
| * | | | examples: Sort dependencies.Nick Mathewson2023-09-054-31/+31
| | | | |
| * | | | connection-checker: add newlines to example filesNick Mathewson2023-09-052-2/+2
| | | | |
| * | | | update: Cargo.lockSaksham Mittal2023-09-051-22/+417
| | | | |
| * | | | fix: use relative paths for arti dependenciesSaksham Mittal2023-09-055-19/+19
| | | | |
| * | | | fix: add examples to main Cargo.tomlSaksham Mittal2023-09-051-0/+6
| | | | |
| * | | | Initial commit for Arti sample projectsSaksham Mittal2023-09-0522-0/+6136
| | | | |
* | | | | Merge branch 'ipt-set' into 'main'gabi-2502023-09-066-48/+191
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | tor-hsservice: PublishIptSet reorg and new publisher/manager intermediary API See merge request tpo/core/arti!1575
| * | | | tor-hsservice: ipt_set: Define the APIIan Jackson2023-09-061-1/+90
| | | | |
| * | | | tor-hsservice: ipt_set: Define the shared data structureIan Jackson2023-09-063-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 Jackson2023-09-061-1/+1
| | | | |
| * | | | tor-hsservice: Move PublishIptSet and its pieces into a new moduleIan Jackson2023-09-066-48/+54
|/ / / / | | | | | | | | | | | | | | | | This is going to be complicated enough we probably want it split out of the publisher.
* | | | Merge branch 'desc-publisher-tps' into 'main'gabi-2502023-09-061-106/+73
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-hsservice: Replace {current,previous}_period with a list of time periods. See merge request tpo/core/arti!1564
| * | | tor-hsservice: Update our list of relevant TPs whenever the consensus changes.Gabriela Moldovan2023-09-061-3/+3
| | | |
| * | | tor-hsservice: Update outdated docs.Gabriela Moldovan2023-09-061-1/+1
| | | |
| * | | tor-hsservice: Remove outdated TODO.Gabriela Moldovan2023-09-061-2/+0
| | | |
| * | | tor-hsservice: Replace {current,previous}_period with a list of time periods.Gabriela Moldovan2023-09-061-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 Moldovan2023-09-061-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 Moldovan2023-09-061-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
* | | Remove semver.md now that 1.1.8 is out.Nick Mathewson2023-09-0513-58/+0
| | |
* | | Merge branch 'bumps' into 'main'arti-v1.1.8Ian Jackson2023-09-0551-726/+694
|\ \ \ | | | | | | | | | | | | | | | | Version bumps in preparation for today's release See merge request tpo/core/arti!1570