Sha256: f34901abd4bd8e0de2e41932258a0ce54148649dc1611aeda78f70d9d050095d

Contents?: true

Size: 411 Bytes

Versions: 20

Compression:

Stored size: 411 Bytes

Contents

module RSocks
  VERSION = 0x05
  NOT_ACCEPT = 0xFF

  PASSWORD_LOGIN = 0x02
  NO_AUTH = 0x00

  AUTH_HEADER = 0x01

  KEEP_ONE_BIT = 0x00

  CMD_CONNECT = 0x01
  CMD_BIND = 0x02
  CMD_UDP = 0x03

  ADDR_IPV4 = 0x01
  ADDR_IPV6 = 0x04
  ADDR_DOMAIN = 0x03


  CONNECT_FAIL = 0x01
  CONNECT_SUCCESS = 0x00

  SUCCESS_RESPONSE = [AUTH_HEADER, 0x00].pack('CC')
  FAILED_RESPONSE = [AUTH_HEADER, 0x01].pack('CC')
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
r_socks-0.2.11 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.10 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.9 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.8 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.7 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.6 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.5 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.4 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.3 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.2 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.1 lib/r_socks/socks5_bit_codes.rb
r_socks-0.2.0 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.8 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.7 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.6 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.5 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.4 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.3 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.2 lib/r_socks/socks5_bit_codes.rb
r_socks-0.1.1 lib/r_socks/socks5_bit_codes.rb