A B C D E F G H I K L M N O P R S T U V W 

A

AbstractSocksMethod - Class in fucksocks.common.methods
The class AbstractSocksMethod is a abstract class that implements SocksMethod.
AbstractSocksMethod() - Constructor for class fucksocks.common.methods.AbstractSocksMethod
 
accept() - Method in class fucksocks.client.Socks5
 
accept() - Method in interface fucksocks.client.SocksProxy
When binded server has income connection, this method will read second response message from SOCKS server.
accept() - Method in class fucksocks.client.SocksServerSocket
Accepts a connection.
Notice: This method can be called only once.
AClassLocalIPRange() - Static method in class fucksocks.common.IPRange
Gets A class IP range.
addFilter(SessionFilter) - Method in class fucksocks.server.filters.SessionFilterChain
 
addIp(String) - Method in class fucksocks.server.filters.IPSessionFilter
Add an IP address to the list of IP address ranges.
addIpRange(String) - Method in class fucksocks.server.filters.IPSessionFilter
Add an IP address range to the List of IP address ranges.
addPipeListener(PipeListener) - Method in interface fucksocks.server.io.Pipe
Adds pipe listener.
addPipeListener(PipeListener) - Method in class fucksocks.server.io.SocketPipe
 
addPipeListener(PipeListener) - Method in class fucksocks.server.io.StreamPipe
 
AddressType - Class in fucksocks.common
The class AddressType represents type of address.
addSessionFilter(SessionFilter) - Method in class fucksocks.server.GenericSocksProxyServer
 
addSessionFilter(SessionFilter) - Method in interface fucksocks.server.SocksProxyServer
addSocksCommandFilter(SocksCommandFilter) - Method in class fucksocks.server.GenericSocksProxyServer
 
addSocksCommandFilter(SocksCommandFilter) - Method in interface fucksocks.server.SocksProxyServer
addSupportMethod(SocksMethod) - Method in interface fucksocks.server.MethodSelector
Adds a method into a support method list.
addSupportMethod(SocksMethod) - Method in class fucksocks.server.SocksMethodSelector
 
addUser(String, String) - Method in class fucksocks.server.RamBasedUserManager
 
addUser(String, String) - Method in interface fucksocks.server.UserManager
Adds a user to the UserManager.
addUser(String, String) - Method in class fucksocks.server.UsernamePasswordAuthenticator
 
AnonymousCredentials - Class in fucksocks.common
The class AnonymousCredentials represents an anonymous credentials.
AnonymousCredentials() - Constructor for class fucksocks.common.AnonymousCredentials
 
AnonymousePrincipal - Class in fucksocks.common
The class AnonymousePrincipal represents an anonymous principal.
AnonymousePrincipal() - Constructor for class fucksocks.common.AnonymousePrincipal
 
ATYPE_DOMAINNAME - Static variable in interface fucksocks.client.SocksCommandSender
 
ATYPE_IPV4 - Static variable in interface fucksocks.client.SocksCommandSender
 
ATYPE_IPV6 - Static variable in interface fucksocks.client.SocksCommandSender
 
AUTHENTICATION_SUCCEEDED - Static variable in class fucksocks.client.Socks5
Authentication succeeded code.
AuthenticationException - Exception in fucksocks.common
The class AuthenticationException represents a authentication exception.
AuthenticationException(String) - Constructor for exception fucksocks.common.AuthenticationException
Constructs an instance of AuthenticationException with a message.
AuthenticationException(String, SocketAddress) - Constructor for exception fucksocks.common.AuthenticationException
 
Authenticator - Interface in fucksocks.server
The class Authenticator represents an authenticator.

B

BClassLocalIPRange() - Static method in class fucksocks.common.IPRange
Gets B class IP range.
bind(SocketAddress) - Method in class fucksocks.client.SocksSocket
 
buildConnection() - Method in class fucksocks.client.Socks5
 
buildConnection() - Method in interface fucksocks.client.SocksProxy
Connect SOCKS server using SOCKS protocol.
bytesToHexString(byte[]) - Static method in class fucksocks.utils.LogMessage
Returns a hex string.
bytesToInt(byte[]) - Static method in class fucksocks.utils.SocksUtil
Get an integer from a byte array.
bytesToInt(byte, byte) - Static method in class fucksocks.utils.SocksUtil
Returns a port.

C

CClassLocalIPRange() - Static method in class fucksocks.common.IPRange
Gets C class IP range.
checkServerReply(InputStream) - Method in class fucksocks.client.GenericSocksCommandSender
 
checkServerReply(InputStream) - Method in interface fucksocks.client.SocksCommandSender
 
clearAllAttributes() - Method in interface fucksocks.server.Session
Clear all attributes in session.
clearAllAttributes() - Method in class fucksocks.server.SocksSession
 
clearAllSupportMethods() - Method in interface fucksocks.server.MethodSelector
Clears all methods that server supported.
clearAllSupportMethods() - Method in class fucksocks.server.SocksMethodSelector
 
close() - Method in class fucksocks.client.Socks5DatagramSocket
 
close() - Method in class fucksocks.client.SocksSocket
 
close() - Method in interface fucksocks.server.io.Pipe
Close pipe.
close() - Method in class fucksocks.server.io.SocketPipe
 
close() - Method in class fucksocks.server.io.StreamPipe
 
close() - Method in interface fucksocks.server.Session
Closes connection.
close() - Method in class fucksocks.server.SocksSession
 
closeAllSession() - Method in class fucksocks.server.GenericSocksProxyServer
Closes all sessions.
CMD_BIND - Static variable in class fucksocks.server.msg.CommandMessage
Value of BIND command.
CMD_CONNECT - Static variable in class fucksocks.server.msg.CommandMessage
Value of CONNECTE command.
CMD_UDP_ASSOCIATE - Static variable in class fucksocks.server.msg.CommandMessage
Value of UDP ASSOCIATE command.
CommandMessage - Class in fucksocks.server.msg
The class RequestCommandMessage represents a SOCKS5 command message.
CommandMessage() - Constructor for class fucksocks.server.msg.CommandMessage
 
CommandReplyMesasge - Class in fucksocks.client
The class RequestCmdReplyMesasge represents the message that sent by SOCKS server when client sends a command request.
CommandReplyMesasge(byte[]) - Constructor for class fucksocks.client.CommandReplyMesasge
Constructs an instance of CommandReplyMesasge with an array of bytes that received from SOCKS server.
CommandResponseMessage - Class in fucksocks.server.msg
The class CommandResponseMessage represents a command response message.
CommandResponseMessage(ServerReply) - Constructor for class fucksocks.server.msg.CommandResponseMessage
CommandResponseMessage(int, ServerReply, InetAddress, int) - Constructor for class fucksocks.server.msg.CommandResponseMessage
compareTo(IP) - Method in class fucksocks.common.IP
 
connect(String, int) - Method in class fucksocks.client.SocksSocket
Connect to SOCKS Server and server will proxy remote server.
connect(SocketAddress) - Method in class fucksocks.client.SocksSocket
 
connect(SocketAddress, int) - Method in class fucksocks.client.SocksSocket
 
contains(IP) - Method in class fucksocks.common.IPRange
Returns true if the given IP is in the IP range.
copy() - Method in class fucksocks.client.Socks5
 
copy() - Method in interface fucksocks.client.SocksProxy
This method can create a same SocksProxy instance.
copy() - Method in class fucksocks.client.SSLSocks5
 
copyWithoutChainProxy() - Method in class fucksocks.client.Socks5
 
copyWithoutChainProxy() - Method in interface fucksocks.client.SocksProxy
Copy the SocksProxy.
copyWithoutChainProxy() - Method in class fucksocks.client.SSLSocks5
 
create(byte[], LogMessage.MsgType) - Static method in class fucksocks.utils.LogMessage
Returns a log message.
create(byte[], int, LogMessage.MsgType) - Static method in class fucksocks.utils.LogMessage
Returns a log message.
createProxySocket(InetAddress, int) - Method in class fucksocks.client.Socks5
 
createProxySocket() - Method in class fucksocks.client.Socks5
 
createProxySocket(InetAddress, int) - Method in interface fucksocks.client.SocksProxy
Creates a proxy socket.
createProxySocket() - Method in interface fucksocks.client.SocksProxy
Creates a unconnected socket.
createProxySocket(InetAddress, int) - Method in class fucksocks.client.SSLSocks5
 
createProxySocket() - Method in class fucksocks.client.SSLSocks5
 
createServerSocket(int) - Method in class fucksocks.server.GenericSocksProxyServer
 
createServerSocket(int) - Method in class fucksocks.server.SSLSocksProxyServer
 
createSocksHandler() - Method in class fucksocks.server.GenericSocksProxyServer
 
createSocksHandler() - Method in interface fucksocks.server.SocksProxyServer
Create an instance SocksHandler.
createSSLServer(int) - Method in class fucksocks.server.SSLSocksProxyServer
 
Credentials - Interface in fucksocks.common
The class Credentials represents a credentials.

D

DatagramPacketDecapsulation - Interface in fucksocks.common
The interface DatagramPacketDecapsulation represents a datagram packet decapsulation.
DatagramPacketEncapsulation - Interface in fucksocks.common
The interface DatagramPacketEncapsulation represents a datagram packet encapsulation.
decapsulate(DatagramPacket) - Method in interface fucksocks.common.DatagramPacketDecapsulation
Decapsulates a datagram packet.
decapsulate(DatagramPacket) - Method in class fucksocks.common.Socks5DatagramPacketHandler
 
DEFAULT_SOCKS_PORT - Static variable in interface fucksocks.server.SocksProxyServer
SOCKS server default port.
deleteUser(String) - Method in class fucksocks.server.RamBasedUserManager
 
deleteUser(String) - Method in interface fucksocks.server.UserManager
Deletes a user from UserManager by username.
deleteUser(String) - Method in class fucksocks.server.UsernamePasswordAuthenticator
 
doAuthenticate(Credentials, Session) - Method in interface fucksocks.server.Authenticator
This method will do authentication work.
doAuthenticate(Credentials, Session) - Method in class fucksocks.server.UsernamePasswordAuthenticator
 
doBind(Session, CommandMessage) - Method in class fucksocks.server.Socks5Handler
 
doBind(Session, CommandMessage) - Method in interface fucksocks.server.SocksHandler
Do BIND command.
doConnect(Session, CommandMessage) - Method in class fucksocks.server.Socks5Handler
 
doConnect(Session, CommandMessage) - Method in interface fucksocks.server.SocksHandler
Do CONNECTE command.
doFilter(Session) - Method in class fucksocks.server.filters.IPSessionFilter
 
doFilter(Session) - Method in interface fucksocks.server.filters.SessionFilter
Return true, the SessionFilterChain will call the next SessionFilter if it has next SessionFilter.
doFilter(Session, CommandMessage) - Method in interface fucksocks.server.filters.SocksCommandFilter
This method will be called before the SOCKS server do the SOCKS command.
doFilterWork(Session) - Method in class fucksocks.server.filters.SessionFilterChain
 
DOMAINNAME - Static variable in class fucksocks.common.AddressType
Domain name.
doMethod(SocksProxy) - Method in class fucksocks.common.methods.GssApiMethod
 
doMethod(Session) - Method in class fucksocks.common.methods.GssApiMethod
 
doMethod(SocksProxy) - Method in class fucksocks.common.methods.NoAcceptableMethod
 
doMethod(Session) - Method in class fucksocks.common.methods.NoAcceptableMethod
 
doMethod(SocksProxy) - Method in class fucksocks.common.methods.NoAuthencationRequiredMethod
 
doMethod(Session) - Method in class fucksocks.common.methods.NoAuthencationRequiredMethod
 
doMethod(SocksProxy) - Method in interface fucksocks.common.methods.SocksMethod
Do method job.
doMethod(Session) - Method in interface fucksocks.common.methods.SocksMethod
Do method job.
doMethod(SocksProxy) - Method in class fucksocks.common.methods.UsernamePasswordMethod
Do authentication.
doMethod(Session) - Method in class fucksocks.common.methods.UsernamePasswordMethod
 
doRequest(List<SocksMethod>, Socket, int) - Method in class fucksocks.client.GenericSocksMethodRequestor
 
doRequest(List<SocksMethod>, Socket, int) - Method in interface fucksocks.client.SocksMethodRequestor
Send request message to server.
doSocksCommandFilter(Session, CommandMessage) - Method in class fucksocks.server.Socks5Handler
 
doTransfer(byte[]) - Method in class fucksocks.server.io.StreamPipe
Transfer a buffer.
doUDPAssociate(Session, CommandMessage) - Method in class fucksocks.server.Socks5Handler
 
doUDPAssociate(Session, CommandMessage) - Method in interface fucksocks.server.SocksHandler
Do UDP ASSOCIATE command.

E

encapsulate(DatagramPacket, SocketAddress) - Method in interface fucksocks.common.DatagramPacketEncapsulation
Encapsulates a datagram packet.
encapsulate(DatagramPacket, SocketAddress) - Method in class fucksocks.common.Socks5DatagramPacketHandler
 
equals(Object) - Method in class fucksocks.common.AnonymousePrincipal
 
equals(Object) - Method in class fucksocks.common.IP
 
equals(Object) - Method in class fucksocks.common.IPRange
 
equals(Object) - Method in class fucksocks.common.methods.AbstractSocksMethod
 
equals(Object) - Method in class fucksocks.common.Socks5UserPrincipal
 
equals(Object) - Method in class fucksocks.common.UsernamePasswordCredentials
 
equals(Object) - Method in class fucksocks.utils.UnsignedByte
 

F

findAll() - Method in class fucksocks.server.RamBasedUserManager
 
findAll() - Method in interface fucksocks.server.UserManager
Find all users.
findUser(String, String) - Method in class fucksocks.server.RamBasedUserManager
 
findUser(String, String) - Method in interface fucksocks.server.UserManager
finds a user by username and password.
fucksocks.client - package fucksocks.client
 
fucksocks.common - package fucksocks.common
 
fucksocks.common.methods - package fucksocks.common.methods
 
fucksocks.server - package fucksocks.server
 
fucksocks.server.filters - package fucksocks.server.filters
 
fucksocks.server.io - package fucksocks.server.io
 
fucksocks.server.msg - package fucksocks.server.msg
 
fucksocks.utils - package fucksocks.utils
 

G

GenericSocksCommandSender - Class in fucksocks.client
The class GenericSocksCommandSender implements SocksCommandSender.
GenericSocksCommandSender() - Constructor for class fucksocks.client.GenericSocksCommandSender
 
GenericSocksMethodRequestor - Class in fucksocks.client
The class GenericSocksMethodRequestor implements SocksMethodRequestor.
GenericSocksMethodRequestor() - Constructor for class fucksocks.client.GenericSocksMethodRequestor
 
GenericSocksProxyServer - Class in fucksocks.server
The class GenericSocksProxyServer is a implementation of SocksProxyServer.
You can create a SOKCS5 server easily by following codes:
GenericSocksProxyServer(Class<? extends SocksHandler>) - Constructor for class fucksocks.server.GenericSocksProxyServer
Constructs a GenericSocksProxyServer by a SocksHandler class.
GenericSocksProxyServer(Class<? extends SocksHandler>, int) - Constructor for class fucksocks.server.GenericSocksProxyServer
Constructs a GenericSocksProxyServer by a SocksHandler class and a port.
GenericSocksProxyServer(Class<? extends SocksHandler>, ExecutorService) - Constructor for class fucksocks.server.GenericSocksProxyServer
Constructs a GenericSocksProxyServer by a SocksHandler class and a ExecutorService.
GenericSocksProxyServer(Class<? extends SocksHandler>, int, ExecutorService) - Constructor for class fucksocks.server.GenericSocksProxyServer
Constructs a GenericSocksProxyServer by a SocksHandler class , a port and a ExecutorService.
getA() - Method in class fucksocks.common.IP
 
getAbstractPath(String) - Static method in class fucksocks.utils.PathUtil
Returns abstract path.
getAcceptableMethods() - Method in class fucksocks.client.Socks5
 
getAcceptableMethods() - Method in interface fucksocks.client.SocksProxy
Gets clent's acceptable methods.
getAddressType() - Method in class fucksocks.server.msg.CommandMessage
 
getAddressType() - Method in class fucksocks.server.msg.CommandResponseMessage
Returns address type.
getAttribute(Object) - Method in interface fucksocks.server.Session
 
getAttribute(Object) - Method in class fucksocks.server.SocksSession
 
getAttributes() - Method in interface fucksocks.server.Session
Returns all attributes.
getAttributes() - Method in class fucksocks.server.SocksSession
 
getAuthenticator() - Method in class fucksocks.common.methods.UsernamePasswordMethod
 
getB() - Method in class fucksocks.common.IP
 
getBindAddress() - Method in class fucksocks.client.SocksServerSocket
 
getBindAddress() - Method in class fucksocks.server.msg.CommandResponseMessage
Returns bind address.
getBindPort() - Method in class fucksocks.client.SocksServerSocket
 
getBindPort() - Method in class fucksocks.server.GenericSocksProxyServer
 
getBindPort() - Method in class fucksocks.server.msg.CommandResponseMessage
Returns bind port.
getBindPort() - Method in interface fucksocks.server.SocksProxyServer
 
getBindSocketAddress() - Method in class fucksocks.client.SocksServerSocket
 
getBufferSize() - Method in class fucksocks.server.GenericSocksProxyServer
 
getBufferSize() - Method in interface fucksocks.server.io.Pipe
GEts the buffer size.
getBufferSize() - Method in class fucksocks.server.io.SocketPipe
 
getBufferSize() - Method in class fucksocks.server.io.StreamPipe
 
getBufferSize() - Method in class fucksocks.server.Socks5Handler
 
getBufferSize() - Method in interface fucksocks.server.SocksHandler
Returns buffer size.
getBufferSize() - Method in interface fucksocks.server.SocksProxyServer
Returns buffer size.
getBufferSize() - Method in class fucksocks.server.UDPRelayServer
Returns buffer size.
getByByte(byte) - Static method in class fucksocks.common.methods.SocksMethodRegistry
Returns a SocksMethod class which value is equal the given byte.
getByte() - Method in class fucksocks.common.methods.GssApiMethod
 
getByte() - Method in class fucksocks.common.methods.NoAcceptableMethod
 
getByte() - Method in class fucksocks.common.methods.NoAuthencationRequiredMethod
 
getByte() - Method in interface fucksocks.common.methods.SocksMethod
method byte.
getByte() - Method in class fucksocks.common.methods.UsernamePasswordMethod
 
getBytes() - Method in class fucksocks.server.msg.CommandMessage
 
getBytes() - Method in class fucksocks.server.msg.CommandResponseMessage
 
getBytes() - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
 
getBytes() - Method in class fucksocks.server.msg.MethodSelectionMessage
 
getBytes() - Method in class fucksocks.server.msg.UsernamePasswordMessage
 
getBytes() - Method in class fucksocks.server.msg.UsernamePasswordResponseMessage
 
getBytes() - Method in interface fucksocks.server.msg.WritableMessage
Returns the byte array of the message.
getC() - Method in class fucksocks.common.IP
 
getChainProxy() - Method in class fucksocks.client.Socks5
 
getChainProxy() - Method in interface fucksocks.client.SocksProxy
Returns the chain proxy.
getChannel() - Method in class fucksocks.client.SocksSocket
 
getClientAddress() - Method in exception fucksocks.common.AuthenticationException
 
getClientAddresss() - Method in class fucksocks.server.UDPRelayServer
Returns client's IP address.
getClientPort() - Method in class fucksocks.server.UDPRelayServer
Returns client's port.
getCommand() - Method in class fucksocks.server.msg.CommandMessage
 
getConfiguration() - Method in class fucksocks.client.SSLSocks5
 
getConfiguration() - Method in class fucksocks.server.SSLSocksProxyServer
 
getCredentials() - Method in class fucksocks.client.Socks5
 
getCredentials() - Method in interface fucksocks.client.SocksProxy
Gets credentials from the SocksProxy.
getD() - Method in class fucksocks.common.IP
 
getDatagramPacketHandler() - Method in class fucksocks.server.UDPRelayServer
Returns datagram packet handler.
getEndIP() - Method in class fucksocks.common.IPRange
Returns end IP address.
getExecutorService() - Method in class fucksocks.server.GenericSocksProxyServer
 
getFisrtByteFromInt(int) - Static method in class fucksocks.utils.SocksUtil
Returns the first byte of an integer.
getHost() - Method in class fucksocks.server.msg.CommandMessage
 
getId() - Method in interface fucksocks.server.Session
Gets session ID.
getId() - Method in class fucksocks.server.SocksSession
 
getIdleTime() - Method in class fucksocks.server.Socks5Handler
 
getIdleTime() - Method in interface fucksocks.server.SocksHandler
Returns idle time.
getInetAddress() - Method in class fucksocks.client.Socks5
 
getInetAddress() - Method in interface fucksocks.client.SocksProxy
Get SOCKS server's address as IPv4 or IPv6.
getInetAddress() - Method in class fucksocks.client.SocksSocket
 
getInetAddress() - Method in class fucksocks.server.msg.CommandMessage
 
getInputStream() - Method in class fucksocks.client.Socks5
 
getInputStream() - Method in interface fucksocks.client.SocksProxy
Gets InputStream from the socket that connected SOCKS server.
getInputStream() - Method in class fucksocks.client.SocksSocket
 
getInputStream() - Method in interface fucksocks.server.Session
Gets input stream.
getInputStream() - Method in class fucksocks.server.SocksSession
 
getIp() - Method in class fucksocks.client.CommandReplyMesasge
Gets IP address from the bytes that sent by SOCKS server.
getIPRanges() - Method in class fucksocks.server.filters.IPSessionFilter
Returns all IP address ranges.
getKeepAlive() - Method in class fucksocks.client.SocksSocket
 
getKeyStoreInfo() - Method in class fucksocks.common.SSLConfiguration
Returns the keyStoreInfo.
getKeyStorePath() - Method in class fucksocks.common.KeyStoreInfo
 
getLength() - Method in class fucksocks.server.msg.CommandMessage
 
getLength() - Method in class fucksocks.server.msg.CommandResponseMessage
 
getLength() - Method in interface fucksocks.server.msg.Message
Returns the length of message.
getLength() - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
 
getLength() - Method in class fucksocks.server.msg.MethodSelectionMessage
 
getLength() - Method in class fucksocks.server.msg.UsernamePasswordMessage
 
getLength() - Method in class fucksocks.server.msg.UsernamePasswordResponseMessage
 
getLocalAddress() - Method in class fucksocks.client.SocksSocket
 
getLocalPort() - Method in class fucksocks.client.SocksSocket
 
getLocalSocketAddress() - Method in class fucksocks.client.SocksSocket
 
getManagedSessions() - Method in class fucksocks.server.GenericSocksProxyServer
 
getManagedSessions() - Method in interface fucksocks.server.Session
Gets all sessions that be managed.
getManagedSessions() - Method in interface fucksocks.server.SocksProxyServer
Gets all sessions that SOKCS server managed.
getManagedSessions() - Method in class fucksocks.server.SocksSession
 
getMethod() - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
REturn value of selected method.
getMethodName() - Method in class fucksocks.common.methods.GssApiMethod
 
getMethodName() - Method in class fucksocks.common.methods.NoAcceptableMethod
 
getMethodName() - Method in class fucksocks.common.methods.NoAuthencationRequiredMethod
 
getMethodName() - Method in interface fucksocks.common.methods.SocksMethod
Gets method's name.
getMethodName() - Method in class fucksocks.common.methods.UsernamePasswordMethod
 
getMethods() - Method in class fucksocks.server.msg.MethodSelectionMessage
 
getMethodSelector() - Method in class fucksocks.server.Socks5Handler
 
getMethodSelector() - Method in interface fucksocks.server.SocksHandler
Returns method selector.
getMode() - Method in class fucksocks.server.filters.IPSessionFilter
Returns mode.
getName() - Method in class fucksocks.common.AnonymousePrincipal
 
getName() - Method in class fucksocks.common.Socks5UserPrincipal
 
getName() - Method in interface fucksocks.server.io.Pipe
Returns pipe's name.
getName() - Method in class fucksocks.server.io.SocketPipe
 
getName() - Method in class fucksocks.server.io.StreamPipe
Returns name of StreamPipe.
getnMethod() - Method in class fucksocks.server.msg.MethodSelectionMessage
 
getOOBInline() - Method in class fucksocks.client.SocksSocket
 
getOutputStream() - Method in class fucksocks.client.Socks5
 
getOutputStream() - Method in interface fucksocks.client.SocksProxy
Gets OutputStream from the socket that connected SOCKS server.
getOutputStream() - Method in class fucksocks.client.SocksSocket
 
getOutputStream() - Method in interface fucksocks.server.Session
Gets output stream.
getOutputStream() - Method in class fucksocks.server.SocksSession
 
getPassword() - Method in class fucksocks.common.AnonymousCredentials
 
getPassword() - Method in interface fucksocks.common.Credentials
Returns password.
getPassword() - Method in class fucksocks.common.KeyStoreInfo
 
getPassword() - Method in class fucksocks.common.UsernamePasswordCredentials
 
getPassword() - Method in class fucksocks.server.msg.UsernamePasswordMessage
Returns password.
getPassword() - Method in class fucksocks.server.User
Returns password.
getPipeListeners() - Method in class fucksocks.server.io.StreamPipe
Returns all PipeListener.
getPort() - Method in class fucksocks.client.CommandReplyMesasge
Gets port from bytes that sent by SOCKS server.
getPort() - Method in class fucksocks.client.Socks5
 
getPort() - Method in interface fucksocks.client.SocksProxy
Get SOCKS Server port.
getPort() - Method in class fucksocks.client.SocksSocket
 
getPort() - Method in class fucksocks.server.msg.CommandMessage
 
getProxy() - Method in class fucksocks.client.Socks5DatagramSocket
 
getProxy() - Method in class fucksocks.server.GenericSocksProxyServer
 
getProxy() - Method in class fucksocks.server.Socks5Handler
 
getProxy() - Method in interface fucksocks.server.SocksProxyServer
 
getProxySocket() - Method in class fucksocks.client.Socks5
 
getProxySocket() - Method in interface fucksocks.client.SocksProxy
Get the socket which connect SOCKS server.
getProxySocket() - Method in class fucksocks.client.SocksSocket
 
getReceiveBufferSize() - Method in class fucksocks.client.SocksSocket
 
getRemoteAddress() - Method in interface fucksocks.server.Session
Get remote host's IP address and port.
getRemoteAddress() - Method in class fucksocks.server.SocksSession
 
getRemoteSocketAddress() - Method in class fucksocks.client.SocksSocket
 
getReply() - Method in class fucksocks.server.msg.CommandResponseMessage
Returns the reply of SOCKS server.
getReplyBytes() - Method in class fucksocks.client.CommandReplyMesasge
Returns the bytes that sent by SOCKS server.
getReserved() - Method in class fucksocks.server.msg.CommandMessage
 
getReuseAddress() - Method in class fucksocks.client.SocksSocket
 
getSecondByteFromInt(int) - Static method in class fucksocks.utils.SocksUtil
Returns the second byte of an integer.
getSendBufferSize() - Method in class fucksocks.client.SocksSocket
 
getServer() - Method in class fucksocks.server.UDPRelayServer
Return UDP server.
getServerReply() - Method in exception fucksocks.common.SocksException
Returns server's reply.
getSessionFilterChain() - Method in class fucksocks.server.GenericSocksProxyServer
 
getSignedValue() - Method in class fucksocks.utils.UnsignedByte
Gets unsigned value as an integer.
getSocket() - Method in interface fucksocks.server.Session
Gets socket.
getSocket() - Method in class fucksocks.server.SocksSession
 
getSocketAddress() - Method in class fucksocks.client.CommandReplyMesasge
Gets the socket address.
getSocketAddress() - Method in class fucksocks.server.msg.CommandMessage
 
getSocksCommandFilters() - Method in class fucksocks.server.Socks5Handler
 
getSocksCommandFilters() - Method in interface fucksocks.server.SocksHandler
Returns all socks listeners.
getSocksException() - Method in class fucksocks.server.msg.CommandMessage
 
getSocksMethodRequestor() - Method in class fucksocks.client.Socks5
 
getSocksMethodRequestor() - Method in interface fucksocks.client.SocksProxy
getSocksVersion() - Method in class fucksocks.client.Socks5
 
getSocksVersion() - Method in interface fucksocks.client.SocksProxy
Gets version of SOCKS protocol.
getSoLinger() - Method in class fucksocks.client.SocksSocket
 
getSoTimeout() - Method in class fucksocks.client.SocksSocket
 
getSSLServerSocketFactory() - Method in class fucksocks.common.SSLConfiguration
 
getSSLSocketFactory() - Method in class fucksocks.common.SSLConfiguration
 
getStartIP() - Method in class fucksocks.common.IPRange
Returns starting IP address.
getStatus() - Method in class fucksocks.server.msg.UsernamePasswordResponseMessage
Returns status.
getSupportMethods() - Method in interface fucksocks.server.MethodSelector
Gets methods that server supported.
getSupportMethods() - Method in class fucksocks.server.SocksMethodSelector
 
