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

IPv6 addresses are not supported as client sessions connection target

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.7.0
    • None

    Description

      Seems a lot of the code is not aware of IPv6 patterns

      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)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lgoldstein Lyor Goldstein
            stephenc Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment