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

Shouldn't throw an exception when receiving an unsupported SFTP message

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0

    Description

      Unsupported SFTP message types should just respond with SSH_FX_OP_UNSUPPORTED, and not also throw an exception, since that ends the session. When I use Ubuntu's Nautilus integration for SFTP that attempts READLINK requests quite a lot, which are currently unimplemented in SftpSubsytem. If we stop throwing the exception and just return the unsupported response, it works fine.

      Attaching a patch.

      Attachments

        Activity

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

          People

            gnodet Guillaume Nodet
            nicholash Nick Howes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment