[Bug 3633] New: Add support for PUT from a named pipe

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Nov 8 09:07:47 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3633

            Bug ID: 3633
           Summary: Add support for PUT from a named pipe
           Product: Portable OpenSSH
           Version: 9.5p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: tessgauthier at microsoft.com

Adding support for PUT from a named pipe enables scenarios where
writing the contents to a file on the machine calling SFTP is not
desirable. A similar scenario - GET from a named pipe - seems to
already work. 

Currently, the S_ISREG(sb.st_mode) check in sftp_upload() fails with
named pipes. From limited initial testing, adding an additional
S_ISFIFO(sb.st_mode) check seems to allow the transfer to proceed as
expected. However, I'm not sure if there's any limitations I am
overlooking.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list