bugzilla-daemon at mindrot.org
2004-Aug-19 16:32 UTC
[Bug 916] SFTP over SSH died after roughly 20MB when asking for >64k chunks
http://bugzilla.mindrot.org/show_bug.cgi?id=916 Summary: SFTP over SSH died after roughly 20MB when asking for >64k chunks Product: Portable OpenSSH Version: 3.8.1p1 Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: z3p at twistedmatrix.com I have a SSHv2/SFTPv3 implementation written in Python. I have been trying to use a chunk size for SFTP downloading of 128k against the 3.8.1p1 sshd/sftp-server. I only get 64k back, which is because of the hardcoded buffer in sftp-server.c, but that's not the problem. After roughly 20MB of 64kb chunks (asking for 128kb) the server hangs and stops sending data. Interestingly, talking directly to sftp-server does not demonstrate this bug, which leads me to believe that the bug is somewhere in sshd, although I have no idea how that could be. I'm using a local window size and local maximum packet size that is large enough for 128k packets. I'll attach a Python script that demonstrates the bug. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Aug-19 16:35 UTC
[Bug 916] SFTP over SSH died after roughly 20MB when asking for >64k chunks
http://bugzilla.mindrot.org/show_bug.cgi?id=916 ------- Additional Comments From z3p at twistedmatrix.com 2004-08-20 02:35 ------- Created an attachment (id=699) --> (http://bugzilla.mindrot.org/attachment.cgi?id=699&action=view) Python script demonstrating bug Requires Twisted (http://www.twistedmatrix.com/). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Apparently Analagous Threads
- [Bug 916] SFTP over SSH died after roughly 20MB when asking for >64k chunks
- [Bug 756] sshd does not support global request cancel-tcpip-forward
- [Bug 817] Opening >1 session and shell results in the MOTD being repeated
- OpenSSH 7.7p1 interop failure with Twisted Conch 8.0.0-17.9.0
- OpenSSH 7.7p1 interop failure with Twisted Conch 8.0.0-17.9.0