| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-hsservice: Abort the upload task if all HSDirs have the latest descriptor. | Gabriela Moldovan | 2023-10-03 | 1 | -0/+5 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Rewrite map() as a for-loop (fmt). | Gabriela Moldovan | 2023-10-03 | 2 | -111/+112 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Rewrite map() as a for-loop. | Gabriela Moldovan | 2023-10-03 | 1 | -8/+2 | |
| | | | | | | | | | | | | | | | | | | | | | This fixes a clippy complexity warning. It also makes the code more readable, IMO. | |||||
| | * | | | tor-hsservice: Add trace-level logs for the desc publisher. | Gabriela Moldovan | 2023-10-03 | 1 | -0/+10 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Fix deadlock. | Gabriela Moldovan | 2023-10-03 | 1 | -13/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When called by `Reactor::upload_all()`, `Reactor::netdir()` deadlocks (`netdir()` needs to acquire the `inner` lock, but `inner` is already held by `upload_all`). Since `netdir()` is only called in `upload_all()`, let's fix the deadlock by inlining it at the callsite. | |||||
| | * | | | tor-hsservice: Fix publisher state not being updated. | Gabriela Moldovan | 2023-10-03 | 1 | -9/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The publisher was stuck in the `AwaitingIpts` state because of a logic bug in the `update_publisher_state` function. The publisher now breaks out of the `AwaitingIpts` state upon receiving new IPTs from the IPT manager. | |||||
| | * | | | tor-netdir: Fix broken condition. | Gabriela Moldovan | 2023-10-03 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The statement ``` if hsids.all(|(_hsid, period)| rings.any(|(_, _, tp)| tp == period)) { ``` had 2 bugs: * the condition is reversed (it should be negated: we need to bail if one of the specified `hsids` cannot be found on any of our rings) * `rings.any()` mutates the `rings` iterator, causing `hs_dirs_upload` to return fewer HSDirs than expected | |||||
| | * | | | tor-hsservice: Log a warning if the publisher reactor shuts down. | Gabriela Moldovan | 2023-10-03 | 2 | -3/+8 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Rename the real version of the publisher mockable state. | Gabriela Moldovan | 2023-10-03 | 3 | -15/+7 | |
| | | | | | | | | | | | | | | | | | | | | | This renames `ReactorState` to `Real`, for consistency with `ipt_mgr`, which calls the real version of its mockable state `Real`. | |||||
| | * | | | tor-hsservice: Make the publisher generic over the mockable state (circpool ↵ | Gabriela Moldovan | 2023-10-03 | 3 | -16/+20 | |
| | | | | | | | | | | | | | | | | | provider). | |||||
| | * | | | tor-keymgr: Implement ArtiNativeKeystore::insert for public keys. | Gabriela Moldovan | 2023-10-03 | 1 | -3/+7 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Add more key roles. | Gabriela Moldovan | 2023-10-03 | 2 | -2/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds a couple of new `HsSvcKeyRoles` for: * `KS_hs_id` keypairs * `KP_hs_blind_id` public keys keys | |||||
| | * | | | tor-proto: Fix clippy warning. | Gabriela Moldovan | 2023-10-03 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Remove unnecessary allow annotations. | Gabriela Moldovan | 2023-10-03 | 1 | -2/+0 | |
| | | | | | ||||||
| * | | | | Merge branch 'ipt-set' into 'main' | Ian Jackson | 2023-10-03 | 1 | -0/+42 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | tor-hsservice: Provide IptsPublisherUploadView See merge request tpo/core/arti!1636 | |||||
| | * | | | tor-hsservice: Provide IptsPublisherUploadView | Ian Jackson | 2023-10-03 | 1 | -0/+42 | |
| |/ / / | ||||||
| * | | | Remove semver.md files now that 1.1.9 is out. | Nick Mathewson | 2023-10-02 | 9 | -18/+0 | |
| | | | | ||||||
| * | | | tor-hsservice should depend on an explicit version of tor-bytes.arti-v1.1.9 | Nick Mathewson | 2023-10-02 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Enable publication on tor-hsservice. | Nick Mathewson | 2023-10-02 | 1 | -2/+0 | |
| | | | | ||||||
| * | | | Bump tor-dirclient patchlevel, since its dependency changed. | Nick Mathewson | 2023-10-02 | 5 | -5/+5 | |
| | | | | ||||||
| * | | | Merge branch 'version_bumps' into 'main' | Nick Mathewson | 2023-10-02 | 37 | -224/+224 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Bump versions in preparations for today's releases See merge request tpo/core/arti!1635 | |||||
| | * | | | Update other cargo.lock files. | Nick Mathewson | 2023-10-02 | 2 | -3/+3 | |
| | | | | | ||||||
| | * | | | Patchlevel bumps to crates whose dependencies just changed. | Nick Mathewson | 2023-10-02 | 20 | -33/+33 | |
| | | | | | | | | | | | | | | | | | (The only change in these crates is that their dependencies changed.) | |||||
| | * | | | Minor-version bumps, for crates with breaking changes. | Nick Mathewson | 2023-10-02 | 17 | -47/+47 | |
| | | | | | ||||||
| | * | | | Patchlevel bumps, with dependents affected. | Nick Mathewson | 2023-10-02 | 35 | -135/+135 | |
| | | | | | ||||||
| | * | | | Trivial version bumps: patchlevel only. | Nick Mathewson | 2023-10-02 | 4 | -6/+6 | |
| |/ / / | | | | | | | | | | | | | These crates have had changes that do not require their dependents to require a later version. | |||||
| * | | | Merge branch 'changelog-119' into 'main' | Nick Mathewson | 2023-10-02 | 1 | -0/+160 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Change log for Arti 1.1.9 See merge request tpo/core/arti!1633 | |||||
| | * | | | refer to the right version in the changelog. | Nick Mathewson | 2023-10-02 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Change log for Arti 1.1.9 | Nick Mathewson | 2023-10-02 | 1 | -0/+160 | |
| |/ / / | ||||||
| * | | | Merge branch 'fixup-features-oct2' into 'main' | Nick Mathewson | 2023-10-02 | 6 | -6/+6 | |
| |\ \ \ | |/ / |/| | | | | | | | | Run "fixup-features" on arti crates. See merge request tpo/core/arti!1632 | |||||
| | * | | Run "fixup-features" on arti crates. | Nick Mathewson | 2023-10-02 | 6 | -6/+6 | |
| |/ / | ||||||
| * | | Merge branch 'downgrade-async-process' into 'main' | Nick Mathewson | 2023-09-30 | 1 | -24/+6 | |
| |\ \ | | | | | | | | | | | | | Downgrade async-process to 1.7.0. See merge request tpo/core/arti!1631 | |||||
| | * | | Downgrade async-process to 1.7.0. | Nick Mathewson | 2023-09-30 | 1 | -24/+6 | |
| |/ / | | | | | | | Cargo-audit reports that v1.8.0 has been yanked. | |||||
| * | | Merge branch 'fix-doc-warning' into 'main' | Nick Mathewson | 2023-09-30 | 1 | -2/+2 | |
| |\ \ | | | | | | | | | | | | | tor-hsrproxy: Fix relative documentation warning See merge request tpo/core/arti!1630 | |||||
| | * | | tor-hsrproxy: Fix relative documentation warning | Emil Engler | 2023-09-30 | 1 | -2/+2 | |
| |/ / | | | | | | | | | This commit fixes a warning in the documentation, caused by an unresolved name. | |||||
| * | | Merge branch 'update' into 'main' | Nick Mathewson | 2023-09-29 | 1 | -178/+208 | |
| |\ \ | | | | | | | | | | | | | Run cargo update in preparation for monday release. See merge request tpo/core/arti!1628 | |||||
| | * | | Downgrade tinystr to 0.7.1, which has the old license. | Nick Mathewson | 2023-09-28 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Run cargo update in preparation for monday release. | Nick Mathewson | 2023-09-28 | 1 | -180/+210 | |
| |/ / | ||||||
| * | | Merge branch 'misc-upgrades' into 'main' | Nick Mathewson | 2023-09-28 | 13 | -50/+56 | |
| |\ \ | | | | | | | | | | | | | Upgrade several dependencies See merge request tpo/core/arti!1626 | |||||
| | * | | Remove direct dependency on generic-array | Nick Mathewson | 2023-09-28 | 7 | -23/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of tying ourselves to a particular version of the generic-array crate, we now always use the version re-exported by our RustCrypto crates. This lets us avoid the possibility of version mismatch. (Originally I had planned to upgrade to generic-array 1.0, but then I found that we were not actually using it.) | |||||
| | * | | Upgrade async_executors dependency to 0.7.0 | Nick Mathewson | 2023-09-28 | 3 | -11/+16 | |
| | | | | ||||||
| | * | | pt-proxy example: Upgrade to fast-socks5 v0.9.1. | Nick Mathewson | 2023-09-28 | 3 | -5/+6 | |
| | | | | ||||||
| | * | | Upgrade memmap2 dependency to 0.8.0 | Nick Mathewson | 2023-09-28 | 2 | -4/+4 | |
| | | | | ||||||
| | * | | Upgrade event_listener dependency to 3.0.0 | Nick Mathewson | 2023-09-28 | 3 | -7/+18 | |
| | | | | ||||||
| * | | | Merge branch 'less-spaghetti-zeroize' into 'main' | gabi-250 | 2023-09-28 | 1 | -6/+2 | |
| |\ \ \ | |/ / |/| | | | | | | | | tor-proto: Replace repeating pattern with fill See merge request tpo/core/arti!1627 | |||||
| | * | | tor-proto: Replace repeating pattern with fill | Emil Engler | 2023-09-28 | 1 | -6/+2 | |
| |/ / | | | | | | | | | | | | | | | | | This commit replaces a repeating code pattern in the `set_digest` function for setting the 'Recognized' and Digest field to zero with a slice fillment. Besides this, it also adds comments explaining which fields are currently getting zeroized. | |||||
| * | | Merge branch 'implement-rproxy' into 'main' | Nick Mathewson | 2023-09-27 | 14 | -47/+538 | |
| |\ \ | | | | | | | | | | | | | Start implementing tor-hsrproxy See merge request tpo/core/arti!1622 | |||||
| | * | | hsrproxy: detect shutdown correctly. | Nick Mathewson | 2023-09-27 | 1 | -6/+23 | |
| | | | | ||||||
| | * | | hsrproxy: improve error handling somewhat | Nick Mathewson | 2023-09-27 | 3 | -34/+114 | |
| | | | | | | | | | | | | | | | | With this patch we now propagate errors upwards rather than handling them at the lowest possible level. | |||||
| | * | | rproxy: Implement the actual "proxy" part of the code. | Nick Mathewson | 2023-09-27 | 1 | -10/+78 | |
| | | | | | | | | | | | | | | | | Now we finally have the code to copy the data back and forth on the two AsyncRead+AsyncWrite objects that we create. | |||||
