You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2019/03/21 06:18:00 UTC

[jira] [Created] (SSHD-909) Fix SFTP version re-negotiation support

Goldstein Lyor created SSHD-909:
-----------------------------------

             Summary: Fix SFTP version re-negotiation support
                 Key: SSHD-909
                 URL: https://issues.apache.org/jira/browse/SSHD-909
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Goldstein Lyor
            Assignee: Goldstein Lyor


According to the [standard|[https://tools.ietf.org/html/draft-ietf-secsh-filexfer-11#section-5.5]] the versions are *strings* whereas the current code always treats them as *integers*.
{quote}
      string "versions"
       string comma-separated-versions

   'comma-separated-versions' is a string of comma separated version
   numbers.  Defined versions are: "2", "3", "4", "5", "6".  Any other
   version advertised by the server must follow the DNS extensibility
   naming convention outlined in [RFC4251].

   For example: "2,3,6,private@example.com".
{quote}
Note: the same applies for the client's choice
{quote}
       string "version-select"
       string version-from-list
{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)