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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Labels:

      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

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              nicholash Nick Howes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: