summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Add exception for cfg(fuzzing) in tor-netdocNick Mathewson2024-05-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The use of cfg(fuzzing) here is reasonable and localized, but we need to permit it to avoid a warning from #1395.
| | * | | tor-consdiff: Avoid cfg(fuzzing).Nick Mathewson2024-05-072-4/+5
| | |/ / | | | | | | | | | | | | | | | | This now generates an error (per #1395), and everything we used it for is also available as a feature.
| * / / Use the right feature name for an allow(dead_code).Nick Mathewson2024-05-071-1/+1
| |/ /
| * | Merge branch 'void' into 'main'Nick Mathewson2024-05-072-7/+11
| |\ \ | | | | | | | | | | | | | | | | tor-rpcbase: Use Void to eliminate a panic, as statically unreachable See merge request tpo/core/arti!2124
| | * | tor-rpcbase: Use Void to eliminate a panic, as statically unreachableIan Jackson2024-05-022-7/+11
| | | |
| * | | Merge branch 'new_ci_cfg_strategy' into 'main'Nick Mathewson2024-05-0755-110/+110
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | add_warning/CI: New strategy to avoid "unexpected-cfgs" warning Closes #1395 See merge request tpo/core/arti!2129
| | * | Re-run maint/add_warning.Nick Mathewson2024-05-0655-110/+110
| | | | | | | | | | | | | | | | This commit is automatically generated.
| * | | Merge branch 'keymgr-test-utils' into 'main'gabi-2502024-05-074-50/+105
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Move test constants to test_utils. Closes #1363 See merge request tpo/core/arti!2125
| | * | | tor-keymgr: Make test module private again.Gabriela Moldovan2024-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't need to be public anymore now that the test keys are exported from `test_utils`. Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2076#note_3016577
| | * | | tor-keymgr: Move TestSpecifier to test_utils.Gabriela Moldovan2024-05-073-26/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used by `ArtiNativeKeystore` and the `EphemeralKeystore`. Moving it to test_utils means `EphemeralKeystore` no longer needs to import test helpers from the arti module.
| | * | | tor-keymgr: Move test constants to test_utils.Gabriela Moldovan2024-05-074-23/+55
| | | | | | | | | | | | | | | | | | | | | | | | | Closes #1363 and addresses a handful of TODOs about `include_str!`ing the same key multiple times from various test modules.
| * | | | Merge branch 'hyper' into 'main'gabi-2502024-05-071-1/+18
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Declare arti-hyper obsolete and unmaintained See merge request tpo/core/arti!2127
| | * | | 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.