getTcpNoDelay() - Method in class fucksocks.client.SocksSocket
 
getTimeout() - Method in class fucksocks.server.GenericSocksProxyServer
 
getTimeout() - Method in interface fucksocks.server.SocksProxyServer
Returns timeout.
getTrafficClass() - Method in class fucksocks.client.SocksSocket
 
getTrustKeyStoreInfo() - Method in class fucksocks.common.SSLConfiguration
 
getType() - Method in class fucksocks.common.KeyStoreInfo
 
getUnsignedValue() - Method in class fucksocks.utils.UnsignedByte
Gets unsigned value as an integer.
getUserManager() - Method in class fucksocks.server.UsernamePasswordAuthenticator
 
getUsername() - Method in class fucksocks.server.msg.UsernamePasswordMessage
Returns username.
getUsername() - Method in class fucksocks.server.User
Returns username.
getUsernamePasswordCredentials() - Method in class fucksocks.server.msg.UsernamePasswordMessage
Returns an instance of UsernamePasswordCredentials.
getUserPrincipal() - Method in class fucksocks.common.AnonymousCredentials
 
getUserPrincipal() - Method in interface fucksocks.common.Credentials
Returns principal.
getUserPrincipal() - Method in class fucksocks.common.UsernamePasswordCredentials
 
getValue() - Method in class fucksocks.common.IP
 
getValue() - Method in enum fucksocks.common.SocksCommand
Get value of a command.
getValue() - Method in enum fucksocks.server.msg.ServerReply
Returns reply code in byte.
getVersion() - Method in class fucksocks.server.msg.CommandMessage
Returns version.
getVersion() - Method in class fucksocks.server.msg.CommandResponseMessage
Returns version.
getVersion() - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
Returns version.
getVersion() - Method in class fucksocks.server.msg.MethodSelectionMessage
 
getVersion() - Method in class fucksocks.server.msg.UsernamePasswordMessage
Returns version.
getVersion() - Method in class fucksocks.server.msg.UsernamePasswordResponseMessage
Returns version.
GssApiMethod - Class in fucksocks.common.methods
The class GssApiMethod is represents GSS API method in SOCKS protocol.
GssApiMethod() - Constructor for class fucksocks.common.methods.GssApiMethod
 

H

handle(Session) - Method in class fucksocks.server.Socks5Handler
 
handle(Session) - Method in interface fucksocks.server.SocksHandler
Handles a session.
hashCode() - Method in class fucksocks.common.AnonymousePrincipal
 
hashCode() - Method in class fucksocks.common.IP
 
hashCode() - Method in class fucksocks.common.IPRange
 
hashCode() - Method in class fucksocks.common.methods.AbstractSocksMethod
 
hashCode() - Method in class fucksocks.common.Socks5UserPrincipal
 
hashCode() - Method in class fucksocks.common.UsernamePasswordCredentials
 
hashCode() - Method in class fucksocks.utils.UnsignedByte
 
hasNext() - Method in class fucksocks.common.IPIterator
 
hasSocksException() - Method in class fucksocks.server.msg.CommandMessage
 

I

initializeSocksHandler(SocksHandler) - Method in class fucksocks.server.GenericSocksProxyServer
 
initializeSocksHandler(SocksHandler) - Method in interface fucksocks.server.SocksProxyServer
Initializes SocksHandler.
intTo2bytes(int) - Static method in class fucksocks.utils.SocksUtil
Get bytes from an Integer.
IP - Class in fucksocks.common
The class IP represents an IP v4 address.
IP(int, int, int, int) - Constructor for class fucksocks.common.IP
Constructs IP by four numbers.
IP(long) - Constructor for class fucksocks.common.IP
Constructs IP by a long integer.
IP(byte[]) - Constructor for class fucksocks.common.IP
Constructs IP by bytes.
IPIterator - Class in fucksocks.common
The class IPIterator represents an IP address iterator.
IPIterator(IPRange) - Constructor for class fucksocks.common.IPIterator
Constructs an instance of IPIterator with a IPRange.
IPIterator(IP, IP) - Constructor for class fucksocks.common.IPIterator
Constructs an instance of IPIterator with tow IP address.
IPRange - Class in fucksocks.common
The class IPRange represents an IPrange.
IPRange(IP, IP) - Constructor for class fucksocks.common.IPRange
Constructs a IpRange instance by given tow IP.
IPSessionFilter - Class in fucksocks.server.filters
The class IPSessionFilter represents
IPSessionFilter() - Constructor for class fucksocks.server.filters.IPSessionFilter
 
IPSessionFilter.Mode - Enum in fucksocks.server.filters
The enumeration Mode represents a Mode of IPSessionFilter.
IPV4 - Static variable in class fucksocks.common.AddressType
IP version 4 address.
IPV6 - Static variable in class fucksocks.common.AddressType
IP version 6 address.
isAlwaysResolveAddressLocally() - Method in class fucksocks.client.Socks5
 
isBound() - Method in class fucksocks.client.SocksSocket
 
isClose() - Method in interface fucksocks.server.Session
Returns true if the session is closed.
isClose() - Method in class fucksocks.server.SocksSession
 
isClosed() - Method in class fucksocks.client.SocksSocket
 
isConnected() - Method in class fucksocks.client.SocksSocket
 
isConnected() - Method in interface fucksocks.server.Session
Returns true if the session is connected.
isConnected() - Method in class fucksocks.server.SocksSession
 
isFromClient(DatagramPacket) - Method in class fucksocks.server.UDPRelayServer
Returns true if the the datagram packet from client.
isInputShutdown() - Method in class fucksocks.client.SocksSocket
 
isLocalIP() - Method in class fucksocks.common.IP
Returns true if the IP is local IP address.
isNeedClientAuth() - Method in class fucksocks.common.SSLConfiguration
Returns the needClientAuth.
isOutputShutdown() - Method in class fucksocks.client.SocksSocket
 
isRunning() - Method in interface fucksocks.server.io.Pipe
If the pipe is running.
isRunning() - Method in class fucksocks.server.io.SocketPipe
 
isRunning() - Method in class fucksocks.server.io.StreamPipe
 
isRunning() - Method in class fucksocks.server.UDPRelayServer
Return true if the UDP relay server is running.
isSuccess() - Method in class fucksocks.client.CommandReplyMesasge
Returns true if the command request is success.
isSupport(int) - Static method in class fucksocks.common.AddressType
Return true if type is supported.
isUseInInteret() - Method in class fucksocks.common.IP
Returns true if the IP can be used in Internet.
isValid(String) - Static method in class fucksocks.common.IP
 
iterator() - Method in class fucksocks.common.IPRange
 

K

KeyStoreInfo - Class in fucksocks.common
The class KeyStoreInfo represents a key store information.
KeyStoreInfo() - Constructor for class fucksocks.common.KeyStoreInfo
 
KeyStoreInfo(String, String, String) - Constructor for class fucksocks.common.KeyStoreInfo
 
KeyStoreInfo(String, String) - Constructor for class fucksocks.common.KeyStoreInfo
 

L

LENGTH_OF_IPV4 - Static variable in class fucksocks.client.GenericSocksCommandSender
length of IPv4 address.
LENGTH_OF_IPV6 - Static variable in class fucksocks.client.GenericSocksCommandSender
length of IPv6 address.
load(String) - Static method in class fucksocks.common.SSLConfiguration
 
loadClassPath(String) - Static method in class fucksocks.common.SSLConfiguration
 
logger - Variable in class fucksocks.client.CommandReplyMesasge
Logger that subclasses also can use.
logger - Static variable in class fucksocks.client.GenericSocksCommandSender
 
logger - Static variable in class fucksocks.client.GenericSocksMethodRequestor
Logger that subclasses also can use.
logger - Static variable in class fucksocks.client.Socks5
Logger.
logger - Static variable in class fucksocks.client.Socks5DatagramSocket
logger that subclasses also can use.
logger - Static variable in class fucksocks.client.SocksServerSocket
Logger.
logger - Static variable in class fucksocks.client.SocksSocket
 
logger - Static variable in class fucksocks.common.Socks5DatagramPacketHandler
Logger that subclasses also can use.
logger - Static variable in class fucksocks.server.GenericSocksProxyServer
 
logger - Static variable in class fucksocks.server.io.SocketPipe
Logger
logger - Static variable in class fucksocks.server.io.StreamPipe
Logger that subclasses also can use.
logger - Static variable in class fucksocks.server.msg.CommandResponseMessage
Logger that subclasses also can use.
logger - Static variable in class fucksocks.server.Socks5Handler
Logger that subclasses also can use.
logger - Static variable in class fucksocks.server.UDPRelayServer
Logger that subclasses also can use.
LogMessage - Class in fucksocks.utils
LogMessage a tool class to generate some debug message.
LogMessage() - Constructor for class fucksocks.utils.LogMessage
 
LogMessage.MsgType - Enum in fucksocks.utils
 

M

MAX_IP() - Static method in class fucksocks.common.IP
Gets max IP which represents 255.255.255.255].
Message - Interface in fucksocks.server.msg
The interface Message represents socks message.
MethodSelecionResponseMessage - Class in fucksocks.server.msg
The class MethodSelecionResponseMessage represents response message for method selection message.
MethodSelecionResponseMessage() - Constructor for class fucksocks.server.msg.MethodSelecionResponseMessage
Constructs an instance of MethodSelecionResponseMessage
MethodSelecionResponseMessage(SocksMethod) - Constructor for class fucksocks.server.msg.MethodSelecionResponseMessage
Constructs an instance of MethodSelecionResponseMessage with a method.
MethodSelecionResponseMessage(int, int) - Constructor for class fucksocks.server.msg.MethodSelecionResponseMessage
Constructs an instance of MethodSelecionResponseMessage with a version and a method.
MethodSelecionResponseMessage(int, SocksMethod) - Constructor for class fucksocks.server.msg.MethodSelecionResponseMessage
Constructs an instance of MethodSelecionResponseMessage with a version and a method.
MethodSelectionMessage - Class in fucksocks.server.msg
The class MethodSelectionMessage represents a method selection message.
MethodSelectionMessage() - Constructor for class fucksocks.server.msg.MethodSelectionMessage
 
