You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2017/05/09 17:31:04 UTC

[jira] [Commented] (SSHD-746) Seems IPv6 addresses are not supported

    [ https://issues.apache.org/jira/browse/SSHD-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003122#comment-16003122 ] 

Goldstein Lyor commented on SSHD-746:
-------------------------------------

We currently have no immediate plans to support IPv6. That being said, we would like to be at least IPv6 "tolerant" - i.e., be able to ignore such entries. However, since we do not have enough development resource available and does not seem to be a wide-spread problem, this is very low priority, so my only advice at this stage would be to consider contributing a patch yourself.

> Seems IPv6 addresses are not supported
> --------------------------------------
>
>                 Key: SSHD-746
>                 URL: https://issues.apache.org/jira/browse/SSHD-746
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Stephen Connolly
>            Priority: Minor
>
> Seems a lot of the code is not aware of IPv6 patterns
> {code}
> java.lang.IllegalArgumentException: Invalid host pattern char in 0:0:0:0:0:0:0:1
> 	at org.apache.sshd.common.util.ValidateUtils.throwIllegalArgumentException(ValidateUtils.java:138)
> 	at org.apache.sshd.common.util.ValidateUtils.checkTrue(ValidateUtils.java:127)
> 	at org.apache.sshd.client.config.hosts.HostPatternsHolder.toPattern(HostPatternsHolder.java:247)
> 	at org.apache.sshd.client.config.hosts.HostPatternsHolder.parsePatterns(HostPatternsHolder.java:221)
> 	at org.apache.sshd.client.config.hosts.HostConfigEntry.setHost(HostConfigEntry.java:138)
> 	at org.apache.sshd.client.config.hosts.HostConfigEntry.<init>(HostConfigEntry.java:123)
> 	at org.apache.sshd.client.SshClient.connect(SshClient.java:505)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)