- GenericSocksCommandSender - Class in fucksocks.client
-
- GenericSocksCommandSender() - Constructor for class fucksocks.client.GenericSocksCommandSender
-
- GenericSocksMethodRequestor - Class in fucksocks.client
-
- 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
-
- GenericSocksProxyServer(Class<? extends SocksHandler>, int) - Constructor for class fucksocks.server.GenericSocksProxyServer
-
- GenericSocksProxyServer(Class<? extends SocksHandler>, ExecutorService) - Constructor for class fucksocks.server.GenericSocksProxyServer
-
- GenericSocksProxyServer(Class<? extends SocksHandler>, int, ExecutorService) - Constructor for class fucksocks.server.GenericSocksProxyServer
-
- 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
-
- 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
-
- 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
-
- 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
-
- initializeSocksHandler(SocksHandler) - Method in class fucksocks.server.GenericSocksProxyServer
-
- initializeSocksHandler(SocksHandler) - Method in interface fucksocks.server.SocksProxyServer
-
- 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
-
- 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
-
- 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
-
- select(MethodSelectionMessage) - Method in interface fucksocks.server.MethodSelector
-
- 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
-
- serverReplyException(byte) - Static method in exception fucksocks.common.SocksException
-
- 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
-
- 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
-
- SocksException(int) - Constructor for exception fucksocks.common.SocksException
-
- 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
-
- SocksMethodSelector() - Constructor for class fucksocks.server.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
-