Results 1 to 11 of 11
  1. #1
    jersak is offline Member
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0

    Default 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.

  2. #2
    noctarius is online now Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?


  3. #3
    jersak is offline Member
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    I checked this library, unfortunatelly only local and remote.

  4. #4
    noctarius is online now Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    What do you mean by dynamic ports?

  5. #5
    sabre150 is offline Member
    Join Date
    Jul 2012
    Location
    Earth
    Posts
    75
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    Quote Originally Posted by noctarius View Post
    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.
    Last edited by sabre150; 08-08-2012 at 09:41 AM.

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,433
    Blog Entries
    7
    Rep Power
    20

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    (OT) Hi Sabre, how's going?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  7. #7
    sabre150 is offline Member
    Join Date
    Jul 2012
    Location
    Earth
    Posts
    75
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    Quote Originally Posted by JosAH View Post
    (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.

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    Quote Originally Posted by sabre150 View Post
    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
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  9. #9
    jersak is offline Member
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    Maverick is quite expensive for my lil project :'(

  10. #10
    jersak is offline Member
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0

    Default 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.

  11. #11
    sabre150 is offline Member
    Join Date
    Jul 2012
    Location
    Earth
    Posts
    75
    Rep Power
    0

    Default Re: SSH Library that supports dynamic port forwarding. Anyone knows any?

    Quote Originally Posted by jersak View Post
    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?

Similar Threads

  1. Application supports only on nokia
    By mathesit in forum Java Software
    Replies: 1
    Last Post: 10-13-2011, 08:06 AM
  2. Port Forwarding In Java?
    By anthropamorphic in forum Networking
    Replies: 10
    Last Post: 08-11-2011, 10:01 PM
  3. JMF 1.0 supports RTP receive only
    By denis in forum New To Java
    Replies: 0
    Last Post: 08-09-2011, 05:19 AM
  4. Replies: 1
    Last Post: 01-17-2010, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •