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

Ignore SFTP extension data in SSH_FXP_INIT message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None

    Description

      According to the [specification](see https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt) - section 4 - Protocol Initialization - the SSH_FXP_INIT message may contain optional extension strings and "Implementations MUST silently ignore any extensions whose name they do not recognize.".

      While such extensions may be rare, IMO we don't want the SSHD server to fail talking to such clients. Attached is a patch in that spirit (BTW, there was also a logging error - the message was logging the received version before the value was initialized...)

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: