SSH Library that supports dynamic port forwarding. Anyone knows any?
Hello,
I've been looking around for a SSH library that supports dynamic port forwarding.
Already tried Ganymed SSH-2, but they only support Local and Remote forwarding. Also, i have been searching around and even paid libraries don't seem to have this functionality.
What im developing is basically a tunneling client for online games where the game connection is intercepted and sent through a proxy server using a SSH tunnel, and thus i need dynamic port forwarding.
Hope you can help me.
Thanks in advance.
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
I checked this library, unfortunatelly only local and remote.
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
What do you mean by dynamic ports?
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Quote:
Originally Posted by
noctarius
What do you mean by dynamic ports?
'
Dynamic ports are not part of the basic SSH specification ( well I am not aware of the RFC if they are ) but they are an extension implemented within OpenSSH. The concept is to forward a port from the client to a SOCKS server built into the OpenSSH server. It means that a port on your local machine acts as a SOCKS proxy securely forwarding all it's traffic to a real SOCKS proxy on the server.
Maverick SSH client ( https://www.javassh.com/products/j2ssh-maverick ) implies that it supports Dynamic Port Forwarding in that it talks of SOCKS but I have never tried that component. Maverick is not open source and is not free. One can get a 1 month evaluation license for free. In my informal evaluation of Java SSH clients Maverick comes out near the top.
If the OP has a SOCKS proxy running on his server that is independent of his SSH server then he can just use port forwarding to that SOCKS proxy.
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
(OT) Hi Sabre, how's going?
kind regards,
Jos
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Quote:
Originally Posted by
JosAH
(OT) Hi Sabre, how's going?
kind regards,
Jos
I'm well Jos but starting to really feel my age. All these nubile young ladies taking part in the beach volleyball make me wish I was 18 again.
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Quote:
Originally Posted by
sabre150
I'm well Jos but starting to really feel my age. All these nubile young ladies taking part in the beach volleyball make me wish I was 18 again.
Or even 38? ;)
db <-- in the 18th prime of life
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Maverick is quite expensive for my lil project :'(
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Sorry for the bump, but i really need somethink like this.
Nobody has a clue? I suppose it does not exist since im sweeping the internet for a month and found nothing.
Re: SSH Library that supports dynamic port forwarding. Anyone knows any?
Quote:
Originally Posted by
jersak
Sorry for the bump, but i really need somethink like this.
Nobody has a clue? I suppose it does not exist since im sweeping the internet for a month and found nothing.
Maybe it is time to review your requirements. I have already suggested that you might be able to use simple standard port forwarding to an independent SOCKS proxy running on the same computer as your SSH server. That does not give you all the features of dynamic port forwarding but only you know exactly what is needed and what features you must have. So what stops that being a solution?