Mailing List Archive

[Bug 3318] New: Read-only mode broken by limits@openssh.com extension
https://bugzilla.mindrot.org/show_bug.cgi?id=3318

Bug ID: 3318
Summary: Read-only mode broken by limits@openssh.com extension
Product: Portable OpenSSH
Version: 8.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: sftp-server
Assignee: unassigned-bugs@mindrot.org
Reporter: marcan@marcan.st

limits@openssh.com is marked as does_write=1, which causes the client
to break when the request is denied, printing a cryptic error message.

$ sftp <server...>
Expected SSH2_FXP_EXTENDED_REPLY(201) packet, got 101

It's really hard to get logs out of the server in internal-chroot mode,
but strace shows:

[pid 133138] write(2, "Refusing limits request in read-only mode\r\n",
43) = 43

I don't see why the extension should be restricted in read-only mode.
The client should probably also not just break and abort when this
happens.

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs