summaryrefslogtreecommitdiff
path: root/crates/tor-rpc-connect/src/server.rs
Commit message (Collapse)AuthorAgeFilesLines
* rpc-connect: Implement json address-file format.Nick Mathewson2026-01-271-3/+7
|
* rpc: Add rpc-server-side support for inet-auto addresses.Nick Mathewson2026-01-271-9/+23
|
* rpc: Begin implementing inet-auto address scheme.Nick Mathewson2026-01-271-4/+9
|
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* Fix AF_UNIX terminology in docs, comments, and error messagesIan Jackson2025-03-241-1/+1
|
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
| | | | - `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
* rpc-connect: remove todo; confirm that we do want to mkdir.Nick Mathewson2025-01-271-1/+1
|
* rpc-connect: Detect and decline connpts with invalid "auth" feieldsNick Mathewson2025-01-271-1/+1
|
* rpc: Refactor Cookie and UnloadedCookie into a single type.Nick Mathewson2025-01-151-3/+3
|
* rpc: consolodate naming of "inherent" auth.Nick Mathewson2025-01-151-1/+1
| | | | | | | | | We don't want to call this "unix path" anywhere, since it corresponds to _any_ case where the ability to negotiate a successful connection means that the client is authorized. We also don't want to call it "none": The authentication is inherent to the connection, not nonexistent.
* rpc: Keep Cookie in an Arc.Nick Mathewson2025-01-151-2/+6
| | | | | Since this is a secret value, it's probably best not to copy it all over the place.
* tor-rpc-connect: move cookie auth support to its own module.Nick Mathewson2025-01-151-1/+1
|
* Rename Guard=>ListenerGuard.Nick Mathewson2024-12-191-4/+4
|
* rpc-connect: Explain locking rationale better.Nick Mathewson2024-12-191-3/+12
|
* rpc-connect: Use try_lock when acquiring fslockNick Mathewson2024-12-191-1/+4
| | | | | This lets us bail when another process has bound to our connect point, rather than blocking indefinitely.
* connpt: Make unix socket handling more robust.Nick Mathewson2024-12-191-2/+65
| | | | | | | | | | Grab an associated lock file... - ... then delete the socket file (if it's present) ... - ... then bind to it. On exit: - remove the socket - then drop the lock.
* rpc-connect: fix another very typoed lineNick Mathewson2024-12-191-1/+1
|
* connect point: handle unrecognized auth variants.Nick Mathewson2024-11-191-1/+1
|
* connect point: Add server support.Nick Mathewson2024-11-191-0/+69
("Server support" here means binding to a socket and reading a cookie file.)