Package | Description |
---|---|
socks | |
socks.server |
Modifier and Type | Method and Description |
---|---|
protected ProxyMessage |
Proxy.accept() |
protected ProxyMessage |
Proxy.bind(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.bind(String host,
int port) |
protected ProxyMessage |
Proxy.connect(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.connect(String host,
int port) |
protected ProxyMessage |
Proxy.exchange(ProxyMessage request)
Sends the request reads reply and returns it
throws exception if something wrong with IO
or the reply code is not zero
|
protected ProxyMessage |
Socks5Proxy.formMessage(InputStream in) |
protected ProxyMessage |
Socks4Proxy.formMessage(InputStream in) |
protected abstract ProxyMessage |
Proxy.formMessage(InputStream in) |
protected ProxyMessage |
Socks5Proxy.formMessage(int cmd,
InetAddress ip,
int port) |
protected ProxyMessage |
Socks4Proxy.formMessage(int cmd,
InetAddress ip,
int port) |
protected abstract ProxyMessage |
Proxy.formMessage(int cmd,
InetAddress ip,
int port) |
protected ProxyMessage |
Socks5Proxy.formMessage(int cmd,
String host,
int port) |
protected ProxyMessage |
Socks4Proxy.formMessage(int cmd,
String host,
int port) |
protected abstract ProxyMessage |
Proxy.formMessage(int cmd,
String host,
int port) |
protected ProxyMessage |
Proxy.readMsg()
Reads the reply from the SOCKS server
|
protected ProxyMessage |
Proxy.udpAssociate(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.udpAssociate(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
protected ProxyMessage |
Proxy.exchange(ProxyMessage request)
Sends the request reads reply and returns it
throws exception if something wrong with IO
or the reply code is not zero
|
protected void |
Proxy.sendMsg(ProxyMessage msg)
Sends the request to SOCKS server
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServerAuthenticatorNone.checkRequest(ProxyMessage msg)
Allways returns true.
|
boolean |
ServerAuthenticator.checkRequest(ProxyMessage msg)
This method is called when a request have been read.
|
boolean |
IdentAuthenticator.checkRequest(ProxyMessage msg,
Socket s)
For SOCKS5 requests allways returns true.
|
Copyright © 2024. All rights reserved.