Expand description
A wrapper around a TCP stream that handles the SOCKS5 handshake. This module only
drives the handshake and returns the stream back to the caller. It does not
perform any I/O on the stream after the handshake is complete. The caller is
responsible for performing I/O on the stream.
This module is built on top of the futures crate instead of an specific
async runtime. This allows the caller to use this module with any async runtime
they want.
Structsยง
Enumsยง
Constantsยง
- SOCKS_
ADDR_ ๐TYPE_ DOMAIN - Magic value to indicate a domain address.
- SOCKS_
ADDR_ ๐TYPE_ IPV4 - Magic value to indicate an IPv4 address.
- SOCKS_
ADDR_ ๐TYPE_ IPV6 - Magic value to indicate an IPv6 address.
- SOCKS_
AUTH_ ๐METHOD_ NONE - The SOCKS authentication method we support, only no authentication is supported.
- SOCKS_
CMD_ ๐CONNECT - The cmd value for a SOCKS5 connect request.
- SOCKS_
VERSION ๐ - The version of the SOCKS protocol we support, only SOCKS5 is supported.