MethodSelector - Interface in fucksocks.server
The class MethodSelector represents a method selector.
This class will select one method from the methods that client given.
MIN_IP() - Static method in class fucksocks.common.IP
Gets minimum IP which represents 0.0.0.0.

N

newNoAuthenticaionServer() - Static method in class fucksocks.server.SocksProxyServerFactory
Creates a no authentication SOCKS5 server.
newNoAuthenticaionServer(int) - Static method in class fucksocks.server.SocksProxyServerFactory
Creates a no authentication SOCKS5 server.
newUsernamePasswordAutenticationServer(User...) - Static method in class fucksocks.server.SocksProxyServerFactory
Create a USERNAME/PASSWROD authentication SOCKS5 server.
newUsernamePasswordAutenticationServer(int, User...) - Static method in class fucksocks.server.SocksProxyServerFactory
 
next() - Method in class fucksocks.common.IPIterator
 
nextIP() - Method in class fucksocks.common.IP
Gets next IP address.
NoAcceptableMethod - Class in fucksocks.common.methods
The class NoAcceptableMethod represents a method which indicates none of the methods listed by the client are acceptable.
NoAcceptableMethod() - Constructor for class fucksocks.common.methods.NoAcceptableMethod
 
noAcceptableMethods() - Static method in exception fucksocks.common.SocksException
Returns a SocksException instance with a message "NO ACCEPTABLE METHODS".
NoAuthencationRequiredMethod - Class in fucksocks.common.methods
The class NoAuthencationRequiredMethod represents method which mean NO AUTHENTICATION REQUIRED.
NoAuthencationRequiredMethod() - Constructor for class fucksocks.common.methods.NoAuthencationRequiredMethod
 
NotImplementException - Exception in fucksocks.common
The class NotImplementException represents a exception that will be threw when the feature haven't implemented.
NotImplementException() - Constructor for exception fucksocks.common.NotImplementException
 
NotImplementException(String, Throwable, boolean, boolean) - Constructor for exception fucksocks.common.NotImplementException
 
NotImplementException(String, Throwable) - Constructor for exception fucksocks.common.NotImplementException
 
NotImplementException(String) - Constructor for exception fucksocks.common.NotImplementException
 
NotImplementException(Throwable) - Constructor for exception fucksocks.common.NotImplementException
 

O

onError(Pipe, Exception) - Method in interface fucksocks.server.io.PipeListener
This method will be called when an error occurred.
onStarted(Pipe) - Method in interface fucksocks.server.io.PipeListener
This method will be called when the Pipe started.
onStoped(Pipe) - Method in interface fucksocks.server.io.PipeListener
This method will be called when the Pipe stopped.
onTransfered(Pipe, byte[], int) - Method in interface fucksocks.server.io.PipeListener
This method will be called when the Pipe transfered data.
overWriteReistry(List<SocksMethod>) - Static method in class fucksocks.common.methods.SocksMethodRegistry
 

P

parse(String) - Static method in class fucksocks.client.SocksProxyFactory
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
parse(String) - Static method in class fucksocks.common.SSLConfiguration
Creates a SSLConfiguration instance with a string.
The string should format as:
KEYS_TORE_PATH,KEY_STORE_PASSWORD,TURST_KEY_STORE_PATH,TRUST_KEY_STORE_PASSWORD,CLIENT_AUTH
parseFromIPWithMask(String) - Static method in class fucksocks.common.IPRange
Creates a IPRange instance by IP with mask.
parseFromString(String) - Static method in class fucksocks.common.IP
Creates a IP instance by a string.
parseFromString(String) - Static method in class fucksocks.common.IPRange
Creates a IpRange instance by a string.
PathUtil - Class in fucksocks.utils
The class PathUtil represents a path utility.
PathUtil() - Constructor for class fucksocks.utils.PathUtil
 
Pipe - Interface in fucksocks.server.io
The class Pipe represents a pipe that can transfer byte.
PipeListener - Interface in fucksocks.server.io
The class PipeListener represents a pipe listener.
preIP() - Method in class fucksocks.common.IP
Gets previous IP address.
ProtocolErrorException - Exception in fucksocks.common
The class ProtocolErrorException will be threw when there is a SOCKS protocol error.
ProtocolErrorException(String) - Constructor for exception fucksocks.common.ProtocolErrorException
Constructs an instance of ProtocolErrorException with a message.
ProtocolErrorException() - Constructor for exception fucksocks.common.ProtocolErrorException
 
protocolNotSupported() - Static method in exception fucksocks.common.SocksException
Returns a SocksException instance with a message "Protocol not supported".
putMethod(SocksMethod) - Static method in class fucksocks.common.methods.SocksMethodRegistry
Puts a SocksMethod class into the SOCKS method registry with an instance of SocksMethod.

R

RamBasedUserManager - Class in fucksocks.server
The class RamBasedUserManager represents a user manager that manage users in RAM.
RamBasedUserManager() - Constructor for class fucksocks.server.RamBasedUserManager
 
read(InputStream) - Method in class fucksocks.server.msg.CommandMessage
 
read(InputStream) - Method in class fucksocks.server.msg.MethodSelectionMessage
 
read(InputStream) - Method in interface fucksocks.server.msg.ReadableMessage
Read message from a input stream.
read(InputStream) - Method in class fucksocks.server.msg.UsernamePasswordMessage
 
read(byte[]) - Method in interface fucksocks.server.Session
Read a buffer.
read(ReadableMessage) - Method in interface fucksocks.server.Session
Reads a message.
read(byte[]) - Method in class fucksocks.server.SocksSession
 
read(ReadableMessage) - Method in class fucksocks.server.SocksSession
 
ReadableMessage - Interface in fucksocks.server.msg
The interface ReadableMessage represents a message that can be read by Session.
receive(DatagramPacket) - Method in class fucksocks.client.Socks5DatagramSocket
 
remoteFilter(SessionFilter) - Method in class fucksocks.server.filters.SessionFilterChain
 
remove() - Method in class fucksocks.common.IPIterator
 
removePipeListener(PipeListener) - Method in interface fucksocks.server.io.Pipe
Removes pipe listener.
removePipeListener(PipeListener) - Method in class fucksocks.server.io.SocketPipe
 
removePipeListener(PipeListener) - Method in class fucksocks.server.io.StreamPipe
 
removeSessionFilter(SessionFilter) - Method in class fucksocks.server.GenericSocksProxyServer
 
removeSessionFilter(SessionFilter) - Method in interface fucksocks.server.SocksProxyServer
Removes SessionFilter.
removeSocksCommandFilter(SocksCommandFilter) - Method in class fucksocks.server.GenericSocksProxyServer
 
removeSocksCommandFilter(SocksCommandFilter) - Method in interface fucksocks.server.SocksProxyServer
removeSupportMethod(SocksMethod) - Method in interface fucksocks.server.MethodSelector
Removes the method from the sets.
removeSupportMethod(SocksMethod) - Method in class fucksocks.server.SocksMethodSelector
 
REP_ADDRESS_TYPE_NOT_SUPPORTED - Static variable in class fucksocks.client.Socks5
 
REP_ADDRESS_TYPE_NOT_SUPPORTED - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_COMMAND_NOT_SUPPORTED - Static variable in class fucksocks.client.Socks5
 
REP_COMMAND_NOT_SUPPORTED - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_CONNECTION_NOT_ALLOWED_BY_RULESET - Static variable in class fucksocks.client.Socks5
 
REP_CONNECTION_NOT_ALLOWED_BY_RULESET - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_CONNECTION_REFUSED - Static variable in class fucksocks.client.Socks5
 
REP_CONNECTION_REFUSED - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_GENERAL_SOCKS_SERVER_FAILURE - Static variable in class fucksocks.client.Socks5
 
REP_GENERAL_SOCKS_SERVER_FAILURE - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_HOST_UNREACHABLE - Static variable in class fucksocks.client.Socks5
 
REP_HOST_UNREACHABLE - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_NETWORK_UNREACHABLE - Static variable in class fucksocks.client.Socks5
 
REP_NETWORK_UNREACHABLE - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_SUCCEEDED - Static variable in class fucksocks.client.Socks5
 
REP_SUCCEEDED - Static variable in interface fucksocks.client.SocksCommandSender
 
REP_TTL_EXPIRED - Static variable in class fucksocks.client.Socks5
 
REP_TTL_EXPIRED - Static variable in interface fucksocks.client.SocksCommandSender
 
requestBind(String, int) - Method in class fucksocks.client.Socks5
 
requestBind(InetAddress, int) - Method in class fucksocks.client.Socks5
 
requestBind(String, int) - Method in interface fucksocks.client.SocksProxy
This method will send a BIND command to SOKCS server.
requestBind(InetAddress, int) - Method in interface fucksocks.client.SocksProxy
This method will send a BIND command to SOKCS server.
requestConnect(String, int) - Method in class fucksocks.client.Socks5
 
requestConnect(InetAddress, int) - Method in class fucksocks.client.Socks5
 
requestConnect(SocketAddress) - Method in class fucksocks.client.Socks5
 
requestConnect(String, int) - Method in interface fucksocks.client.SocksProxy
This method will send a CONNECT command to SOCKS server and ask SOCKS server to connect remote server.
requestConnect(InetAddress, int) - Method in interface fucksocks.client.SocksProxy
This method will send a CONNECT command to SOCKS server and ask SOCKS server to connect remote server.
requestConnect(SocketAddress) - Method in interface fucksocks.client.SocksProxy
This method will send a CONNECT command to SOCKS server and ask SOCKS server to connect remote server.
requestUdpAssociat(String, int) - Method in class fucksocks.client.Socks5
 
