| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Try to resolve the "Truncated" error in tor-socksproto | Nick Mathewson | 2022-02-11 | 1 | -3/+3 |
| | | | | | | I'm not in love with this solution; the others just seem a bit ugly too. | ||||
| * | Make the Error detail type non-exported from arti-client | Nick Mathewson | 2022-02-04 | 1 | -3/+3 |
| | | | | | | | | | | | | At least by default, we should have Error be private, and not expose it as part of our APIs. To keep functionality in `arti`, I had to add an `ExitTimeout` error kind. For interface consistency, I also re-exported ErrorKind and HasError from `arti_client`. | ||||
| * | Remove many needless borrows and slices | Ian Jackson | 2022-02-02 | 1 | -2/+2 |
| | | | | | | | | Found via clippy::needless_borrow. In some cases I removed needless `[..]` too. See also: needless_borrow suggestion doesn't go far enough https://github.com/rust-lang/rust-clippy/issues/8389 | ||||
| * | Un-Arc<> TorClient in the arti crate | Nick Mathewson | 2022-02-01 | 1 | -3/+3 |
| | | | | | | TorClient doesn't need to be wrapped in an Arc any longer, thanks to other refactoring. | ||||
| * | StreamPrefs: Re-alphabetise imports following rename | Ian Jackson | 2022-01-21 | 1 | -1/+1 |
| | | | | | Placates rustfmt | ||||
| * | StreamPrefs: rename from ConnectPrefs | Ian Jackson | 2022-01-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | The docs even say this is about stream. As @nickm writes in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/252#note_2771289 we generally call end-to-end connections that are tunneled over Tor "Streams" to distinguish them from everything else in the Tor protocols that could possibly be called a "Connection". That seems to apply here too. | ||||
| * | connection preferences: Take ConnectPrefs by reference | Ian Jackson | 2022-01-19 | 1 | -3/+3 |
| | | | | | | This may save quite a bit of copying. The callees don't need to copy the whole struct; they copy the bits they need. | ||||
| * | Use *_with_prefs() for Option<ConnectPrefs> callers in TorClient::connect | Neel Chauhan | 2022-01-08 | 1 | -3/+5 |
| | | |||||
| * | proxy: introduce new functions to write_all & flush/close | Muhammad Falak R Wani | 2021-12-15 | 1 | -42/+42 |
| | | | | | Signed-off-by: Muhammad Falak R Wani <[email protected]> | ||||
| * | proxy: send SOCKS5 reply on failure cases | Muhammad Falak R Wani | 2021-12-11 | 1 | -1/+14 |
| | | | | | Signed-off-by: Muhammad Falak R Wani <[email protected]> | ||||
| * | proxy: report an error if all listeners fail. | Nick Mathewson | 2021-12-08 | 1 | -1/+1 |
| | | |||||
| * | Resolve XXXXs in proxy.rs | Nick Mathewson | 2021-12-08 | 1 | -3/+3 |
| | | | | | These issues all have tickets, so can become TODOs. | ||||
| * | More typo fixes that I forgot to save :( | Nick Mathewson | 2021-11-24 | 1 | -1/+1 |
| | | |||||
| * | Typo fix in an expect() message. | Nick Mathewson | 2021-10-28 | 1 | -1/+1 |
| | | |||||
| * | Tests and refactoring for IsolationMap. | Nick Mathewson | 2021-10-26 | 1 | -13/+50 |
| | | |||||
| * | TorClient::resolve_ptr should take an IpAddr. | Nick Mathewson | 2021-10-26 | 1 | -1/+13 |
| | | |||||
| * | Rename tor_client/arti_tor_client to arti_client. | Nick Mathewson | 2021-10-21 | 1 | -2/+2 |
| | | | | | | | Solves a name conflict with the existing tor_client create. Closes #130. | ||||
| * | Change how we connect to target addresses. | Nick Mathewson | 2021-10-18 | 1 | -1/+1 |
| | | | | | | | | Now we all both address:port, (address, port), and more. We also allow SocketAddr and IpAddr, but only via a trait labeled as "Dangerous". | ||||
| * | Do not use downcast_ref, use tor-client error. | Jani Monoses | 2021-10-18 | 1 | -8/+6 |
| | | |||||
| * | Add a cast to correct a type error about WSAEMFILE | Nick Mathewson | 2021-10-15 | 1 | -1/+7 |
| | | |||||
| * | proxy: Mark ENFILES and EMFILES as survivable. | Nick Mathewson | 2021-10-14 | 1 | -2/+27 |
| | | | | | | | | | I don't love this approach, but those errors aren't distinguished by ErrorKind, so we have to use libc or winapi, apparently. At least nothing here is unsafe. Addresses part of #188. | ||||
| * | Fix typos | Jani Monoses | 2021-09-07 | 1 | -1/+1 |
| | | |||||
| * | Light refactoring and documentation improvements in proxy.rs | Nick Mathewson | 2021-08-27 | 1 | -40/+103 |
| | | |||||
| * | Move all crates into a `crates` subdirectory. | Nick Mathewson | 2021-08-27 | 1 | -0/+346 |
| This will cause some pain for now, but now is really the best time to do this kind of thing. | |||||
