mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (SSHD-749) SFTP client sends wrong open flags for protocol version 4
Date Fri, 26 May 2017 17:47:04 GMT

     [ https://issues.apache.org/jira/browse/SSHD-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on SSHD-749 started by Goldstein Lyor.
-------------------------------------------
> SFTP client sends wrong open flags for protocol version 4
> ---------------------------------------------------------
>
>                 Key: SSHD-749
>                 URL: https://issues.apache.org/jira/browse/SSHD-749
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Christian Leiner
>            Assignee: Goldstein Lyor
>         Attachments: AbstractSftpClient_open_flags.patch, SftpVersionsTest_open_flags.patch
>
>
> While trying to create a file on a remote server using {{SftpClient}}, I always received
{{SSH_FX_NO_SUCH_FILE}}. However, there were no problems with the server when using another
client.
> Debugging the issue, I discovered that {{AbstractSftpClient.open()}} doesn't handle the
{{OpenMode}} options according to the spec when using protocol version 4 (https://tools.ietf.org/html/draft-ietf-secsh-filexfer-04)
and diverges from SSHD's server implementation as well (i.e. {{SftpSubsystem.doOpen()}}).
> I have attached a test case to reproduce the problem ({{SftpVersionsTest_open_flags.patch}}).
There's also a simple patch that should fix the issue ({{AbstractSftpClient_open_flags.patch}}).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message