You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sebastian Marsching (JIRA)" <ji...@apache.org> on 2012/11/18 23:56:58 UTC

[jira] [Updated] (SSHD-199) Support binding SSHd to multiple addresses

     [ https://issues.apache.org/jira/browse/SSHD-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Marsching updated SSHD-199:
-------------------------------------

    Attachment: sshd-multiple-addresses.patch

This patch addresses the issue.

It reads multiple hostnames or addresses separated by commas and resolves all addresses for each hostname.
                
> Support binding SSHd to multiple addresses
> ------------------------------------------
>
>                 Key: SSHD-199
>                 URL: https://issues.apache.org/jira/browse/SSHD-199
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.9.0
>            Reporter: Sebastian Marsching
>            Priority: Minor
>         Attachments: sshd-multiple-addresses.patch
>
>
> At the moment the SSHd can only be bound to a single IP address.
> If null is supplied to the SshServer#setHost(String) method, the SSHd binds to all local addresses (that is the default behavior if an InetSocketAddr is created without an explicit address).
> However, if a hostname or IP address is specified, the SSHd only binds to this address. If the hostname points to an IPv4 as well as an IPv6 address. SSHd only binds to the IPv4 address.
> Desired behavior:
> If a hostname is specified that points to an IPv4 and IPv6 address, SSHd should bind to both addresses. If multiple addresses or hostnames are specified (e.g. separated by commas), SSHd should bind to all those addresses.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira