Module msg

Source
Expand description

Structures that represent SOCKS messages

Structs§

SocksCmd
Command from the socks client telling us what to do.
SocksHostname
A hostname for use with SOCKS. It is limited in length.
SocksReply
The reply from a SOCKS proxy.
SocksRequest
A completed SOCKS request, as negotiated on a SOCKS connection.
SocksStatus
Possible reply status values from a SOCKS5 handshake.

Enums§

SocksAddr
An address sent or received as part of a SOCKS handshake
SocksAuth
Provided authentication from a SOCKS handshake
SocksVersion
A supported SOCKS version.

Functions§

contains_zeros 🔒
Return true if b contains at least one zero.