You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/10 01:27:05 UTC

[jira] [Commented] (SSHD-746) IPv6 addresses are not supported as client sessions connection target

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

ASF GitHub Bot commented on SSHD-746:
-------------------------------------

Github user daik closed the pull request at:

    https://github.com/apache/mina-sshd/pull/42


> IPv6 addresses are not supported as client sessions connection target
> ---------------------------------------------------------------------
>
>                 Key: SSHD-746
>                 URL: https://issues.apache.org/jira/browse/SSHD-746
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 1.2.0
>            Reporter: Stephen Connolly
>            Assignee: Goldstein Lyor
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> 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.4.14#64029)