search for: ssh_filexfer_attr_extend

Displaying 2 results from an estimated 2 matches for "ssh_filexfer_attr_extend".

2016 Apr 18
0
[Bug 1953] Implementation of xattr in sftp-server for sshfs
...------------------------------ CC| |tj at castaglia.org --- Comment #6 from TJ Saunders <tj at castaglia.org> --- Instead of using custom SFTP extensions for xattr functionality, another approach you might consider, protocol-wise, is the use of the SSH_FILEXFER_ATTR_EXTENDED flag of the ATTRS structure, which is part of SFTP protocol version 3 (and earlier); see: https://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-5 SFTP clients can send xattrs as ATTR_EXTENDED key/value pairs in SETSTAT/FSETSTAT requests; OpenSSH should send the xattrs in READDIR an...
2023 May 10
2
SFTP support for subsecond times
...some cases, even incompatible) with the openssh sftp implementation, so I'll take the current code as the main reference and just use https://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt as documentation. After a careful look at the protocol, it seems it could be done by making use of SSH_FILEXFER_ATTR_EXTENDED attribute. Adding a pair or keys ("atime-ns" and "mtime-ns" for example) and since the value string seems to allow holding binary data, it could contain the u32 values directly in order to keep overhead as low as possible . Or even better both values could be transmitted in a...