MINA SSHD
  1. MINA SSHD
  2. SSHD-116

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Nick Howes created issue -
        Hide
        Nick Howes added a comment -

        Patch attached.

        Show
        Nick Howes added a comment - Patch attached.
        Nick Howes made changes -
        Field Original Value New Value
        Attachment sftp-unsupported-op.patch [ 12476327 ]
        Nick Howes made changes -
        Attachment sftp-unsupported-op.patch [ 12476327 ]
        Nick Howes made changes -
        Attachment sftp-unsupported-op.patch [ 12476328 ]
        Guillaume Nodet made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Guillaume Nodet [ gnt ]
        Fix Version/s 0.6.0 [ 12315514 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development