requestUdpAssociat(InetAddress, int) - Method in class fucksocks.client.Socks5
 
requestUdpAssociat(String, int) - Method in interface fucksocks.client.SocksProxy
This method will send a UDP ASSOCIAT command to SOCKS server and ask SOCKS server to establish a relay server.
requestUdpAssociat(InetAddress, int) - Method in interface fucksocks.client.SocksProxy
This method will send a UDP ASSOCIAT command to SOCKS server and ask SOCKS server to establish a relay server.
RESERVED - Static variable in class fucksocks.client.Socks5
Reserved field.
RESERVED - Static variable in interface fucksocks.client.SocksCommandSender
 
run() - Method in class fucksocks.server.GenericSocksProxyServer
 
run() - Method in class fucksocks.server.io.StreamPipe
 
run() - Method in class fucksocks.server.Socks5Handler
 
run() - Method in class fucksocks.server.UDPRelayServer
 

S

select(MethodSelectionMessage) - Method in interface fucksocks.server.MethodSelector
Selects a method form MethodSelectionMessage.
select(MethodSelectionMessage) - Method in class fucksocks.server.SocksMethodSelector
 
send(Socket, SocksCommand, InetAddress, int, int) - Method in class fucksocks.client.GenericSocksCommandSender
 
send(Socket, SocksCommand, SocketAddress, int) - Method in class fucksocks.client.GenericSocksCommandSender
 
send(Socket, SocksCommand, String, int, int) - Method in class fucksocks.client.GenericSocksCommandSender
 
send(DatagramPacket) - Method in class fucksocks.client.Socks5DatagramSocket
 
send(Socket, SocksCommand, InetAddress, int, int) - Method in interface fucksocks.client.SocksCommandSender
Send a command to SOCKS server.
send(Socket, SocksCommand, SocketAddress, int) - Method in interface fucksocks.client.SocksCommandSender
Send a command to SOCKS server.
send(Socket, SocksCommand, String, int, int) - Method in interface fucksocks.client.SocksCommandSender
Send a command to SOCKS server and resolve domain name in SOCKS server.
sendUrgentData(int) - Method in class fucksocks.client.SocksSocket
 
ServerReply - Enum in fucksocks.server.msg
The enumeration ServerReply represents reply of servers will SOCKS client send a command request to the SOCKS server.
serverReplyException(ServerReply) - Static method in exception fucksocks.common.SocksException
Returns a SocksException instance with a message of reply.
serverReplyException(byte) - Static method in exception fucksocks.common.SocksException
Returns a SocksException instance with a message of reply.
Session - Interface in fucksocks.server
The class Session represents a session between client with SOCKS server.
SessionFilter - Interface in fucksocks.server.filters
The class SessionFilter represents a session filter.
SessionFilterChain - Class in fucksocks.server.filters
The class SessionFilterChain represents session filter chain.
SessionFilterChain() - Constructor for class fucksocks.server.filters.SessionFilterChain
 
setAcceptableMethods(List<SocksMethod>) - Method in class fucksocks.client.Socks5
 
setAcceptableMethods(List<SocksMethod>) - Method in interface fucksocks.client.SocksProxy
Sets client's acceptable methods.
setAddressType(int) - Method in class fucksocks.server.msg.CommandMessage
 
setAddressType(int) - Method in class fucksocks.server.msg.CommandResponseMessage
Sets address type.
setAlwaysResolveAddressLocally(boolean) - Method in class fucksocks.client.Socks5
 
setAttribute(Object, Object) - Method in interface fucksocks.server.Session
 
setAttribute(Object, Object) - Method in class fucksocks.server.SocksSession
 
setAuthenticator(UsernamePasswordAuthenticator) - Method in class fucksocks.common.methods.UsernamePasswordMethod
 
setBindAddress(InetAddress) - Method in class fucksocks.client.SocksServerSocket
 
setBindAddress(InetAddress) - Method in class fucksocks.server.msg.CommandResponseMessage
Sets bind address.
setBindPort(int) - Method in class fucksocks.client.SocksServerSocket
 
setBindPort(int) - Method in class fucksocks.server.GenericSocksProxyServer
 
setBindPort(int) - Method in class fucksocks.server.msg.CommandResponseMessage
Sets bind port.
setBindPort(int) - Method in interface fucksocks.server.SocksProxyServer
 
setBufferSize(int) - Method in class fucksocks.server.GenericSocksProxyServer
 
setBufferSize(int) - Method in interface fucksocks.server.io.Pipe
Sets buffer size.
setBufferSize(int) - Method in class fucksocks.server.io.SocketPipe
 
setBufferSize(int) - Method in class fucksocks.server.io.StreamPipe
 
setBufferSize(int) - Method in class fucksocks.server.Socks5Handler
 
setBufferSize(int) - Method in interface fucksocks.server.SocksHandler
Sets buffer size.
setBufferSize(int) - Method in interface fucksocks.server.SocksProxyServer
Sets buffer size.
setBufferSize(int) - Method in class fucksocks.server.UDPRelayServer
Sets buffer size.
setChainProxy(SocksProxy) - Method in class fucksocks.client.Socks5
 
setChainProxy(SocksProxy) - Method in interface fucksocks.client.SocksProxy
Returns the instance of SocksProxy.
setClientAddress(SocketAddress) - Method in exception fucksocks.common.AuthenticationException
 
setClientAddresss(InetAddress) - Method in class fucksocks.server.UDPRelayServer
Sets client's IP address.
setClientPort(int) - Method in class fucksocks.server.UDPRelayServer
Sets client's port.
setCommand(SocksCommand) - Method in class fucksocks.server.msg.CommandMessage
 
setConfiguration(SSLConfiguration) - Method in class fucksocks.client.SSLSocks5
 
setConfiguration(SSLConfiguration) - Method in class fucksocks.server.SSLSocksProxyServer
 
setCredentials(Credentials) - Method in class fucksocks.client.Socks5
 
setCredentials(Credentials) - Method in interface fucksocks.client.SocksProxy
Sets credentials.
setDatagramPacketHandler(Socks5DatagramPacketHandler) - Method in class fucksocks.server.UDPRelayServer
Sets datagram packet handler.
setExecutorService(ExecutorService) - Method in class fucksocks.server.GenericSocksProxyServer
 
setHost(String) - Method in class fucksocks.client.Socks5
 
setHost(String) - Method in interface fucksocks.client.SocksProxy
Set SOCKS server's host.
setHost(String) - Method in class fucksocks.server.msg.CommandMessage
 
setIdleTime(int) - Method in class fucksocks.server.Socks5Handler
 
setIdleTime(int) - Method in interface fucksocks.server.SocksHandler
Sets idle time.
setInetAddress(InetAddress) - Method in class fucksocks.client.Socks5
Sets SOCKS5 proxy server's IP address.
setInetAddress(InetAddress) - Method in class fucksocks.server.msg.CommandMessage
 
setIPRanges(List<IPRange>) - Method in class fucksocks.server.filters.IPSessionFilter
Sets IP address ranges.
setKeepAlive(boolean) - Method in class fucksocks.client.SocksSocket
 
setKeyStoreInfo(KeyStoreInfo) - Method in class fucksocks.common.SSLConfiguration
 
setKeyStorePath(String) - Method in class fucksocks.common.KeyStoreInfo
 
setMethod(int) - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
Sets selected method with an integer.
setMethods(int[]) - Method in class fucksocks.server.msg.MethodSelectionMessage
 
setMethodSelector(MethodSelector) - Method in class fucksocks.server.Socks5Handler
 
setMethodSelector(MethodSelector) - Method in interface fucksocks.server.SocksHandler
Sets a method selector.
setMode(IPSessionFilter.Mode) - Method in class fucksocks.server.filters.IPSessionFilter
Changes mode.
setName(String) - Method in interface fucksocks.server.io.Pipe
Sets pipe's name.
setName(String) - Method in class fucksocks.server.io.SocketPipe
 
setName(String) - Method in class fucksocks.server.io.StreamPipe
Sets a name.
setNeedClientAuth(boolean) - Method in class fucksocks.common.SSLConfiguration
 
setnMethod(int) - Method in class fucksocks.server.msg.MethodSelectionMessage
 
setOOBInline(boolean) - Method in class fucksocks.client.SocksSocket
 
setPassword(String) - Method in class fucksocks.common.KeyStoreInfo
 
setPassword(String) - Method in class fucksocks.server.msg.UsernamePasswordMessage
Sets password.
setPassword(String) - Method in class fucksocks.server.User
Sets password.
setPerformancePreferences(int, int, int) - Method in class fucksocks.client.SocksSocket
 
setPipeListeners(List<PipeListener>) - Method in class fucksocks.server.io.StreamPipe
setPort(int) - Method in class fucksocks.client.Socks5
 
setPort(int) - Method in interface fucksocks.client.SocksProxy
Set SOCKS server port.
setPort(int) - Method in class fucksocks.server.msg.CommandMessage
 
setProxy(SocksProxy) - Method in class fucksocks.client.Socks5DatagramSocket
 
setProxy(SocksProxy) - Method in class fucksocks.server.GenericSocksProxyServer
 
setProxy(SocksProxy) - Method in class fucksocks.server.Socks5Handler
 
setProxy(SocksProxy) - Method in interface fucksocks.server.SocksHandler
 
setProxy(SocksProxy) - Method in interface fucksocks.server.SocksProxyServer
 
setProxySocket(Socket) - Method in class fucksocks.client.Socks5
 
setProxySocket(Socket) - Method in interface fucksocks.client.SocksProxy
Set a unconnected socket which will be used to connect SOCKS server.
setReceiveBufferSize(int) - Method in class fucksocks.client.SocksSocket
 
