summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-3' into 'main'arti-v1.7.0Nick Mathewson2025-10-291-1/+1
|\ | | | | | | | | arti-client: Update `ARTI_CLIENT_RELEASE_DATE` See merge request tpo/core/arti!3413
| * arti-client: update `ARTI_CLIENT_RELEASE_DATE`Steven Engler2025-10-291-1/+1
| | | | | | | | | | | | ```bash ./maint/update-release-date ```
* | equix-bench: ran `cargo update`Steven Engler2025-10-291-87/+65
| |
* | hashx-bench: ran `cargo update`Steven Engler2025-10-291-86/+64
| |
* | maint: bump minor versions of all published cratesSteven Engler2025-10-2962-567/+567
|/ | | | | | | ```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 ```
* Merge branch 'remove_socks' into 'main'Nick Mathewson2025-10-286-13/+38
|\ | | | | | | | | | | | | arti: Revise strings that implied that we were a SOCKS-only proxy. Closes #2225 See merge request tpo/core/arti!3398
| * arti: explain APP_STREAM_BUF_LEN is what it is.Nick Mathewson2025-10-281-0/+6
| |
| * proto: Adjust a comment about a buffer size.Nick Mathewson2025-10-281-3/+3
| |
| * arti: Revise strings that implied that we were a SOCKS-only proxy.Nick Mathewson2025-10-285-7/+19
| | | | | | | | Closes #2225
| * arti: Stop using SOCKS_BUF_LEN for non-SOCKS proxies.Nick Mathewson2025-10-281-3/+10
| |
* | Merge branch 'futures-copy' into 'main'Nick Mathewson2025-10-288-0/+1406
|\ \ | | | | | | | | | | | | New futures-copy crate to replace copy_interactive. See merge request tpo/core/arti!3393
| * | futures-copy: Add a test for an interactive protocolNick Mathewson2025-10-283-9/+118
| | | | | | | | | | | | | | | | | | This makes sure that flushes happen correctly by relaying traffic over a pair of buffered connections between two parties that don't say anything until they receive a message.
| * | New futures-copy crate to replace copy_interactive.Nick Mathewson2025-10-288-0/+1297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crate's API is loosely based on some of tokio's functions, and its implementation strategy is loosely based on futures::io::copy. It's designed to be generally useful outside of the arti ecosystem. Should help with the original challenge of #786.
* | | arti-ureq: Add MSRV in Cargo.tomlnield2025-10-292-0/+2
| | |
* | | Merge branch 'release-2' into 'main'Nick Mathewson2025-10-283-0/+3
|\ \ \ | | | | | | | | | | | | | | | | maint: Fixup features for release See merge request tpo/core/arti!3400
| * | | maint: fixup featuresSteven Engler2025-10-283-0/+3
| |/ / | | | | | | | | | | | | | | | ```bash cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ```
* | | tor-dirserver: add missing semver breaking changesSteven Engler2025-10-281-0/+3
| | |
* | | tor-linkspec: add missing semver breaking changesSteven Engler2025-10-281-1/+3
|/ /
* / arti: Remove now-needless cognitive_complexity exceptionsNick Mathewson2025-10-282-2/+0
|/ | | | | | | Apparently the http_connect refactoring made these no longer trigger. Closes #2226
* Merge branch 'http_connect_v2' into 'main'Nick Mathewson2025-10-2811-955/+1881
|\ | | | | | | | | | | | | Implement HTTP CONNECT proxy support in Arti. Closes #2221 See merge request tpo/core/arti!3391
| * http_connect: Remove (most) X- prefixes.Nick Mathewson2025-10-282-32/+44
| | | | | | | | | | | | We can't remove them all, since X-Tor-Stream-Isolation is recognized by C-Tor. I've added a non-deprecated Tor-Stream-Isolation that works indepenently.
| * http_connect: write our own hyper-futures replacementNick Mathewson2025-10-282-6/+79
| |
| * http_connect: Forbid non-empty OPTIONS bodies.Nick Mathewson2025-10-281-0/+8
| |
| * http_connect: validate casei behavior of HeaderMap.Nick Mathewson2025-10-281-0/+36
| |
| * proxy: Revise rpc docs so they are not SOCKS-specificNick Mathewson2025-10-281-14/+20
| |
| * http_connect: Advertise listener capabilities to RPCNick Mathewson2025-10-282-7/+25
| |
| * http_connect: Declare that error messages are text/plain.Nick Mathewson2025-10-281-1/+1
| |
| * http_connect: Reject OPTIONS requests with bodiesNick Mathewson2025-10-281-2/+11
| |
| * http_connect: Implement stream isolationNick Mathewson2025-10-283-5/+84
| |
| * http_connect: implement rpc supportNick Mathewson2025-10-281-6/+76
| |
| * http-connect: Implement X-Tor-Family-PreferenceNick Mathewson2025-10-281-5/+79
| |
| * TorAddr: Add function to inspect the host as an IpAddr, if it is one.Nick Mathewson2025-10-281-0/+8
| |
| * http_connect: Use consts for headers.Nick Mathewson2025-10-281-4/+16
| |
| * http_connect: Generate an X-Tor-Request-Failed header.Nick Mathewson2025-10-281-2/+20
| |
| * http_connect: Provide better status codes for ErrorKinds.Nick Mathewson2025-10-282-4/+77
| |
| * arti: Implement a "bilingual" HTTP CONNECT proxy.Nick Mathewson2025-10-284-2/+331
| | | | | | | | | | | | | | | | | | | | | | With his commit, our SOCKS ports now accept both SOCKS and HTTP CONNECT requests, per proposal 365. There are still some infelicities, marked with "XXXX" or "TODO". I've tested this with curl, though, and it works. :) Typo-fixes-by: Gabriela Moldovan <[email protected]>
| * arti: Detect proxy protocol _before_ starting SOCKS.Nick Mathewson2025-10-284-27/+89
| | | | | | | | | | This will let us speak HTTP CONNECT as well; there is a stub for initiating an http proxy.
| * Reformat arti/Cargo.tomlNick Mathewson2025-10-281-27/+22
| |
| * arti: Pass a buffered stream to handle_socks_connNick Mathewson2025-10-282-3/+15
| | | | | | | | This will let us implement bilingual HTTP proxies.
| * arti: Renaming around socks/generic proxiesNick Mathewson2025-10-283-40/+43
| | | | | | | | This is _all_ renaming and comment adjustments.
| * arti: Split socks-specific parts out of handle_socks_connNick Mathewson2025-10-282-448/+475
| | | | | | | | | | | | | | | | | | We want to abstract every part of this code that knows that it's speaking SOCKS, so that we can in turn add a new proxy type. Note that several methods and types here have names that are no longer appropriate for their functionality. I'll revise those in a later commit.
| * arti::proxy: Small reformats.Nick Mathewson2025-10-281-5/+7
| | | | | | | | | | (I'm not sure why this wasn't already done, but let's do it as a separate MR.)
| * Rename "arti::socks" to "arti::proxy".Nick Mathewson2025-10-283-3/+3
| | | | | | | | I'm about to add another proxy type.
* | proto: Avoid identifying relay circuits using TunnelIdGabriela Moldovan2025-10-271-3/+3
| | | | | | | | We replaced TunnelId with UniqId in the relay code a while ago.
* | arti-relay: use `Void` for `TorRelay::run`Steven Engler2025-10-274-10/+17
|/
* proto: Remove relay ChannelAuthenticationData builderDavid Goulet2025-10-233-82/+51
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Feature flag some relay specific codeDavid Goulet2025-10-232-8/+15
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Add relay todos for the handshakeDavid Goulet2025-10-231-0/+2
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Use Arc for relay identities objectDavid Goulet2025-10-233-5/+7
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Remove LOG_PREFIX in relay handshakeDavid Goulet2025-10-231-5/+1
| | | | Signed-off-by: David Goulet <[email protected]>