|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.ssh2.SSH2SocksListener
This class together with SSH2SocksChannel implements
a simple SOCKS proxy server that open port forwards for each CONNECT
packet. Only TCP is supported.
SSH2SocksChannel| Constructor Summary | |
SSH2SocksListener(java.lang.String listenAddr,
int listenPort,
SSH2Connection connection)
Creates a SOCKS proxy server listening on the specified port and address. |
|
| Method Summary | |
void |
run()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SSH2SocksListener(java.lang.String listenAddr,
int listenPort,
SSH2Connection connection)
throws java.io.IOException
listenAddr - The address to open the listener to. should
normally be "127.0.0.1".listenPort - The local port to listen at.connection - The connection to use.| Method Detail |
public void stop()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||