Roberto Deandrea created SSHD-834:
-------------------------------------

             Summary: Missing configurable source bind address in connect 
method of org.apache.sshd.clientSshClient
                 Key: SSHD-834
                 URL: https://issues.apache.org/jira/browse/SSHD-834
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 1.7.0
            Reporter: Roberto Deandrea


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

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to