Package | Description |
---|---|
socks | |
socks.server |
Constructor and Description |
---|
ProxyServer(ServerAuthenticator auth,
SshClient agent)
Creates a proxy server with given Authentication scheme.
|
Modifier and Type | Class and Description |
---|---|
class |
IdentAuthenticator
An implementation of socks.ServerAuthentication which provides
simple authentication based on the host from which the connection
is made and the name of the user on the remote machine, as reported
by identd daemon on the remote machine.
|
class |
ServerAuthenticatorNone
An implementation of ServerAuthenticator, which does not do
any authentication.
|
class |
UserPasswordAuthenticator
This class implements SOCKS5 User/Password authentication scheme as
defined in rfc1929,the server side of it.
|
Modifier and Type | Method and Description |
---|---|
ServerAuthenticator |
UserPasswordAuthenticator.startSession(Socket s) |
ServerAuthenticator |
ServerAuthenticatorNone.startSession(Socket s)
Grants access to everyone.Removes authentication related bytes from
the stream, when a SOCKS5 connection is being made, selects an
authentication NONE.
|
ServerAuthenticator |
ServerAuthenticator.startSession(Socket s)
This method is called when a new connection accepted by the server.
|
ServerAuthenticator |
IdentAuthenticator.startSession(Socket s)
Grants permission only to those users, who connect from one of the
hosts registered with add(InetRange,Hashtable) and whose names, as
reported by identd daemon, are listed for the host the connection
came from.
|
Copyright © 2024. All rights reserved.