Package | Description |
---|---|
fucksocks.client | |
fucksocks.common.methods | |
fucksocks.server |
Modifier and Type | Class and Description |
---|---|
class |
Socks5
The class
Socks5 has implements SOCKS5 protocol. |
class |
SSLSocks5
The class
SSLSocks5 represents a SSL based SOCKS5 proxy. |
Modifier and Type | Method and Description |
---|---|
SocksProxy |
SocksProxy.copy()
This method can create a same SocksProxy instance.
|
SocksProxy |
Socks5.copy() |
SocksProxy |
SSLSocks5.copy() |
SocksProxy |
SocksProxy.copyWithoutChainProxy()
Copy the
SocksProxy . |
SocksProxy |
Socks5.copyWithoutChainProxy() |
SocksProxy |
SSLSocks5.copyWithoutChainProxy() |
SocksProxy |
SocksProxy.getChainProxy()
Returns the chain proxy.
|
SocksProxy |
Socks5.getChainProxy() |
SocksProxy |
Socks5DatagramSocket.getProxy() |
static SocksProxy |
SocksProxyFactory.parse(String value)
Creates a
SocksProxy instance with a string.For example: host,1080 = Socks5.Socks5(String, int)
host,1080,root,123456 = Socks5.Socks5(String, int, Credentials)
host,1080,root,123456,trustKeystorePath,trustKeyStorePassoword = Creates a
SSLSocks5 instance
host,1080,root,123456,trustKeystorePath,trustKeyStorePassoword,keystorePath,
keystorePathPassword = Creates a SSLSocks5 instance which supports client
authentication
|
SocksProxy |
SocksProxy.setAcceptableMethods(List<SocksMethod> methods)
Sets client's acceptable methods.
|
SocksProxy |
SocksProxy.setChainProxy(SocksProxy chainProxy)
Returns the instance of
SocksProxy . |
SocksProxy |
Socks5.setChainProxy(SocksProxy chainProxy) |
SocksProxy |
SocksProxy.setCredentials(Credentials credentials)
Sets credentials.
|
SocksProxy |
SocksProxy.setHost(String host)
Set SOCKS server's host.
|
SocksProxy |
SocksProxy.setPort(int port)
Set SOCKS server port.
|
SocksProxy |
SocksProxy.setProxySocket(Socket socket)
Set a unconnected socket which will be used to connect SOCKS server.
|
SocksProxy |
SocksProxy.setSocksMethodRequestor(SocksMethodRequestor requestor)
Sets
SocksMethodRequestor . |
Modifier and Type | Method and Description |
---|---|
SocksProxy |
SocksProxy.setChainProxy(SocksProxy chainProxy)
Returns the instance of
SocksProxy . |
SocksProxy |
Socks5.setChainProxy(SocksProxy chainProxy) |
void |
Socks5DatagramSocket.setProxy(SocksProxy proxy) |
Constructor and Description |
---|
Socks5(SocksProxy chainProxy,
SocketAddress socketAddress) |
Socks5DatagramSocket(SocksProxy proxy)
Constructs a datagram socket with a
SocksProxy . |
SocksServerSocket(SocksProxy proxy,
InetAddress inetAddress,
int port)
Constructs a server socket.
|
SocksSocket(SocksProxy proxy)
Creates an unconnected socket.
|
SocksSocket(SocksProxy proxy,
InetAddress address,
int port)
|
SocksSocket(SocksProxy proxy,
Socket proxySocket)
Creates a SocksSocket instance with a
SocksProxy and a |
SocksSocket(SocksProxy proxy,
SocketAddress socketAddress) |
SocksSocket(SocksProxy proxy,
String remoteServerHost,
int remoteServerPort)
Create a socket and connect SOCKS Server.
|
Modifier and Type | Method and Description |
---|---|
void |
NoAcceptableMethod.doMethod(SocksProxy socksProxy) |
void |
GssApiMethod.doMethod(SocksProxy socksProxy) |
void |
NoAuthencationRequiredMethod.doMethod(SocksProxy socksProxy) |
void |
UsernamePasswordMethod.doMethod(SocksProxy socksProxy)
Do authentication.
|
void |
SocksMethod.doMethod(SocksProxy socksProxy)
Do method job.
|
Modifier and Type | Method and Description |
---|---|
SocksProxy |
Socks5Handler.getProxy() |
SocksProxy |
GenericSocksProxyServer.getProxy() |
SocksProxy |
SocksProxyServer.getProxy() |
Modifier and Type | Method and Description |
---|---|
void |
Socks5Handler.setProxy(SocksProxy proxy) |
void |
GenericSocksProxyServer.setProxy(SocksProxy proxy) |
void |
SocksProxyServer.setProxy(SocksProxy proxy) |
void |
SocksHandler.setProxy(SocksProxy socksProxy) |
Copyright © 2015. All rights reserved.