Expand description
Structures that represent SOCKS messages
Re-exportsยง
use crate::Error;๐use crate::Result;๐use caret::caret_int;๐use std::fmt;๐use std::net::IpAddr;๐use std::net::Ipv6Addr;๐use tor_error::bad_api_usage;๐use arbitrary::Arbitrary;๐use arbitrary::Arbitrary;๐use arbitrary::Result as ArbitraryResult;๐use arbitrary::Unstructured;๐
Structsยง
- Invalid
Socks Version - We tried to convert something other than โ4โ or โ5โ to a SOCKS version.
- Socks
Cmd - Command from the socks client telling us what to do.
- Socks
Hostname - A hostname for use with SOCKS. It is limited in length.
- Socks
Reply - The reply from a SOCKS proxy.
- Socks
Request - A completed SOCKS request, as negotiated on a SOCKS connection.
- Socks
Status - Possible reply status values from a SOCKS5 handshake.
Enumsยง
- Socks
Addr - An address sent or received as part of a SOCKS handshake
- Socks
Auth - Provided authentication from a SOCKS handshake
- Socks
Version - A supported SOCKS version.
Functionsยง
- contains_
zeros ๐ - Return true if b contains at least one zero.