summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | proto: Use constructor for PeerInfo instead of BuilderDavid Goulet2026-02-192-18/+16
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | proto: Remove Default of PeerInfo/Addr and use const insteadDavid Goulet2026-02-194-31/+41
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | proto: Fix clippy errorsDavid Goulet2026-02-191-3/+1
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | proto: Put a PeerInfo in ChannelDavid Goulet2026-02-193-3/+40
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | proto: Use the PeerAddr accross channel handshakeDavid Goulet2026-02-1913-113/+115
| | | | | | | | | | | | | | | | | | | | | This is a large change but it is basically using PeerAddr in the channel builder through the channel handshake code and into the Channel itself. Signed-off-by: David Goulet <[email protected]>
* | | proto: Add PeerInfo and PeerAddr in src/peer.rsDavid Goulet2026-02-193-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The plan is to create PeerInfo when we do a transport connect() which indicates the exact values that are being used for to connect to the peer. We'll then put this struct in the Channel so we can use it when picking the best channel in the ChanMgr. Unfortunately, the OwnedChanTarget has a confusing and even possibly wrong API from which we can't have guarantees. Signed-off-by: David Goulet <[email protected]>
* | | proto: Remove unused ChannelBuilderDavid Goulet2026-02-193-79/+5
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | linkspec: Add missing feature gateDavid Goulet2026-02-191-0/+1
| | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | Merge branch 'generate_rsa_crosscert' into 'main'Nick Mathewson2026-02-193-5/+141
|\ \ \ | | | | | | | | | | | | | | | | tor-cert: Ability to create Rsa->Ed25519 crosscerts. See merge request tpo/core/arti!3701
| * | | tor-cert: Ability to create Rsa->Ed25519 crosscerts.Nick Mathewson2026-02-193-5/+141
| | | |
* | | | Merge branch 'ticket_3548' into 'main'Nick Mathewson2026-02-196-103/+164
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Refactor proxy launcher functions. Closes #2301 See merge request tpo/core/arti!3686
| * | | | arti: Fix up proxy launching documentationNick Mathewson2026-02-192-3/+5
| | | | |
| * | | | arti: Extract responsibility for port listing.Nick Mathewson2026-02-196-98/+108
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of doing this when we construct the listeners, we can do it in a separate method, to simplify the return type.
| * | | | arti: Refactor socks proxy launcher function.Nick Mathewson2026-02-192-16/+40
| | | | | | | | | | | | | | | | | | | | Part of #2301.
| * | | | arti: Refactor dns proxy launcher function.Nick Mathewson2026-02-192-9/+34
| | | | | | | | | | | | | | | | | | | | Part of #2301.
* | | | | Merge branch 'ticket_2338' into 'main'Nick Mathewson2026-02-194-19/+15
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Use ErrorSources where appropriate to walk an error stack. Closes #2338 See merge request tpo/core/arti!3685
| * | | | retry-error: Document why we don't need (and can't use) ErrorSources.Nick Mathewson2026-02-191-0/+4
| | | | |
| * | | | arti-rpc-client-core: Document why we don't need ErrorSources.Nick Mathewson2026-02-161-0/+4
| | | | |
| * | | | arti-client: Use ErrorSources to find best hint for an error.Nick Mathewson2026-02-161-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, due to #2338, we would miss any error nested directly inside an io::Error.
| * | | | tor-basic-utils: Simplify ErrorSources iterator.Nick Mathewson2026-02-161-10/+2
| | | | |
* | | | | Merge branch 'docs/resolve-option-general-example' into 'main'Nick Mathewson2026-02-181-10/+39
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-config: resolve_option_general docs and clarification See merge request tpo/core/arti!3694
| * | | | | Document resolve_option_general behaviormoumenalaoui2026-02-181-10/+39
| | |/ / / | |/| | |
* / | | | hsclient: Suppress unused-async warning when building without pow.Nick Mathewson2026-02-181-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Without this fix, it isn't possible to run clippy on higher-level crates without the hs-pow feature, since this failure stops checking earlier.
* | | | Merge branch 'cli-extra' into 'main'opara2026-02-181-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Enable experimental-api for onion-service-cli-extra Closes #2364 See merge request tpo/core/arti!3696
| * | | | arti: Enable experimental-api for onion-service-cli-extraGabriela Moldovan2026-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The keymgr CLI uses the `TorClient::dirmgr()` experimental API to download the consensus. Closes #2364
* | | | | Merge branch 'cert-specifiers' into 'main'David Goulet2026-02-182-5/+141
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | keymgr: Extend d-d helper to derive KeyCertificateSpecifiers Closes #2360 See merge request tpo/core/arti!3693
| * | | | relay-crypto: Add a certificate specifier for KP_relaysign_ed (fmt)Gabriela Moldovan2026-02-171-4/+1
| | | | |
| * | | | relay-crypto: Add a certificate specifier for KP_relaysign_edGabriela Moldovan2026-02-171-0/+68
| | | | |
| * | | | keymgr: Extend d-d helper to derive KeyCertificateSpecifiersGabriela Moldovan2026-02-171-0/+71
| | | | | | | | | | | | | | | | | | | | Closes #2360
| * | | | relay-crypto: Derive Copy and Clone for the relay key specifiersGabriela Moldovan2026-02-171-5/+5
| | |/ / | |/| |
* / | | arti: test: hsc: add test get_fails_if_no_gen_and_no_keyhjrgrn2026-02-173-92/+151
|/ / / | | | | | | | | | | | | | | | - remove build_hsc_key_cmd in favor of KeyCmd - use KeyCmdBuilder in CTorMigrateCmd::keystore_contains_client_key to remove duplication - adapt hsc.rs to the changes
* | | Revert "macos-native-tls-notice: Update README.md of tor-rtcompat with ↵Steven Engler2026-02-161-5/+0
| | | | | | | | | | | | | | | | | | notice of native-tls bug on MacOS" This reverts commit d4853c35a729046f120b3f8745abd1bcb334cd2c.
* | | fallbackdir: Update list generated on February 12, 2026Tor CI Release2026-02-161-897/+894
| | | | | | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | | Merge branch 'mr_3616_rebased' into 'main'Nick Mathewson2026-02-169-17/+556
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Mr 3616 rebased Closes #1800 See merge request tpo/core/arti!3681
| * | | tor-chanmgr: minor chore adjustments for CINihal2026-02-161-4/+5
| | | |
| * | | tor-chanmgr: Use url crate userinfo encodingNihal2026-02-161-36/+51
| | | |
| * | | tor-chanmgr: use url crate for proxy URIs and error for socks4 passwordsNihal2026-02-162-44/+63
| | | |
| * | | tor-chanmgr: allow option_option for outbound proxy deserializerNihal2026-02-161-0/+1
| | | |
| * | | docs: add outbound proxy implementation notesNihal2026-02-161-0/+21
| | | |
| * | | tor-chanmgr: fix outbound_proxy deserialization for builderNihal2026-02-161-3/+6
| | | |
| * | | tor-chanmgr: fix builder serde attrNihal2026-02-161-1/+1
| | | |
| * | | tor-chanmgr: fix proxy config parsing and clippy lintNihal2026-02-163-2/+24
| | | |
| * | | deps: add percent_encoding and remove serdeNihal2026-02-162-1/+2
| | | |
| * | | tor-chanmgr: improve ProxyProtocol documentationNihal2026-02-161-42/+159
| | | |
| * | | tor-chanmgr: remove SocketAddr and improve errorNihal2026-02-162-22/+15
| | | |
| * | | tor-socksproto: remove serdeNihal2026-02-162-4/+11
| | | |
| * | | docs: add outbound proxyNihal2026-02-161-0/+21
| | | |
| * | | tor-chanmgr: add URI-style parsing for ProxyProtocol outbound_proxy configNihal2026-02-164-10/+264
| | | |
| * | | tor-chanmgr: integrate outbound proxy into DefaultTransportNihal2026-02-163-15/+41
| | | |
| * | | tor-chanmgr: add From<ProxyError> for io::Error conversionNihal2026-02-161-0/+6
| | | |