bugzilla-daemon at bugzilla.mindrot.org
2016-Jun-02 04:03 UTC
[Bug 2579] New: Link count support
https://bugzilla.mindrot.org/show_bug.cgi?id=2579 Bug ID: 2579 Summary: Link count support Product: Portable OpenSSH Version: 7.2p1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: sftp-server Assignee: unassigned-bugs at mindrot.org Reporter: rian at thelig.ht Created attachment 2820 --> https://bugzilla.mindrot.org/attachment.cgi?id=2820&action=edit Patch This patch adds client and server support for transmitting the st_nlink field across SSH2_FXP_NAME and SSH2_FXP_ATTRS responses. One downside is that it adds this much new overhead for those responses: sizeof(uint32_t) + sizeof(uint32_t) + strlen("attr-link-count at openssh.com") + sizeof(uint32_t) + sizeof(uint64_t) i.e. 47 bytes. If this overhead is not acceptable, perhaps this extension can only be enabled if the client sends the "attr-link-count at openssh.com" extension in the SSH2_FXP_INIT request. If this is the case, should sftp-client advertise this extension by default or no? -- You are receiving this mail because: You are watching the assignee of the bug.