Skip to main content

Module handshake

Module handshake 

Source
Expand description

Implement the socks handshakes.

Re-exportsΒ§

use crate::msg::SocksAddr; πŸ”’
use std::net::IpAddr; πŸ”’
use tor_bytes::Result as BytesResult; πŸ”’
use tor_bytes::EncodeResult; πŸ”’
use tor_bytes::Error as BytesError; πŸ”’
use tor_bytes::Readable; πŸ”’
use tor_bytes::Reader; πŸ”’
use tor_bytes::Writeable; πŸ”’
use tor_bytes::Writer; πŸ”’

ModulesΒ§

client πŸ”’
Implementation for a SOCKS client handshake.
framework πŸ”’
Framework for helping implement a handshake function
proxy πŸ”’
Types to implement the SOCKS handshake.

StructsΒ§

Action
An action to take in response to a SOCKS handshake message.

ConstantsΒ§

NO_AUTHENTICATION πŸ”’
Constant for β€œno authentication”.
USERNAME_PASSWORD πŸ”’
Constant for Username/Password-style authentication. (See RFC 1929)