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

Unknown commands cause IllegalStateException instead of being correctly handled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0, 1.6.0, 2.0.0
    • 2.1.0
    • None

    Description

      As https://github.com/CESNET/libnetconf2/issues/68 shows, MINA SSHD has a different behavior than OpenSSH when faced unknowns – in this case coming from a buggy server.

      While OpenSSH was able to establish a session, OpenDaylight (using SSHD 1.6.0) was not – throwing an IllegalStateException.

      Rather than throwing an exception, send an SSH_MSG_UNIMPLEMENTED as specified by https://tools.ietf.org/html/rfc4253#section-11.4 .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nite Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: