Module: ShadowsocksRuby::Protocols::Socks5Protocol

Defined in:
lib/shadowsocks_ruby/protocols/packet/socks5.rb

Overview

Note:

Now only implemented the server side protocol, not the client side protocol.

SOCKS 5 protocol

specification :

Defined Under Namespace

Modules: TCP

Constant Summary collapse

METHOD_NO_AUTH =
0
CMD_CONNECT =
1
REP_SUCCESS =
0
RESERVED =
0
ATYP_IPV4 =
1
ATYP_DOMAIN =
3
ATYP_IPV6 =
4
SOCKS5 =
5