package
0.0.0-20240930074603-f0ba3941aa7d
Repository: https://github.com/finddiff/rulebaseproxy.git
Documentation: pkg.go.dev
# Functions
ClientHandshake fast-tracks SOCKS initialization to get target address to connect on client side.
DecodeUDPPacket split `packet` to addr payload, and this function is mutable with `packet`.
No description provided by the author
ParseAddr parses the address in string s.
ParseAddrToSocksAddr parse a socks addr from net.addr This is a fast path of ParseAddr(addr.String()).
No description provided by the author
ServerHandshake fast-tracks SOCKS initialization to get target address to connect on server side.
SplitAddr slices a SOCKS address from beginning of b.
# Constants
SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
MaxAddrLen is the maximum size of SOCKS address in bytes.
MaxAuthLen is the maximum size of user/password field in SOCKS5 Auth.
No description provided by the author
# Variables
Auth errors used to return a specific "Auth failed" error.