Package | Description |
---|---|
fucksocks.client | |
fucksocks.common.methods | |
fucksocks.server | |
fucksocks.server.msg |
Modifier and Type | Method and Description |
---|---|
SocksMethod |
GenericSocksMethodRequestor.doRequest(List<SocksMethod> acceptableMethods,
Socket socket,
int socksVersion) |
SocksMethod |
SocksMethodRequestor.doRequest(List<SocksMethod> acceptableMethods,
Socket socket,
int socksVersion)
Send request message to server.
|
Modifier and Type | Method and Description |
---|---|
List<SocksMethod> |
SocksProxy.getAcceptableMethods()
Gets clent's acceptable methods.
|
List<SocksMethod> |
Socks5.getAcceptableMethods() |
Modifier and Type | Method and Description |
---|---|
SocksMethod |
GenericSocksMethodRequestor.doRequest(List<SocksMethod> acceptableMethods,
Socket socket,
int socksVersion) |
SocksMethod |
SocksMethodRequestor.doRequest(List<SocksMethod> acceptableMethods,
Socket socket,
int socksVersion)
Send request message to server.
|
SocksProxy |
SocksProxy.setAcceptableMethods(List<SocksMethod> methods)
Sets client's acceptable methods.
|
Socks5 |
Socks5.setAcceptableMethods(List<SocksMethod> acceptableMethods) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSocksMethod
The class
AbstractSocksMethod is a abstract class that implements
SocksMethod . |
class |
GssApiMethod
The class
GssApiMethod is represents GSS API method in SOCKS protocol. |
class |
NoAcceptableMethod
The class
NoAcceptableMethod represents a method which indicates none of the methods
listed by the client are acceptable. |
class |
NoAuthencationRequiredMethod
The class
NoAuthencationRequiredMethod represents method which mean NO
AUTHENTICATION REQUIRED. |
class |
UsernamePasswordMethod
The class
UsernamePasswordMethod represents the method that need USERNAME/PASSWORD
authentication.Notice: This method is only supported by SOCKS5 protocol. |
Modifier and Type | Method and Description |
---|---|
static SocksMethod |
SocksMethodRegistry.getByByte(byte b)
Returns a
SocksMethod class which value is equal the given byte. |
Modifier and Type | Method and Description |
---|---|
static void |
SocksMethodRegistry.putMethod(SocksMethod socksMethod)
Puts a
SocksMethod class into the SOCKS method registry with an instance of
SocksMethod . |
Modifier and Type | Method and Description |
---|---|
static void |
SocksMethodRegistry.overWriteReistry(List<SocksMethod> socksMethods) |
Modifier and Type | Method and Description |
---|---|
SocksMethod |
SocksMethodSelector.select(MethodSelectionMessage message) |
SocksMethod |
MethodSelector.select(MethodSelectionMessage message)
Selects a method form
MethodSelectionMessage . |
Modifier and Type | Method and Description |
---|---|
Set<SocksMethod> |
SocksMethodSelector.getSupportMethods() |
Set<SocksMethod> |
MethodSelector.getSupportMethods()
Gets methods that server supported.
|
Modifier and Type | Method and Description |
---|---|
void |
SocksMethodSelector.addSupportMethod(SocksMethod socksMethod) |
void |
MethodSelector.addSupportMethod(SocksMethod socksMethod)
Adds a method into a support method list.
|
void |
SocksMethodSelector.removeSupportMethod(SocksMethod socksMethod) |
void |
MethodSelector.removeSupportMethod(SocksMethod socksMethod)
Removes the method from the sets.
|
void |
SocksMethodSelector.setSupportMethod(SocksMethod... methods) |
void |
MethodSelector.setSupportMethod(SocksMethod... methods)
Sets support methods.
|
void |
GenericSocksProxyServer.setSupportMethods(SocksMethod... methods) |
void |
SocksProxyServer.setSupportMethods(SocksMethod... methods)
Sets the methods that socks server supports.
|
Modifier and Type | Method and Description |
---|---|
void |
SocksMethodSelector.setSupportMethods(Set<SocksMethod> supportMethods) |
void |
MethodSelector.setSupportMethods(Set<SocksMethod> supportMethods)
Sets methods that server supported.
|
Constructor and Description |
---|
MethodSelecionResponseMessage(int version,
SocksMethod socksMethod)
Constructs an instance of
MethodSelecionResponseMessage with a version and a method. |
MethodSelecionResponseMessage(SocksMethod socksMethod)
Constructs an instance of
MethodSelecionResponseMessage with a method. |
Copyright © 2015. All rights reserved.