Class | Net::SSH::Proxy::SOCKS4 |
In: |
lib/net/ssh/proxy/socks4.rb
|
Parent: | Object |
An implementation of a socket factory that returns a socket which will tunnel the connection through a SOCKS4 proxy. It allows explicit specification of the user, but if it is not given it will look in the SOCKS_USER and CONNECT_USER environment variables as well.
SOCKS_VERSION | = | 4 |
SOCKS_CMD_CONNECT | = | 1 |
SOCKS_GRANTED | = | 90 |
SOCKS_REJECTED | = | 91 |
SOCKS_IDENTD_REJECT | = | 92 |
SOCKS_IDENTD_BAD | = | 93 |
Create a new proxy connection to the given proxy host and port. Optionally, a @:user@ option may be given to identify the username with which to authenticate.