summaryrefslogtreecommitdiff
path: root/crates/arti-relay
Commit message (Collapse)AuthorAgeFilesLines
* release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-021-20/+20
| | | | | | | | | | Done via: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.39.0 done ```
* release: run fixup-features.Wesley Aptekar-Cassels2026-01-291-0/+1
|
* arti-relay: Allow clippy_unused_asyncGabriela Moldovan2026-01-271-0/+1
| | | | The code here is still WIP, no need to apply the lint yet.
* maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-271-0/+1
| | | | This adds the lint to all our crates.
* Merge branch 'ticket1599_03' into 'main'David Goulet2026-01-224-7/+33
|\ | | | | | | | | proto: Implement relay responder handshake and finalize it for both handshakes See merge request tpo/core/arti!3596
| * relay: Pass advertised addresses to the channel handlerDavid Goulet2026-01-224-7/+33
| | | | | | | | | | | | | | | | | | | | | | We need the advertised addresses for the NETINFO cell when opening a relay channel. Keep them in the TorRelay object so we can pass them to the ChanMgr channel handler. This will also help with config reload where only the local values in TorRelay will need to be updated. Signed-off-by: David Goulet <[email protected]>
* | arti-relay: change debug message to rate-limited warningSteven Engler2026-01-201-9/+19
|/
* arti-relay: call `tor_log_ratelim::install_runtime`Steven Engler2026-01-142-0/+5
|
* chanmgr: Introduce a ChanMgrConfig structDavid Goulet2026-01-131-2/+2
| | | | | | | | | | | | This struct is used to pass configuration parameters to the ChanMgr when building it. At the moment, it holds the ChannelConfig and RelayIdentities (feature gated) which will be used in subsequent commits. Note that relays do require RelayIdentities to build channels. Signed-off-by: David Goulet <[email protected]>
* chanmgr: Remove KeyMgr from constructorDavid Goulet2026-01-131-1/+0
| | | | | | | We'll rely on a RelayIdentities to pass in the right keys to the ChanMgr instead of the entire KeyMgr. Signed-off-by: David Goulet <[email protected]>
* Merge branch 'version-bump' into 'main'Clara Engler2026-01-131-19/+19
|\ | | | | | | | | Bump dependencies for 1.9.0 See merge request tpo/core/arti!3570
| * cargo: Update `arti-*` and `tor-*` to `0.38.0`Clara Engler2026-01-121-19/+19
| | | | | | | | | | | | | | | | | | Done using the following: ```bash for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.38.0 done ```
* | cargo: Run fixup-features for releaseClara Engler2026-01-121-0/+4
|/ | | | | | | Executed command: ``` cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ```
* arti-relay: remove `ARTI_RELAY_SHARED_DATA` cfg variableSteven Engler2026-01-051-5/+6
|
* arti-relay: added more commentsSteven Engler2025-12-181-0/+7
|
* arti-relay: some small cleanupSteven Engler2025-12-171-4/+6
|
* arti-relay: add a `GuardMgr`, `CircMgr`, and `DirMgr`Steven Engler2025-12-171-1/+78
|
* arti-relay: implement `CircMgrConfig`Steven Engler2025-12-172-1/+47
|
* arti-relay: implement `GuardMgrConfig`Steven Engler2025-12-172-0/+25
|
* arti-relay: add `NetworkConfig` to configSteven Engler2025-12-172-0/+7
|
* arti-relay: add `StorageConfig::cache_dir()` helperSteven Engler2025-12-171-1/+12
|
* arti,arti-relay: change info keystore path msg to debugSteven Engler2025-12-111-2/+5
|
* arti-relay: install default ring crypto providerSteven Engler2025-12-092-0/+7
| | | | | | | | This is what arti uses, and fixes the warning: ```text WARN tor_rtcompat::impls::rustls: Creating a RustlsRuntime, but no CryptoProvider is installed. The application should call CryptoProvider::install_default() ```
* arti-relay: advertise config fields are now listsSteven Engler2025-12-092-4/+65
| | | | | | | | | | | | | | | | Example: ```toml [relay.advertise] ipv4 = [] ipv6 = ["[10::]:10"] ``` ```text Error: Failed to resolve configuration [...] The list is empty for key "default.relay.advertise.ipv4" in [...] ```
* Bump all the unstable tor- and arti- crates to 0.37.0.Gabriela Moldovan2025-12-021-15/+15
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.37.0 done
* Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2025-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` We split them in the following categories: * crates with no changes (no version bumps): None ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` * crates that only have non-functional changes (bump the patch version, but not the dependend-on version): - oneshot-fused-workaround - slotmap-careful - test-temp-dir - fslock-guard - equix - caret - safelog - retry-error * crates where functional changes were made, but no APIs were added or broken: - hashx - fs-mistrust - futures-copy * crates where APIs were broken (bump minor): None The bumps from this commit were created using this script: ``` PATCH_NF=( oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard equix caret safelog retry-error ) PATCH=" hashx fs-mistrust futures-copy " ./maint/bump_nodep "${PATCH_NF[@]}" for crate in $PATCH; do cargo set-version --bump patch -p $crate; done ```
* Run fixup-features in preparation for releaseGabriela Moldovan2025-12-011-0/+1
|
* arti-relay: remove checks on "advertise" addressesSteven Engler2025-11-191-53/+8
|
* arti-relay: update comment about "auto" port optionSteven Engler2025-11-181-2/+1
|
* arti-relay: fix doc commentsSteven Engler2025-11-181-5/+5
|
* arti-relay: remove builder testsSteven Engler2025-11-121-20/+0
| | | | We don't plan to use the builders.
* arti-relay: remove `Default` tests from configSteven Engler2025-11-121-2/+2
| | | | | arti-relay has required config options, which means that `TorRelayConfig` cannot have a default.
* arti-relay: listen at configured OR portsSteven Engler2025-11-122-13/+56
|
* arti-relay: `TorRelay::run` now takes an owned `self`Steven Engler2025-11-121-1/+1
|
* arti-relay: remove `Clone` from `TorRelay`Steven Engler2025-11-121-1/+0
| | | | I don't expect that we'll need this.
* arti-relay: added config options for OR port and advertiseSteven Engler2025-11-122-0/+200
|
* arti-relay: move `iter_join` to a new `util` moduleSteven Engler2025-11-122-28/+34
|
* arti-relay: update some commentsSteven Engler2025-11-121-7/+5
|
* Merge branch 'relay-bin-4' into 'main'opara2025-11-115-10/+124
|\ | | | | | | | | arti-relay: Add OR port listener task See merge request tpo/core/arti!3396
| * arti-relay: update some comments from past few commitsSteven Engler2025-11-112-2/+9
| |
| * tor-chanmgr: wrap the peer address in `Sensitive`Steven Engler2025-11-051-5/+5
| | | | | | | | | | For incoming connections, wrap the peer address in `Sensitive` as it could be a client.
| * arti-relay: add OR port listener taskSteven Engler2025-11-054-3/+96
| | | | | | | | | | This does not yet get the OR port from the config, and the channel manager doesn't yet do anything with the incoming connection.
| * arti-relay: add error context to house keeping taskSteven Engler2025-11-051-5/+11
| |
| * arti-relay: use anyhow's error formattingSteven Engler2025-11-051-2/+10
| |
* | Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-063-3/+3
|/ | | | Run maint/add_warning
* all: run cargo fmtSteven Engler2025-11-041-1/+1
|
* all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt`Steven Engler2025-11-041-1/+1
|
* maint: bump minor versions of all published cratesSteven Engler2025-10-291-16/+16
| | | | | | | ```bash readarray -t publish < <(cargo metadata --format-version 1 | jq -r '.packages[] | select((.id | startswith("path+file:///")) and (.rust_version != null) and (.publish == null or .publish == true or .publish != [])) | .name') for package in "${publish[@]}"; do echo "$package:"; cargo set-version --bump minor -p "$package"; done ```
* maint: fixup featuresSteven Engler2025-10-281-0/+1
| | | | | | ```bash cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ```
* arti-relay: use `Void` for `TorRelay::run`Steven Engler2025-10-274-10/+17
|