| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Merge branch 'err-msgs' into 'main' | David Goulet | 2026-02-24 | 2 | -8/+15 | |
| |\ | | | | | | | | | arti-relay: Improve error/warning messages See merge request tpo/core/arti!3711 | |||||
| | * | arti-relay: fix stale comment | Steven Engler | 2026-02-23 | 1 | -1/+1 | |
| | | | | | | | | | This method was renamed previously. | |||||
| | * | arti-relay: add more error context | Steven Engler | 2026-02-23 | 1 | -6/+12 | |
| | | | ||||||
| | * | arti-relay: don't warn if key gen was successful | Steven Engler | 2026-02-23 | 1 | -1/+2 | |
| | | | ||||||
| * | | tor-relay: convert to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-24 | 1 | -55/+43 | |
| |/ | ||||||
| * | relay: Setup const for hardcoded value in crypto task | David Goulet | 2026-02-23 | 1 | -8/+13 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Log when key generation yields an existing key error | David Goulet | 2026-02-23 | 1 | -1/+4 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Simplify the crypto rotation task rotate_key() | David Goulet | 2026-02-23 | 1 | -17/+11 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Get rid of start_task() for readability | David Goulet | 2026-02-23 | 2 | -22/+10 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Generate relay identities at init | David Goulet | 2026-02-23 | 2 | -7/+17 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Implement a helper to build RelayIdentities | David Goulet | 2026-02-23 | 1 | -6/+107 | |
| | | | | | | | | This required to add a slight helper to our tor-key-forge RSA key d-d macro to access the inner keypair. This avoids a clone. Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Remove unused ephemeral keystore | David Goulet | 2026-02-23 | 1 | -5/+1 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Move try_generate_keys() into crypto task | David Goulet | 2026-02-23 | 2 | -39/+29 | |
| | | | | | | | | Move rotating keys into a function so we can use it in try_generate_keys() that is used at startup. Signed-off-by: David Goulet <[email protected]> | |||||
| * | relay: Add a crypto task for key rotation | David Goulet | 2026-02-23 | 3 | -1/+183 | |
| | | | | | | | | | | | | | | 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]> | |||||
| * | Allow clippy::collapsible_if to trigger | Gabriela Moldovan | 2026-02-16 | 1 | -0/+1 | |
| | | | | | | | | | | `clippy::collapsible_if` started triggering after bumping the MSRV to 1.88. Since this triggers from a lot of places, and since there even are a couple of instances where we explicitly allow `clippy::collapsible_ifs`, I've opened #2342 for deciding what to do about it. | |||||
| * | relay: Add a TLS acceptor in the ChanBuilder | David Goulet | 2026-02-09 | 1 | -7/+10 | |
| | | | | | | | | | | | | | | | | This requires the `TlsKeyAndCert` so be passed on the TLS acceptor settings. We assume that `RelayIdentities` has this information. The ChanBuilder::new() was getting a bit too convoluted and feature gated to instead we introduce new_client() and new_relay() and remove the need for `with_identities()`. Because of this, the ChanMgr::new() now returns a `Result<>`. Related to #1597 Signed-off-by: David Goulet <[email protected]> | |||||
| * | arti-relay: launch the client's background tasks | Steven Engler | 2026-02-03 | 2 | -9/+41 | |
| | | ||||||
| * | arti-relay: rename 'bootstrap()' method to 'init()' | Steven Engler | 2026-02-03 | 2 | -7/+8 | |
| | | | | | This method won't really be used for bootstrapping anymore. | |||||
| * | arti-relay: remove old TODO | Steven Engler | 2026-02-03 | 1 | -10/+0 | |
| | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/2329 | |||||
| * | arti-relay: move code into a "client" object | Steven Engler | 2026-02-03 | 3 | -64/+129 | |
| | | ||||||
| * | arti-relay: Allow clippy_unused_async | Gabriela Moldovan | 2026-01-27 | 1 | -0/+1 | |
| | | | | | The code here is still WIP, no need to apply the lint yet. | |||||
| * | maint/add_warning: Run script to add new warning | Gabriela Moldovan | 2026-01-27 | 1 | -0/+1 | |
| | | | | | This adds the lint to all our crates. | |||||
| * | Merge branch 'ticket1599_03' into 'main' | David Goulet | 2026-01-22 | 4 | -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 handler | David Goulet | 2026-01-22 | 4 | -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 warning | Steven Engler | 2026-01-20 | 1 | -9/+19 | |
| |/ | ||||||
| * | arti-relay: call `tor_log_ratelim::install_runtime` | Steven Engler | 2026-01-14 | 1 | -0/+4 | |
| | | ||||||
| * | chanmgr: Introduce a ChanMgrConfig struct | David Goulet | 2026-01-13 | 1 | -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 constructor | David Goulet | 2026-01-13 | 1 | -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]> | |||||
| * | arti-relay: remove `ARTI_RELAY_SHARED_DATA` cfg variable | Steven Engler | 2026-01-05 | 1 | -5/+6 | |
| | | ||||||
| * | arti-relay: added more comments | Steven Engler | 2025-12-18 | 1 | -0/+7 | |
| | | ||||||
| * | arti-relay: some small cleanup | Steven Engler | 2025-12-17 | 1 | -4/+6 | |
| | | ||||||
| * | arti-relay: add a `GuardMgr`, `CircMgr`, and `DirMgr` | Steven Engler | 2025-12-17 | 1 | -1/+78 | |
| | | ||||||
| * | arti-relay: implement `CircMgrConfig` | Steven Engler | 2025-12-17 | 1 | -1/+45 | |
| | | ||||||
| * | arti-relay: implement `GuardMgrConfig` | Steven Engler | 2025-12-17 | 1 | -0/+24 | |
| | | ||||||
| * | arti-relay: add `NetworkConfig` to config | Steven Engler | 2025-12-17 | 1 | -0/+6 | |
| | | ||||||
| * | arti-relay: add `StorageConfig::cache_dir()` helper | Steven Engler | 2025-12-17 | 1 | -1/+12 | |
| | | ||||||
| * | arti,arti-relay: change info keystore path msg to debug | Steven Engler | 2025-12-11 | 1 | -2/+5 | |
| | | ||||||
| * | arti-relay: install default ring crypto provider | Steven Engler | 2025-12-09 | 1 | -0/+6 | |
| | | | | | | | | | 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 lists | Steven Engler | 2025-12-09 | 2 | -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 [...] ``` | |||||
| * | arti-relay: remove checks on "advertise" addresses | Steven Engler | 2025-11-19 | 1 | -53/+8 | |
| | | ||||||
| * | arti-relay: update comment about "auto" port option | Steven Engler | 2025-11-18 | 1 | -2/+1 | |
| | | ||||||
| * | arti-relay: fix doc comments | Steven Engler | 2025-11-18 | 1 | -5/+5 | |
| | | ||||||
| * | arti-relay: remove builder tests | Steven Engler | 2025-11-12 | 1 | -20/+0 | |
| | | | | | We don't plan to use the builders. | |||||
| * | arti-relay: remove `Default` tests from config | Steven Engler | 2025-11-12 | 1 | -2/+2 | |
| | | | | | | arti-relay has required config options, which means that `TorRelayConfig` cannot have a default. | |||||
| * | arti-relay: listen at configured OR ports | Steven Engler | 2025-11-12 | 1 | -13/+55 | |
| | | ||||||
| * | arti-relay: `TorRelay::run` now takes an owned `self` | Steven Engler | 2025-11-12 | 1 | -1/+1 | |
| | | ||||||
| * | arti-relay: remove `Clone` from `TorRelay` | Steven Engler | 2025-11-12 | 1 | -1/+0 | |
| | | | | | I don't expect that we'll need this. | |||||
| * | arti-relay: added config options for OR port and advertise | Steven Engler | 2025-11-12 | 2 | -0/+200 | |
| | | ||||||
| * | arti-relay: move `iter_join` to a new `util` module | Steven Engler | 2025-11-12 | 2 | -28/+34 | |
| | | ||||||
| * | arti-relay: update some comments | Steven Engler | 2025-11-12 | 1 | -7/+5 | |
| | | ||||||