setReply(ServerReply) - Method in class fucksocks.server.msg.CommandResponseMessage
Sets SOCKS server's reply.
setReplyBytes(byte[]) - Method in class fucksocks.client.CommandReplyMesasge
Sets reply bytes.
setReserved(int) - Method in class fucksocks.server.msg.CommandMessage
 
setReuseAddress(boolean) - Method in class fucksocks.client.SocksSocket
 
setSendBufferSize(int) - Method in class fucksocks.client.SocksSocket
 
setServer(DatagramSocket) - Method in class fucksocks.server.UDPRelayServer
Sets UDP server.
setServerReply(ServerReply) - Method in exception fucksocks.common.SocksException
Sets server's reply.
setSession(Session) - Method in class fucksocks.server.Socks5Handler
 
setSession(Session) - Method in interface fucksocks.server.SocksHandler
Sets session.
setSessionFilterChain(SessionFilterChain) - Method in class fucksocks.server.GenericSocksProxyServer
 
setSocksCommandFilters(List<SocksCommandFilter>) - Method in class fucksocks.server.Socks5Handler
 
setSocksCommandFilters(List<SocksCommandFilter>) - Method in interface fucksocks.server.SocksHandler
Sets socks listeners.
setSocksException(SocksException) - Method in class fucksocks.server.msg.CommandMessage
 
setSocksMethodRequestor(SocksMethodRequestor) - Method in class fucksocks.client.Socks5
 
setSocksMethodRequestor(SocksMethodRequestor) - Method in interface fucksocks.client.SocksProxy
setSoLinger(boolean, int) - Method in class fucksocks.client.SocksSocket
 
setSoTimeout(int) - Method in class fucksocks.client.SocksSocket
 
setStatus(int) - Method in class fucksocks.server.msg.UsernamePasswordResponseMessage
Sets status.
setSupportMethod(SocksMethod...) - Method in interface fucksocks.server.MethodSelector
Sets support methods.
setSupportMethod(SocksMethod...) - Method in class fucksocks.server.SocksMethodSelector
 
setSupportMethods(SocksMethod...) - Method in class fucksocks.server.GenericSocksProxyServer
 
setSupportMethods(Set<SocksMethod>) - Method in interface fucksocks.server.MethodSelector
Sets methods that server supported.
setSupportMethods(Set<SocksMethod>) - Method in class fucksocks.server.SocksMethodSelector
 
setSupportMethods(SocksMethod...) - Method in interface fucksocks.server.SocksProxyServer
Sets the methods that socks server supports.
setTcpNoDelay(boolean) - Method in class fucksocks.client.SocksSocket
 
setTimeout(int) - Method in class fucksocks.server.GenericSocksProxyServer
 
setTimeout(int) - Method in interface fucksocks.server.SocksProxyServer
Sets timeout.
setTrafficClass(int) - Method in class fucksocks.client.SocksSocket
 
setTrustKeyStoreInfo(KeyStoreInfo) - Method in class fucksocks.common.SSLConfiguration
 
setType(String) - Method in class fucksocks.common.KeyStoreInfo
 
setUserManager(UserManager) - Method in class fucksocks.server.UsernamePasswordAuthenticator
 
setUsername(String) - Method in class fucksocks.server.msg.UsernamePasswordMessage
Sets username.
setUsername(String) - Method in class fucksocks.server.User
Sets username.
setVersion(int) - Method in class fucksocks.server.msg.CommandMessage
Sets version.
setVersion(int) - Method in class fucksocks.server.msg.CommandResponseMessage
Sets version.
setVersion(int) - Method in class fucksocks.server.msg.MethodSelecionResponseMessage
Sets version.
setVersion(int) - Method in class fucksocks.server.msg.MethodSelectionMessage
 
shutdown() - Method in class fucksocks.server.GenericSocksProxyServer
 
shutdown() - Method in interface fucksocks.server.SocksProxyServer
Shutdown a SOCKS server.
shutdownInput() - Method in class fucksocks.client.SocksSocket
 
shutdownOutput() - Method in class fucksocks.client.SocksSocket
 
size() - Method in class fucksocks.common.IPRange
Returns size of IP range.
SocketPipe - Class in fucksocks.server.io
The class SocketPipe represents pipe that can transfer data from one socket to another socket.
SocketPipe(Socket, Socket) - Constructor for class fucksocks.server.io.SocketPipe
Constructs SocketPipe instance by tow connected sockets.
Socks5 - Class in fucksocks.client
The class Socks5 has implements SOCKS5 protocol.
Socks5(SocketAddress, String, String) - Constructor for class fucksocks.client.Socks5
Constructs a Socks5 instance.
Socks5(String, int) - Constructor for class fucksocks.client.Socks5
Constructs a Socks5 instance.
Socks5(InetAddress, int) - Constructor for class fucksocks.client.Socks5
Constructs a Socks5 instance.
Socks5(SocketAddress) - Constructor for class fucksocks.client.Socks5
Constructs a Socks5 instance with a java.net.SocketAddress instance.
Socks5(SocksProxy, SocketAddress) - Constructor for class fucksocks.client.Socks5
 
Socks5(String, int, Credentials) - Constructor for class fucksocks.client.Socks5
Constructs a Socks instance.
Socks5DatagramPacketHandler - Class in fucksocks.common
The class Socks5DatagramPacketHandler represents a datagram packet handler.
Socks5DatagramPacketHandler() - Constructor for class fucksocks.common.Socks5DatagramPacketHandler
 
Socks5DatagramSocket - Class in fucksocks.client
The class Socks5DatagramSocket is a DatagramSocket that support SOCKS5 proxy.
For example:
Socks5DatagramSocket(SocksProxy) - Constructor for class fucksocks.client.Socks5DatagramSocket
Constructs a datagram socket with a SocksProxy.
Socks5Handler - Class in fucksocks.server
The class Socks5Handler represents a handler that can handle SOCKS5 protocol.
Socks5Handler() - Constructor for class fucksocks.server.Socks5Handler
 
Socks5UserPrincipal - Class in fucksocks.common
The class Socks5UserPrincipal represents a SOKCS5 user principal.
Socks5UserPrincipal(String) - Constructor for class fucksocks.common.Socks5UserPrincipal
 
SOCKS_DEFAULT_PORT - Static variable in interface fucksocks.client.SocksProxy
Default SOCKS server port.
SOCKS_VERSION - Static variable in class fucksocks.client.Socks5
Version of SOCKS protocol.
SocksCommand - Enum in fucksocks.common
The enumeration SocksCommand represents SOCKS command.
SOCKS4 protocol support CONNECT and BIND, SOCKS5 protocol supports CONNECT, BIND, and UDP ASSOCIATE.
SocksCommandFilter - Interface in fucksocks.server.filters
The class SocksCommandFilter represents a SOCKS command filter.
SocksCommandSender - Interface in fucksocks.client
The interface SocksCommandSender can send SOCKS command to SOCKS server.
SocksException - Exception in fucksocks.common
The class SocksException represents an exception about SOCKS protocol.
SocksException(String) - Constructor for exception fucksocks.common.SocksException
Constructs an instance of SocksException with a message.
SocksException(int) - Constructor for exception fucksocks.common.SocksException
Constructs an instance of SocksException with a code.
SocksHandler - Interface in fucksocks.server
The interface SocksHandler represents a socket handler.
SocksMessage - Interface in fucksocks.client
The interface SocksMessage represents the message that will be sent to SOCKS server or received from SOCKS server.
SocksMethod - Interface in fucksocks.common.methods
The interface SocksMethod define a socks method in SOCKS4 or SOCKS5 protocol.

SOCKS5 protocol in RFC 1928:
The values currently defined for METHOD are: X’00’ NO AUTHENTICATION REQUIRED X’01’ GSSAPI X’02’ USERNAME/PASSWORD X’03’ to X’7F’ IANA ASSIGNED X’80’ to X’FE’ RESERVED FOR PRIVATE METHODS X’FF’ NO ACCEPTABLE METHODS
SocksMethodRegistry - Class in fucksocks.common.methods
The class SocksMethodRegistry represents a socks method registry.
SocksMethodRequestor - Interface in fucksocks.client
The interface SocksMethodRequestor is a tool that can send request message from SOCKS server and get a method that server accepted.
SocksMethodSelector - Class in fucksocks.server
The class SocksMethodSelector implements the MethodSelector.
SocksMethodSelector() - Constructor for class fucksocks.server.SocksMethodSelector
Constructs an instance of SocksMethodSelector.
SocksProxy - Interface in fucksocks.client
The interface SocksProxy define a SOCKS proxy.
SocksProxyFactory - Class in fucksocks.client
The class SocksFactory represents a factory that can create SocksProxy instance.
SocksProxyFactory() - Constructor for class fucksocks.client.SocksProxyFactory
 
SocksProxyServer - Interface in fucksocks.server
The interface SocksProxyServer represents a SOCKS server.
SocksProxyServerFactory - Class in fucksocks.server
The class SocksProxyServerFactory is a factory class for socks server.
SocksProxyServerFactory() - Constructor for class fucksocks.server.SocksProxyServerFactory
 
SocksServerSocket - Class in fucksocks.client
The class SocksServerSocket is server socket that can bind a port at SOCKS server and accept a connection.
SocksServerSocket(SocksProxy, InetAddress, int) - Constructor for class fucksocks.client.SocksServerSocket
Constructs a server socket.
SocksSession - Class in fucksocks.server
The class SocksSession represents
SocksSession() - Constructor for class fucksocks.server.SocksSession
 
SocksSession(Socket) - Constructor for class fucksocks.server.SocksSession
 
SocksSession(long, Socket, Map<Long, Session>) - Constructor for class fucksocks.server.SocksSession
 
