Class: Remailer::SOCKS5::Client::Interpreter
- Inherits:
-
Interpreter
- Object
- Interpreter
- Remailer::SOCKS5::Client::Interpreter
- Defined in:
- lib/remailer/socks5/client/interpreter.rb
Constant Summary collapse
- SOCKS5_VERSION =
RFC1928 and RFC1929 define these values
5
- SOCKS5_METHOD =
{ :no_auth => 0, :gssapi => 1, :username_password => 2 }.freeze
- SOCKS5_COMMAND =
{ :connect => 1, :bind => 2 }.freeze
- SOCKS5_REPLY =
{ 0 => 'Succeeded', 1 => 'General SOCKS server failure', 2 => 'Connection not allowed', 3 => 'Network unreachable', 4 => 'Host unreachable', 5 => 'Connection refused', 6 => 'TTL expired', 7 => 'Command not supported', 8 => 'Address type not supported' }.freeze
- SOCKS5_ADDRESS_TYPE =
{ :ipv4 => 1, :domainname => 3, :ipv6 => 4 }.freeze
Instance Attribute Summary
Attributes inherited from Interpreter
Instance Method Summary collapse
-
#label ⇒ Object
Instance Methods =====================================================.
Methods inherited from Interpreter
create_parser_for_spec, default, default_interpreter, default_parser, #enter_state, #error?, initial_state, initial_state=, #initialize, #interpret, on_error, on_error_handler, parse, #parse, #parser, #process, state, state_defined?, states, states_defined, #will_interpret?
Constructor Details
This class inherits a constructor from Remailer::Interpreter
Instance Method Details
#label ⇒ Object
Instance Methods =====================================================
189 190 191 |
# File 'lib/remailer/socks5/client/interpreter.rb', line 189 def label 'SOCKS5' end |