summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Declare arti-hyper obsolete and unmaintainedIan Jackson2024-05-021-1/+18
| | | |/ | | |/|
| * | | Add requisite RPC method name prefixesNick Mathewson2024-05-061-2/+2
| | | |
| * | | Circuit reactor: use refutable let to unnest some codeJim Newsome2024-05-061-34/+35
| | | |
| * | | Circuit reactor: rename 'hop to 'hop_outboundJim Newsome2024-05-061-3/+3
| | | | | | | | | | | | | | | | | | | | It was a bit misleading since it doesn't cover all processing for the hop.
| * | | Circuit reactor run_once: remove a level of nestingJim Newsome2024-05-061-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of an `if` block by changing the guarded loop to check its conditions at the beginning of the loop instead of the end. This is a slight behavior change, since previously channel readiness wasn't checked before the first iteration of the loop.
| * | | circuit reactor run_once: remove a level of nestingJim Newsome2024-05-061-90/+87
| | | | | | | | | | | | | | | | | | | | | | | | This should be a pure refactor. We remove a large if block and modify the first loop inside it to check whether the channel is ready before each attempt to send a message instead of after.
| * | | TorClient: Slightly cleaner (?) interface for registering RPC methods.Nick Mathewson2024-05-063-5/+24
| | | |
| * | | Add a note about declaring get and watch functions.Nick Mathewson2024-05-061-0/+6
| | | |
| * | | Add a note about why the RPC functions aren't declared as methods.Nick Mathewson2024-05-061-0/+5
| | | |
| * | | RPC: Send "null" for blockage rather than omitting it.Nick Mathewson2024-05-061-2/+1
| | | |
| * | | Lightly simplify the syntax for installing multiple InvokerEntsNick Mathewson2024-05-062-2/+42
| | | |
| * | | RPC: Implement methods to get and watch client bootstrap status.Nick Mathewson2024-05-065-3/+121
| | | |
| * | | Add a const instance of rpc::Nil.Nick Mathewson2024-05-061-0/+2
| | | |
| * | | rpc: Remove a limitation on DynMethod macro.Nick Mathewson2024-05-061-6/+5
| | |/ | |/| | | | | | | It no longer requires the user to have `typetag` in scope.
| * | tor-rpcbase: Require downcast_rs 1.2.1Nick Mathewson2024-05-051-1/+1
| | | | | | | | | | | | This resolves a clippy warning about redundant bounds.
| * | Allow DropStatus to be unused.Nick Mathewson2024-05-051-0/+1
| | | | | | | | | | | | (It appears to be test-only.)
| * | Remove two unused cases of "TestError"Nick Mathewson2024-05-052-6/+0
| | |
| * | Resolve some clippy warnings about empty rustdoc.Nick Mathewson2024-05-054-13/+7
| |/ | | | | | | | | (In most cases, by writing the documentation; in tests, by permitting the documentation to be missing.)
| * Remove semver.md, post releaseIan Jackson2024-04-301-1/+0
| |
* | tor-circmgr: If necessary, extend the circuit to become STUB+.Gabriela Moldovan2024-05-151-8/+42
| | | | | | | | Closes #1400
* | tor-circmgr: Add a helper for extending HsCircStubs by one hop.Gabriela Moldovan2024-05-151-2/+15
| | | | | | | | | | | | We're about to use this in `maybe_extend_stub_circuit` too. Part of #1400
* | arti: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
| | | | | | | | This contains the fix for TROVE-2024-003 (arti#1409).
* | tor-circmgr: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
| |
* | tor-circmgr: Fix path not being extended if lite vanguards are enabled.Gabriela Moldovan2024-05-151-1/+10
| |
* | tor-circmgr: Assign error-handling closure to variable.Gabriela Moldovan2024-05-151-7/+10
| | | | | | | | We will soon need to reuse this.
* | tor-circmgr: Rename neighbor_exclusion variables for clarity.Gabriela Moldovan2024-05-151-4/+4
| | | | | | | | | | | | I am about to reuse one of these on the "lite" vanguards branch. I am renaming them to make it easier to see which one of the two I will be using.
* | tor-circmgr: After building the HS path, assert the length is correct.Gabriela Moldovan2024-05-151-1/+18
|/ | | | | | One of these assertions currently fails, because we have a bug in the vanguard path builder: if lite vanguards are enabled, we only build 2-hop circuits instead of 3.
* Update separate lockfilesIan Jackson2024-04-302-3/+3
|
* Bump versions of 0.x tor-* and arti-* cratesIan Jackson2024-04-3044-353/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for p in `cat ../u`; do cargo set-version --locked --offline -p $p; done where u contains tor-basic-utils tor-async-utils tor-error tor-config tor-units tor-geoip tor-rtcompat tor-rtmock tor-log-ratelim tor-rpcbase tor-memquota tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-hyper
* Bump versions of crates with nonfunctional changesIan Jackson2024-04-303-3/+3
| | | | | | | | | | for p in `cat ../u`; do maint/bump_nodep $p; git commit -a -m X; done where u contains hashx equix fs-mistrust
* Bump version of artiIan Jackson2024-04-303-3/+3
| | | | cargo set-version --locked --offline --bump patch -p arti
* tor-memquota: Add contents of full featureIan Jackson2024-04-301-1/+1
| | | | From fixup-features
* arti-client: vanguards cargo feature: remove from experimentalIan Jackson2024-04-301-1/+0
| | | | Followup to !2109.
* Merge branch 'enable-vanguards' into 'main'Ian Jackson2024-04-308-28/+62
|\ | | | | | | | | arti-client: Make vanguards non-experimental. See merge request tpo/core/arti!2109
| * tor-guardmgr: Make remove_unlisted return the number of unlisted vanguards.Gabriela Moldovan2024-04-301-2/+4
| | | | | | | | For symmetry with remove_expired.
| * tor-guardmgr: Make remove_expired return the number of expired vanguards.Gabriela Moldovan2024-04-302-20/+25
| | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2109#note_3024672
| * tor-guardmgr: Prevent misleading logs when not rotating vanguards.Gabriela Moldovan2024-04-292-2/+15
| | | | | | | | | | `rotate_expired()` now only logs that it is rotating the vanguards if some existing vanguards have actually expired.
| * tor-circmgr: Don't log unless we are launching some circuits.Gabriela Moldovan2024-04-291-5/+7
| | | | | | | | Otherwise we end up logging that we're launching 0 circuits.
| * tor-guardmgr: Make a vanguard log message more accurate.Gabriela Moldovan2024-04-291-1/+1
| | | | | | | | | | We flush every time the vanguards may have changed, but we don't know for sure if they did.
| * arti: Make vanguards a default feature.Gabriela Moldovan2024-04-291-0/+1
| |
| * arti-client: Make vanguards non-experimental.Gabriela Moldovan2024-04-295-10/+21
| | | | | | | | This makes the vanguards feature non-experimental.
* | Merge branch 'quota-rename' into 'main'Ian Jackson2024-04-2917-10/+10
|\ \ | |/ |/| | | | | Rename tor-memtrack to tor-memquota See merge request tpo/core/arti!2105
| * Rename tor-memtrack to tor-memquotaIan Jackson2024-04-2917-10/+10
| |
* | Merge branch 'report-readiness-no-cache' into 'main'gabi-2502024-04-291-0/+3
|\ \ | | | | | | | | | | | | properly report bootstrap readiness without cache See merge request tpo/core/arti!2107
| * | properly report bootstrap readiness without cachetrinity-1686a2024-04-291-0/+3
| |/
* | tor-circmgr: Remove no-longer-relevant TODO.Gabriela Moldovan2024-04-291-1/+1
| | | | | | | | The wanted_kind _does_ matter.
* | tor-circmgr: The circuit must still be usable, even if vanguards are enabled.Gabriela Moldovan2024-04-291-3/+1
| |
* | tor-circmgr: Prefer STUB+ where possible.Gabriela Moldovan2024-04-292-10/+61
| | | | | | | | Closes #1385
* | tor-circmgr: Remove no-longer-needed dead_code allow.Gabriela Moldovan2024-04-291-1/+0
| |
* | Merge branch 'launch-stub-circuits' into 'main'gabi-2502024-04-292-47/+166
|\ \ | | | | | | | | | | | | | | | | | | tor-circmgr: Make a fraction of preemptive HS circuits be STUB+. Closes #1353 See merge request tpo/core/arti!2102