SocksSocket - Class in fucksocks.client
The class SocksSocket is proxy class that help developers use SocksProxy as same as a java.net.Socket.
For example:
SocksSocket(SocksProxy, String, int) - Constructor for class fucksocks.client.SocksSocket
Create a socket and connect SOCKS Server.
SocksSocket(SocksProxy, InetAddress, int) - Constructor for class fucksocks.client.SocksSocket
SocksSocket(SocksProxy, SocketAddress) - Constructor for class fucksocks.client.SocksSocket
 
SocksSocket(SocksProxy) - Constructor for class fucksocks.client.SocksSocket
Creates an unconnected socket.
SocksSocket(SocksProxy, Socket) - Constructor for class fucksocks.client.SocksSocket
Creates a SocksSocket instance with a SocksProxy and a
SocksUtil - Class in fucksocks.utils
SocksUtil is a tool class.
SocksUtil() - Constructor for class fucksocks.utils.SocksUtil
 
split(IP) - Method in class fucksocks.common.IPRange
Split IP address range by a IP address.
SSLConfiguration - Class in fucksocks.common
The class SSLConfiguration represents a configuration of SSL.
SSLConfiguration(KeyStoreInfo, KeyStoreInfo) - Constructor for class fucksocks.common.SSLConfiguration
 
SSLConfiguration(KeyStoreInfo, KeyStoreInfo, boolean) - Constructor for class fucksocks.common.SSLConfiguration
 
SSLConfigurationException - Exception in fucksocks.common
The class SSLConfigurationException represents an SSL configuration exception.
SSLConfigurationException() - Constructor for exception fucksocks.common.SSLConfigurationException
 
SSLConfigurationException(String, Throwable, boolean, boolean) - Constructor for exception fucksocks.common.SSLConfigurationException
 
SSLConfigurationException(String, Throwable) - Constructor for exception fucksocks.common.SSLConfigurationException
 
SSLConfigurationException(String) - Constructor for exception fucksocks.common.SSLConfigurationException
 
SSLConfigurationException(Throwable) - Constructor for exception fucksocks.common.SSLConfigurationException
 
SSLSocks5 - Class in fucksocks.client
The class SSLSocks5 represents a SSL based SOCKS5 proxy.
SSLSocks5(SocketAddress, SSLConfiguration) - Constructor for class fucksocks.client.SSLSocks5
 
SSLSocks5(InetAddress, int, SSLConfiguration) - Constructor for class fucksocks.client.SSLSocks5
 
SSLSocksProxyServer - Class in fucksocks.server
The class SSLSocksProxyServer represents a SSL based SOCKS proxy server.
SSLSocksProxyServer(Class<? extends SocksHandler>, ExecutorService, SSLConfiguration) - Constructor for class fucksocks.server.SSLSocksProxyServer
 
SSLSocksProxyServer(Class<? extends SocksHandler>, int, ExecutorService, SSLConfiguration) - Constructor for class fucksocks.server.SSLSocksProxyServer
 
SSLSocksProxyServer(Class<? extends SocksHandler>, int, SSLConfiguration) - Constructor for class fucksocks.server.SSLSocksProxyServer
 
SSLSocksProxyServer(Class<? extends SocksHandler>, SSLConfiguration) - Constructor for class fucksocks.server.SSLSocksProxyServer
 
start() - Method in class fucksocks.server.GenericSocksProxyServer
 
start(int) - Method in class fucksocks.server.GenericSocksProxyServer
 
start() - Method in interface fucksocks.server.io.Pipe
Start the pipe, the pipe will work with a new thread.
start() - Method in class fucksocks.server.io.SocketPipe
 
start() - Method in class fucksocks.server.io.StreamPipe
 
start() - Method in interface fucksocks.server.SocksProxyServer
Starts a SOCKS server.
start(int) - Method in interface fucksocks.server.SocksProxyServer
Starts a SOCKS server and binds a port.
start() - Method in class fucksocks.server.UDPRelayServer
Starts a UDP relay server.
stop() - Method in interface fucksocks.server.io.Pipe
Stop the pipe, the pipe will stop transferring data.
stop() - Method in class fucksocks.server.io.SocketPipe
 
stop() - Method in class fucksocks.server.io.StreamPipe
 
stop() - Method in class fucksocks.server.UDPRelayServer
Stop the UDP relay server.
StreamPipe - Class in fucksocks.server.io
The class StreamPipe represents a pipe the can transfer data from a input stream to a output stream.
StreamPipe(InputStream, OutputStream) - Constructor for class fucksocks.server.io.StreamPipe
Constructs a Pipe instance with a input stream and a output stream.
StreamPipe(InputStream, OutputStream, String) - Constructor for class fucksocks.server.io.StreamPipe
Constructs an instance of StreamPipe.

T

THREAD_NUMBER - Static variable in class fucksocks.server.GenericSocksProxyServer
Number of threads in thread pool.
toHexString(byte) - Static method in class fucksocks.utils.UnsignedByte
Gets hex string of a byte.
toInt(byte) - Static method in class fucksocks.utils.UnsignedByte
Gets unsigned byte from a signed byte.
toLong() - Method in class fucksocks.common.IP
Returns IP as a long integer.
toString() - Method in class fucksocks.client.Socks5
 
toString() - Method in class fucksocks.common.AnonymousePrincipal
 
toString() - Method in class fucksocks.common.IP
 
toString() - Method in class fucksocks.common.IPRange
 
toString() - Method in class fucksocks.common.KeyStoreInfo
 
toString() - Method in class fucksocks.common.Socks5UserPrincipal
 
toString() - Method in class fucksocks.common.UsernamePasswordCredentials
 
toString() - Method in class fucksocks.server.SocksSession
 

U

UDPRelayServer - Class in fucksocks.server
The class UDPRelayServer represents a UDP relay server.
UDPRelayServer() - Constructor for class fucksocks.server.UDPRelayServer
Constructs a UDPRelayServer instance.
UDPRelayServer(InetAddress, int) - Constructor for class fucksocks.server.UDPRelayServer
Constructs a UDPRelayServer instance with client's IP address and port.
UDPRelayServer(SocketAddress) - Constructor for class fucksocks.server.UDPRelayServer
 
UnsignedByte - Class in fucksocks.utils
The class UnsignedByte is a tool to convert signed byte to unsigned byte.
UnsignedByte(int) - Constructor for class fucksocks.utils.UnsignedByte
Constructs a UnsignedByte instance by an integer.
UnsignedByte(byte) - Constructor for class fucksocks.utils.UnsignedByte
Constructs a UsingedByte instance by a byte.
User - Class in fucksocks.server
The class User represents a user in SOCKS5 server.
User() - Constructor for class fucksocks.server.User
Constructs a instance of User.
User(String, String) - Constructor for class fucksocks.server.User
Constructs a instance of User with username and password.
USER_KEY - Static variable in class fucksocks.server.UsernamePasswordAuthenticator
 
UserManager - Interface in fucksocks.server
The class UserManager represents a manager that can manage users.
UsernamePasswordAuthenticator - Class in fucksocks.server
The class UsernamePasswordAuthenticator represents a username password authenticator.
UsernamePasswordAuthenticator() - Constructor for class fucksocks.server.UsernamePasswordAuthenticator
 
UsernamePasswordCredentials - Class in fucksocks.common
The class UsernamePasswordCredentials represents an USERNAME/PASSWORD credentials.
UsernamePasswordCredentials(String, String) - Constructor for class fucksocks.common.UsernamePasswordCredentials
 
UsernamePasswordMessage - Class in fucksocks.server.msg
The class UsernamePasswordMessage represents a USERNAME/PASSWROD authentication message.
UsernamePasswordMessage() - Constructor for class fucksocks.server.msg.UsernamePasswordMessage
Constructs an instance of UsernamePasswordMessage.
UsernamePasswordMessage(String, String) - Constructor for class fucksocks.server.msg.UsernamePasswordMessage
 
UsernamePasswordMethod - Class in fucksocks.common.methods
The class UsernamePasswordMethod represents the method that need USERNAME/PASSWORD authentication.
Notice: This method is only supported by SOCKS5 protocol.
UsernamePasswordMethod() - Constructor for class fucksocks.common.methods.UsernamePasswordMethod
Constructs an instance of UsernamePasswordMethod.
UsernamePasswordMethod(UsernamePasswordAuthenticator) - Constructor for class fucksocks.common.methods.UsernamePasswordMethod
UsernamePasswordResponseMessage - Class in fucksocks.server.msg
The class UsernamePasswordResponseMessage represents a response message for USERNAME/PASSWORD authentication.
UsernamePasswordResponseMessage(boolean) - Constructor for class fucksocks.server.msg.UsernamePasswordResponseMessage
Constructs an instance of UsernamePasswordResponseMessage.

V

valueOf(String) - Static method in enum fucksocks.common.SocksCommand
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fucksocks.server.filters.IPSessionFilter.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fucksocks.server.msg.ServerReply
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fucksocks.utils.LogMessage.MsgType
Returns the enum constant of this type with the specified name.
values() - Static method in enum fucksocks.common.SocksCommand
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fucksocks.server.filters.IPSessionFilter.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fucksocks.server.msg.ServerReply
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fucksocks.utils.LogMessage.MsgType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WritableMessage - Interface in fucksocks.server.msg
The interface WritableMessage represents a message that can be written by Session.
write(byte[]) - Method in interface fucksocks.server.Session
Writes bytes in output stream.
write(byte[], int, int) - Method in interface fucksocks.server.Session
Writes bytes in output stream.
write(WritableMessage) - Method in interface fucksocks.server.Session
Writes Message in output stream.
write(byte[]) - Method in class fucksocks.server.SocksSession
 
write(WritableMessage) - Method in class fucksocks.server.SocksSession
 
write(byte[], int, int) - Method in class fucksocks.server.SocksSession
 
A B C D E F G H I K L M N O P R S T U V W 

Copyright © 2015. All rights reserved.