Hi All, Just to let you know, I have implemented dynamic port forwarding on top of JSch for my android application, SSH Persistent Tunnels. I used jsocks for the SOCKS part. I had to trivially patch a few files from jsocks (just make some members and methods protected instead of private). The actual implementations is in: http://code.google.com/p/ssh-persistent-tunnel/source/browse/src/org/ayal/SPT/DynamicForwarder.java
I am sure it's far from optimal since it is built on top of JSch instead of being fully integrated. Someone with better knowledge of the JSch code base could probably integrate it better. Licensing notet: jsocks is LGPL, and the code I wrote (DynamicForwarder.java) is GPLv3. If someone were to integrate it into JSch, I am willing to release my code under a license similar to JSch's. You can browse all of the code in: http://code.google.com/p/ssh-persistent-tunnel/source/browse/ Thank you Dr. Atsuhiko Yamanaka for JSch Shai -- SPT - persistent SSH tunnels for android. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users