| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | arti: Ratelimit proxy error reports | syphyr | 2026-07-23 | 1 | -3/+46 |
| | | | | | Implement log_ratelim! in report_proxy_error | ||||
| * | Remove now-unneeded allow(clippy::cognitive_complexity) | Jim Newsome | 2026-07-15 | 1 | -1/+0 |
| | | |||||
| * | Merge branch 'socket-buf-size' into 'main' | opara | 2026-05-21 | 1 | -2/+3 |
| |\ | | | | | | | | | | | | | Set socket buffer sizes (`SO_SNDBUF` and `SO_RCVBUF`) for proxy sockets Closes #2500 See merge request tpo/core/arti!3957 | ||||
| | * | arti: add 'proxy.socket_{send,recv}_buf_size' config options | Steven Engler | 2026-05-07 | 1 | -20/+2 |
| | | | |||||
| | * | arti: use 128 KB socket buffers for proxy sockets | Steven Engler | 2026-05-07 | 1 | -2/+18 |
| | | | |||||
| | * | tor-rtcompat+misc: add `NetStreamProvider::ListenOptions` | Steven Engler | 2026-05-07 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | This adds the trait type `ListenOptions` to `NetStreamProvider` and adds this `ListenOptions` as an argument to `NetStreamProvider::listen()`. You probably want to look at the changes in tor-rtcompat first, then the rest of this commit is updating the various places we use `NetStreamProvider`. | ||||
| * | | Merge branch 'arc_torclient' into 'main' | Nick Mathewson | 2026-05-13 | 1 | -4/+4 |
| |\ \ | | | | | | | | | | | | | | | | | | | Make all TorClient constructors wrap the TorClient in an Arc. Closes #2469 See merge request tpo/core/arti!3990 | ||||
| | * | | Make all TorClient constructors wrap the TorClient in an Arc. | Nick Mathewson | 2026-05-13 | 1 | -4/+4 |
| | |/ | | | | | | | | | | | This is part of rationalizing the structure of TorClient so we can refactor startup logic, and so that RPC code can reason about object identity. See #2469. | ||||
| * / | Turn an expectation into an allow | Ian Jackson | 2026-05-13 | 1 | -1/+1 |
| |/ | | | | Fixes `cargo clippy --locked --all-features -p arti` | ||||
| * | arti: fix clippy warnings in `report_proxy_error()` | Steven Engler | 2026-03-30 | 1 | -3/+5 |
| | | |||||
| * | arti: use report macros in `report_proxy_error()` | Steven Engler | 2026-03-30 | 1 | -5/+6 |
| | | |||||
| * | arti: don't warn for `NotConnected` errors | Steven Engler | 2026-03-30 | 1 | -0/+1 |
| | | |||||
| * | arti: Add an option to disable http_connect. | Nick Mathewson | 2026-03-25 | 1 | -18/+52 |
| | | | | | | | | | | This option affects all socks listeners, because: - We don't have a convenient way to associate an option with each port. - The main purpose of having this option is as a switch in case we discover a major problem with this code. | ||||
| * | arti: Fix up proxy launching documentation | Nick Mathewson | 2026-02-19 | 1 | -1/+2 |
| | | |||||
| * | arti: Extract responsibility for port listing. | Nick Mathewson | 2026-02-19 | 1 | -50/+29 |
| | | | | | | 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 Mathewson | 2026-02-19 | 1 | -13/+34 |
| | | | | | Part of #2301. | ||||
| * | arti: Use ErrorSources in extract_proto_err | Robert Bartlensky | 2026-02-14 | 1 | -12/+5 |
| | | |||||
| * | Don't log Circuit Closed errors as warnings | robertb | 2026-02-05 | 1 | -1/+6 |
| | | |||||
| * | arti: Downgrade CircuitClosed to debug level. | Nick Mathewson | 2026-01-22 | 1 | -3/+20 |
| | | | | | | | | This isn't the long-term solution to error reporting and proxies, but it is a start that we can work from. Closes #2304. | ||||
| * | arti: Extract function to find a ProtoError source | Nick Mathewson | 2026-01-22 | 1 | -0/+17 |
| | | |||||
| * | Make sure that rpc_state_sender lives as long as the proxies. | Nick Mathewson | 2026-01-12 | 1 | -2/+8 |
| | | | | | | | Fixes bug introduced in 0cc367b9fef37c0f7d7f04d54c4687b27ef251d0. Without this fix, RPC's get_proxy_info command wouldn't work. | ||||
| * | arti: Export the chosen ports in a ports_info.json file. | Nick Mathewson | 2025-12-16 | 1 | -7/+26 |
| | | | | | | This allows applications to find out where arti is listening when arti has been configured to listen with the port "auto". | ||||
| * | arti: Change how proxy futures are returned. | Nick Mathewson | 2025-12-16 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | Previously, the proxy and dns modules only had "be a proxy" functions that ran forever. Now they have functions that bind to listeners and return a separate "be a proxy" future that runs forever. This lets us simplify some kludges in subcommands::proxy. More importantly, it will let us return the bound-to ports so that subcommands::proxy can write them to disk. This is a break in experimental-apis, which does not require a semver change. | ||||
| * | arti: tweak docs, add TODOs with respect to Listener. | Nick Mathewson | 2025-12-16 | 1 | -1/+2 |
| | | |||||
| * | arti: Log the actual addresses we are listening on. | Nick Mathewson | 2025-12-16 | 1 | -2/+4 |
| | | |||||
| * | tor-config: rename `Listen::is_localhost_only` to `is_loopback_only` | Steven Engler | 2025-12-02 | 1 | -1/+1 |
| | | | | | Assumes that 0.37.0 will be the next version number. | ||||
| * | Fix compilation without all-features. | Nick Mathewson | 2025-11-12 | 1 | -1/+2 |
| | | |||||
| * | Add a notion of isolation strong enough to enable long-lived circuits. | Nick Mathewson | 2025-11-12 | 1 | -0/+12 |
| | | | | | Part of prop368. | ||||
| * | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt` | Steven Engler | 2025-11-04 | 1 | -1/+1 |
| | | |||||
| * | Replace copy_interactive with futures-copy. | Nick Mathewson | 2025-10-30 | 1 | -70/+5 |
| | | | | | | | | | This change lets us avoid spawning extra tasks (due to one-direction nature of copy_interactive), and avoid some lock contention (due to use of AsyncReadExt::split). Addresses part of #786. | ||||
| * | Merge branch 'remove_socks' into 'main' | Nick Mathewson | 2025-10-28 | 1 | -4/+17 |
| |\ | | | | | | | | | | | | | 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 Mathewson | 2025-10-28 | 1 | -0/+6 |
| | | | |||||
| | * | arti: Revise strings that implied that we were a SOCKS-only proxy. | Nick Mathewson | 2025-10-28 | 1 | -1/+1 |
| | | | | | | | | | Closes #2225 | ||||
| | * | arti: Stop using SOCKS_BUF_LEN for non-SOCKS proxies. | Nick Mathewson | 2025-10-28 | 1 | -3/+10 |
| | | | |||||
| * | | arti: Remove now-needless cognitive_complexity exceptions | Nick Mathewson | 2025-10-28 | 1 | -1/+0 |
| |/ | | | | | | | Apparently the http_connect refactoring made these no longer trigger. Closes #2226 | ||||
| * | http_connect: Remove (most) X- prefixes. | Nick Mathewson | 2025-10-28 | 1 | -11/+6 |
| | | | | | | | 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. | ||||
| * | proxy: Revise rpc docs so they are not SOCKS-specific | Nick Mathewson | 2025-10-28 | 1 | -14/+20 |
| | | |||||
| * | http_connect: Implement stream isolation | Nick Mathewson | 2025-10-28 | 1 | -0/+8 |
| | | |||||
| * | arti: Implement a "bilingual" HTTP CONNECT proxy. | Nick Mathewson | 2025-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 Mathewson | 2025-10-28 | 1 | -3/+72 |
| | | | | | | This will let us speak HTTP CONNECT as well; there is a stub for initiating an http proxy. | ||||
| * | arti: Pass a buffered stream to handle_socks_conn | Nick Mathewson | 2025-10-28 | 1 | -1/+4 |
| | | | | | This will let us implement bilingual HTTP proxies. | ||||
| * | arti: Renaming around socks/generic proxies | Nick Mathewson | 2025-10-28 | 1 | -29/+32 |
| | | | | | This is _all_ renaming and comment adjustments. | ||||
| * | arti: Split socks-specific parts out of handle_socks_conn | Nick Mathewson | 2025-10-28 | 1 | -448/+12 |
| | | | | | | | | | | 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 Mathewson | 2025-10-28 | 1 | -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 Mathewson | 2025-10-28 | 1 | -0/+917 |
| | | | | | I'm about to add another proxy type. | ||||
| * | add udp to runtime | trinity-1686a | 2022-03-14 | 1 | -537/+0 |
| | | |||||
| * | arti: Make main module entrypoints pub | Ian Jackson | 2022-03-11 | 1 | -2/+2 |
| | | | | | | This does not constitute any kind of stable API promise. But it might allow people to use our arti client code in novel ways. | ||||
| * | use less magic in http check | trinity-1686a | 2022-02-24 | 1 | -2/+4 |
| | | |||||
| * | make arti return a web page when receiving http request on socks port | trinity-1686a | 2022-02-23 | 1 | -1/+34 |
| | | |||||
| * | Rename ExitTimeout to RemoteNetworkTimeout. | Nick Mathewson | 2022-02-17 | 1 | -1/+1 |
| | | |||||
