summaryrefslogtreecommitdiff
path: root/crates/tor-rpc-connect/src/connpt.rs
Commit message (Collapse)AuthorAgeFilesLines
* rpc-connect-point: Decline (not abort) on more invalid address formats.Nick Mathewson2025-12-171-4/+9
| | | | | | | | | | When we see an address schema we don't recognize, we're supposed to _decline_ the connect point rather than aborting. Closes #2303. See discussion at #1844. Additionally, we tolerate more kinds of invalid address, in order to permit future planned extensions.
* rpc-connect: Allow missing_docs_in_private_itemsGabriela Moldovan2025-12-011-0/+1
| | | | This silences a nightly warning.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-2/+2
| | | | | | | | | | | | | | 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-2/+2
|
* rpc-connect: Make Connect::validate more straightforwardNick Mathewson2025-01-271-11/+12
|
* rpc-connect: check that all paths inside a connpt are absolute.Nick Mathewson2025-01-271-13/+49
|
* rpc-connect: Detect and decline connpts with invalid "auth" feieldsNick Mathewson2025-01-271-18/+16
|
* rpc: Reject relative unix paths.Nick Mathewson2025-01-151-0/+9
|
* connect point: Use new CfgPathResolver api.Nick Mathewson2024-11-191-12/+22
|
* connect point: handle unrecognized auth variants.Nick Mathewson2024-11-191-4/+37
|
* Connect point: Improve robustness against new SocketAddr variantsNick Mathewson2024-11-191-2/+10
|
* connect point: add a test for ConflictingMembers.Nick Mathewson2024-11-191-0/+13
|
* connect-point: Rename Reps to Addresses.Nick Mathewson2024-11-191-7/+7
|
* connect point: Add client support.Nick Mathewson2024-11-191-0/+10
| | | | | ("Client support" here means connecting to a socket and reading a cookie file.)
* connect point: Treat unrecognized auth types as Decline.Nick Mathewson2024-11-191-0/+9
|
* connect points: Validate more correctness propertiesNick Mathewson2024-11-191-4/+23
| | | | | In particular, we only allow binding/connecting to localhost, and we only support None auth for Unix connections.
* connect points: Remember original string addressesNick Mathewson2024-11-191-6/+57
| | | | The cookie authentication protocol will need these.
* connect point: implement FromStr.Nick Mathewson2024-11-191-17/+58
| | | | | | | | | While doing so, tidy up the errors that we detect when parsing a connect point, so that we can differentiate ones that indicate an unsupported connect-point type. This means that fewer types now implement Deserialize; that's probably a good thing.
* tor-connect-point: new crate to manage RPC connect pointsNick Mathewson2024-11-191-0/+304
See doc/dev/rpc-book/src/rpc-connect-sketch.md for details.