Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-834

Missing configurable source bind address in connect method of org.apache.sshd.clientSshClient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 2.1.0
    • None

    Description

      On multi homed machines (2+ network interfaces) it could be very useful to be able to set the source bind address of the originating connection for SshClient(s) connecting to remote SSH servers.

      If not set explicitly, the source bind address is chosen between one of the available addresses on the machine.

      Sometimes firewalls block/reject  TCP connections originating from particular ip addresses but with this new parameter this issue could be bypassed.

      Is it possible to add and implement the following method in the ClientSessionCreator interface ?

      ConnectFuture connect(String username, SocketAddress local, SocketAddress remote) throws IOException;

      The new parameter "local" represents the local source bind address.

       

      Bye.

      Roberto

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              roberto.deandrea Roberto Deandrea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: