2 #define SOCKS_VERSION_5 0x05
3 #define SOCKS_AUTH_NONE 0
14 struct socks5_client_hello
17 uint8_t num_auth_methods;
21 /* Client socks request */
22 struct socks5_client_request
29 * followed by either an ip4/ipv6 address
30 * or a domain name with a length field in front
35 struct socks5_server_hello
41 /* Server response to client requests */
42 struct socks5_server_response