summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | fallbackdir: Update list generated on February 05, 2025Tor CI Release2025-02-111-889/+922
| | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | tor-proto: Fold the CommandHandler into ControlHandler.Gabriela Moldovan2025-02-112-95/+79
|/ | | | | | | | This gets rid of a bit of a duplicated code. It also moves `CtrlCmd` closer to `CtrlMsg`. Offshoot from my WIP conflux branch for #1838
* tor-proto: added 'semver.md' fileSteven Engler2025-02-101-0/+1
|
* tor-proto: remove `ClientCirc::channel`Steven Engler2025-02-101-26/+2
|
* tor-dirclient: modify `check_circuit` to use `first_hop_clock_skew`Steven Engler2025-02-102-15/+30
|
* tor-proto: add `ClientCirc::first_hop_clock_skew`Steven Engler2025-02-103-0/+33
|
* Merge branch 'bug1839' into 'main'opara2025-02-101-2/+7
|\ | | | | | | | | | | | | conflux: Split off `time_provider` from `channel` in `ClientCirc` Closes #1839 See merge request tpo/core/arti!2772
| * conflux: Split off `time_provider` from `channel` in `ClientCirc`Neel Chauhan2025-02-101-2/+7
| |
* | tor-hsservice: Change replay/mod.rs to replay.rs.Wesley Aptekar-Cassels2025-02-101-0/+0
| | | | | | | | We have a new lint that requires this.
* | tor-hsservice: Change unclear names in ReplayLog.Wesley Aptekar-Cassels2025-02-102-21/+21
| |
* | tor-hsservice: Assert that hash length is correct in ReplayLog.Wesley Aptekar-Cassels2025-02-101-0/+3
| |
* | tor-hsservice: Change ReplayLog parse_log_leafname API.Wesley Aptekar-Cassels2025-02-103-8/+11
| | | | | | | | | | This previously returned a &str for sort of unclear reasons, which was only used in logging. Remove that.
* | tor-hsservice: Fix some comments in ReplayLog.Wesley Aptekar-Cassels2025-02-101-2/+5
| |
* | tor-hsservice: Make TODOs not doccomments.Wesley Aptekar-Cassels2025-02-101-2/+2
| |
* | tor-hsservice: Rename some variables to reflect refactor.Wesley Aptekar-Cassels2025-02-101-22/+22
| | | | | | | | | | | | Get rid of anything talking about hashes or "h" in mod.rs, since that should now be relegated to ipt.rs. Fix some other things to use generic names as well.
* | tor-hsservice: Add whitespace.Wesley Aptekar-Cassels2025-02-101-0/+1
| |
* | tor-hsservice: Update comment in replay log code.Wesley Aptekar-Cassels2025-02-101-1/+3
| |
* | tor-hsservice: Remove ReplayLog::check_inner.Wesley Aptekar-Cassels2025-02-101-9/+2
| | | | | | | | | | | | This didn't really need to be a helper, we can just do everything in check_for_replay. It was a helper since we previously couldn't test the check_for_replay function, but now that this is generic we can.
* | tor-hsservice: Remove ReplayLog HASH_LEN constant.Wesley Aptekar-Cassels2025-02-101-9/+8
| | | | | | | | | | This needed to be the same as the MESSAGE_LEN constant, so we should just use the same constant for both.
* | tor-hsservice: Clean up replay::ipt::hash types.Wesley Aptekar-Cassels2025-02-101-9/+6
| | | | | | | | | | I don't think a newtype here was really buying us anything. Might as well get rid of it.
* | tor-hsservice: Move replay::hash into replay::ipt::hash.Wesley Aptekar-Cassels2025-02-102-75/+83
| | | | | | | | The IPT log is the only one that will need hashing, so move that code.
* | tor-hsservice: Move ReplayLog hashing out of generic code.Wesley Aptekar-Cassels2025-02-102-19/+20
| |
* | tor-hsservice: Stop using check_inner in ReplayLog tests.Wesley Aptekar-Cassels2025-02-101-41/+69
| | | | | | | | | | | | This is a internal detail that the tests shouldn't care about. This will also allow us to make hashing a detail handled by IptReplayLogType, rather than having it in the generic code.
* | tor-hsservice: Make ReplayLog magic bytes generic.Wesley Aptekar-Cassels2025-02-102-12/+21
| | | | | | | | This will ensure that we can't confuse different types of replay logs.
* | tor-hsservice: Make ReplayLog generic.Wesley Aptekar-Cassels2025-02-105-50/+102
| |
* | tor-hsservice: Make directory for replay module.Wesley Aptekar-Cassels2025-02-101-0/+0
|/ | | | | This will shortly become multiple files, so it will be helpful to have it in a directory.
* Merge branch 'remove-reactor-param' into 'main'David Goulet2025-02-102-18/+5
|\ | | | | | | | | tor-proto: Remove unnecessary param in handshake handler. See merge request tpo/core/arti!2774
| * tor-proto: Remove unnecessary param in handshake handler (fmt).Gabriela Moldovan2025-02-061-12/+3
| |
| * tor-proto: Remove unnecessary param in handshake handler.Gabriela Moldovan2025-02-062-6/+2
| | | | | | | | | | | | | | | | | | The `Reactor` argument is never used, so we can just remove it from the trait. Removing this arg also simplifies #1838 for me (I am moving some code around, and the calls to `handle_sever_aux_data` no longer have access to the `Reactor`).
* | Remove semver.md files post releaseIan Jackson2025-02-074-13/+0
| |
* | Bump minor version of fs-mistrustIan Jackson2025-02-0714-14/+14
| | | | | | | | Fixes #1841.
* | Merge branch 'versions' into 'main'Ian Jackson2025-02-0649-454/+454
|\ \ | | | | | | | | | | | | Version bumps for 1.4.0 See merge request tpo/core/arti!2773
| * | Version bumps to 0.27.0Ian Jackson2025-02-0648-437/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See Release.md. maint/list_crates | grep -P '^tor-|^arti-' | xargs -n1 nailing-cargo -Eu set-version --bump minor -p This completes the version bumps. The report of changed crates, before I started the release work, is: $ maint/changed_crates -v "arti-v$LAST_VERSION" oneshot-fused-workaround: No change. slotmap-careful: No change. test-temp-dir: No change. fslock-guard: No change. hashx: No change. equix: No change. tor-basic-utils: No change. caret: No change. fs-mistrust safelog: No change. retry-error: No change. tor-error tor-general-addr: No change. tor-geoip: No change. tor-rtcompat tor-rtmock tor-async-utils tor-config tor-config-path tor-rpc-connect tor-log-ratelim: No change. tor-rpcbase tor-memquota: No change. tor-units tor-llcrypto: No change. tor-protover: No change. tor-bytes tor-checkable: No change. tor-cert tor-key-forge tor-hscrypto: No change. tor-socksproto: No change. tor-linkspec: No change. tor-cell: No change. tor-proto tor-netdoc: No change. tor-consdiff: No change. tor-netdir tor-relay-selection: No change. tor-persist tor-chanmgr tor-ptmgr: No change. tor-guardmgr: No change. tor-circmgr tor-dirclient: No change. tor-dirmgr: No change. tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy: No change. tor-relay-crypto arti-client arti-relay arti-rpcserver arti arti-rpc-client-core $
| * | Bump arti crate version to 1.4.0Ian Jackson2025-02-063-3/+3
| | | | | | | | | | | | | | | | | | And the in-tree dependencies. cargo set-version --offline --bump minor -p fs-mistrust
| * | fs-mistrust: bump minor version, and in-tree depsIan Jackson2025-02-0614-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are new features. cargo set-version --offline --bump minor -p fs-mistrust Actually, I have discovered by diffing that some methods now take `&self` where previously they took `self`. This will need a further bump to the fs-mistrust version and a fix to the changelog. I will do that. Filed blocker ticket #1841 for it.
* | | Merge branch 'fixup-features' into 'main'Ian Jackson2025-02-068-2/+16
|\ \ \ | |_|/ |/| | | | | | | | Run maint/fixup-features for release See merge request tpo/core/arti!2771
| * | Fix Cargo.toml features formattingIan Jackson2025-02-067-7/+18
| | | | | | | | | | | | Manual line breaks which fixup-features doesn't know how to add.
| * | Add some missing "full" featuresIan Jackson2025-02-068-7/+10
| |/ | | | | | | | | | | | | Precisely the results of maint/fixup-features. Some crates end up with slightly odd formatting, which I will fix in a moment.
* | Merge branch 'file-watcher' into 'main'Ian Jackson2025-02-061-16/+22
|\ \ | | | | | | | | | | | | file watcher tidying See merge request tpo/core/arti!2763
| * | file_watcher: Remove some now-unused thingsIan Jackson2025-02-061-8/+10
| | |
| * | file_watcher: Use .borrow_mut and sync MutexIan Jackson2025-02-061-10/+4
| | |
| * | file_watcher: Add some commentary about Event semanticsIan Jackson2025-02-061-0/+10
| |/
* | Merge branch 'key-file-macro' into 'main'gabi-2502025-02-064-60/+102
|\ \ | |/ |/| | | | | | | | | tor-keymgr: Define the test key constants using a macro. Closes #1396 See merge request tpo/core/arti!2764
| * tor-keymgr: Use @ to annotate internal macro branches.Gabriela Moldovan2025-02-061-3/+3
| |
| * tor-keymgr: Define the test key constants using a macro.Gabriela Moldovan2025-02-062-42/+84
| | | | | | | | Closes #1396
| * tor-keymgr: Rename test constants to match file names.Gabriela Moldovan2025-02-063-30/+30
| | | | | | | | Part of #1396
* | tor-proto: remove `use asynchronous_codec as futures_codec`Neel Chauhan2025-02-063-18/+18
| | | | | | | | Closes #1690.
* | tor-proto: Make ControlHandler::handler return non-optional result.Gabriela Moldovan2025-02-062-14/+14
| | | | | | | | | | | | The commands for which the function returned `Ok(None)` have been refactored into `CtrlCmd`, so we no longer need `handle()` to return an `Option`.
* | tor-proto: Turn some CtrlMsgs into CtrlCmds.Gabriela Moldovan2025-02-063-147/+166
| | | | | | | | | | | | | | All `CtrlMsg`s to which the reactor did not respond by sending a cell down the channel are now `CtrlCmd`s. Most of this is code motion, best reviewed with `--color-moved`.
* | tor-proto: Make shutdown a CtrlCmd.Gabriela Moldovan2025-02-063-26/+58
|/