public class SocksProxyConstants
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static byte |
BASIC_AUTH |
static byte |
BASIC_AUTH_SUBNEGOTIATION_VERSION |
static byte |
DOMAIN_NAME_ADDRESS_TYPE |
static byte |
ESTABLISH_TCPIP_BIND |
static byte |
ESTABLISH_TCPIP_STREAM
Command codes.
|
static byte |
ESTABLISH_UDP_ASSOCIATE |
static byte[] |
FAKE_IP
Invalid IP used in SOCKS 4a protocol to specify that the
client can't resolve the destination host's domain name.
|
static byte |
GSSAPI_AUTH |
static byte |
GSSAPI_AUTH_SUBNEGOTIATION_VERSION |
static byte |
GSSAPI_MSG_TYPE |
static byte |
IPV4_ADDRESS_TYPE
SOCKS v5 address types.
|
static byte |
IPV6_ADDRESS_TYPE |
static java.lang.String |
KERBEROS_V5_OID
Kerberos providers OID's.
|
static java.lang.String |
MS_KERBEROS_V5_OID |
static byte |
NO_ACCEPTABLE_AUTH_METHOD |
static byte |
NO_AUTH
SOCKS v5 authentication methods.
|
static java.lang.String |
NTLMSSP_OID
Microsoft NTLM security support provider.
|
static int |
SOCKS_4_RESPONSE_SIZE
The size of a server to client response in a SOCKS4/4a negotiation.
|
static byte |
SOCKS_VERSION_4
SOCKS versions field values.
|
static byte |
SOCKS_VERSION_5 |
static int |
SOCKS5_AUTH_STEP |
static int |
SOCKS5_GREETING_STEP
SOCKS v5 handshake steps.
|
static int |
SOCKS5_REQUEST_STEP |
static byte[] |
SUPPORTED_AUTH_METHODS |
static byte |
TERMINATOR |
static byte |
V4_REPLY_REQUEST_FAILED_ID_NOT_CONFIRMED |
static byte |
V4_REPLY_REQUEST_FAILED_NO_IDENTD |
static byte |
V4_REPLY_REQUEST_GRANTED
SOCKS v4/v4a server reply codes.
|
static byte |
V4_REPLY_REQUEST_REJECTED_OR_FAILED |
static byte |
V5_REPLY_ADDRESS_TYPE_NOT_SUPPORTED |
static byte |
V5_REPLY_COMMAND_NOT_SUPPORTED |
static byte |
V5_REPLY_CONNECTION_REFUSED |
static byte |
V5_REPLY_GENERAL_FAILURE |
static byte |
V5_REPLY_HOST_UNREACHABLE |
static byte |
V5_REPLY_NETWORK_UNREACHABLE |
static byte |
V5_REPLY_NOT_ALLOWED |
static byte |
V5_REPLY_SUCCEEDED
SOCKS v5 server reply codes.
|
static byte |
V5_REPLY_TTL_EXPIRED |
构造器和说明 |
---|
SocksProxyConstants() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
getReplyCodeAsString(byte code)
Return the string associated with the specified reply code.
|
public static final byte SOCKS_VERSION_4
public static final byte SOCKS_VERSION_5
public static final byte TERMINATOR
public static final int SOCKS_4_RESPONSE_SIZE
public static final byte[] FAKE_IP
public static final byte ESTABLISH_TCPIP_STREAM
public static final byte ESTABLISH_TCPIP_BIND
public static final byte ESTABLISH_UDP_ASSOCIATE
public static final byte V4_REPLY_REQUEST_GRANTED
public static final byte V4_REPLY_REQUEST_REJECTED_OR_FAILED
public static final byte V4_REPLY_REQUEST_FAILED_NO_IDENTD
public static final byte V4_REPLY_REQUEST_FAILED_ID_NOT_CONFIRMED
public static final byte V5_REPLY_SUCCEEDED
public static final byte V5_REPLY_GENERAL_FAILURE
public static final byte V5_REPLY_NOT_ALLOWED
public static final byte V5_REPLY_NETWORK_UNREACHABLE
public static final byte V5_REPLY_HOST_UNREACHABLE
public static final byte V5_REPLY_CONNECTION_REFUSED
public static final byte V5_REPLY_TTL_EXPIRED
public static final byte V5_REPLY_COMMAND_NOT_SUPPORTED
public static final byte V5_REPLY_ADDRESS_TYPE_NOT_SUPPORTED
public static final byte IPV4_ADDRESS_TYPE
public static final byte DOMAIN_NAME_ADDRESS_TYPE
public static final byte IPV6_ADDRESS_TYPE
public static final int SOCKS5_GREETING_STEP
public static final int SOCKS5_AUTH_STEP
public static final int SOCKS5_REQUEST_STEP
public static final byte NO_AUTH
public static final byte GSSAPI_AUTH
public static final byte BASIC_AUTH
public static final byte NO_ACCEPTABLE_AUTH_METHOD
public static final byte[] SUPPORTED_AUTH_METHODS
public static final byte BASIC_AUTH_SUBNEGOTIATION_VERSION
public static final byte GSSAPI_AUTH_SUBNEGOTIATION_VERSION
public static final byte GSSAPI_MSG_TYPE
public static final java.lang.String KERBEROS_V5_OID
public static final java.lang.String MS_KERBEROS_V5_OID
public static final java.lang.String NTLMSSP_OID