aboutsummaryrefslogtreecommitdiff
path: root/crates/arti-relay/src/tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* relay: Add a crypto task for key rotationDavid Goulet2026-02-231-0/+175
| | | | | | | | | | | | | This task crypto module has a rotate key task that is in charge of rotating keys from our KeyMgr based on the valid until. To do so, we add a RotatableKeySpec trait to help us specify our to rotate a specific key. Allows us to have a generic rotate/generate function for all our keys. Task runs every 60 seconds. Taken from C-tor. Signed-off-by: David Goulet <[email protected]>
* arti-relay: remove old TODOSteven Engler2026-02-031-10/+0
| | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/2329
* arti-relay: Allow clippy_unused_asyncGabriela Moldovan2026-01-271-0/+1
| | | | The code here is still WIP, no need to apply the lint yet.
* Merge branch 'ticket1599_03' into 'main'David Goulet2026-01-221-1/+6
|\ | | | | | | | | 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-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | 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: update some comments from past few commitsSteven Engler2025-11-111-1/+6
|
* 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-051-0/+71
| | | | | 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: use `Void` for `TorRelay::run`Steven Engler2025-10-271-1/+1
|
* relay: Add channel housekeeping taskDavid Goulet2025-10-211-0/+63
This is a background task in charge of expiring closing channels and future work is to also prune duplicate channels. This is not used nor called at this commit, next commit will add the task handling. Part of #2217 Signed-off-by: David Goulet <[email protected]>