cat of long files breaks dropbear ssh connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dropbear (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned |
Bug Description
I'm connecting via ssh to our platform running dropbear. If I cat /var/log/syslog, I'm seeing the connection break with the following:
Write failed: Broken pipe
The syslog is about 2MB size.
I can reproduce the issue in ubuntu 14.04.3.
The version of dropbear is 2013.60-1ubuntu2.1
`xxd /dev/zero` can reproduce the issue 100%.
[Impact]
* In fact it is really an annoying bug due to I can't visit my syslog or other large file via cat.
[Test Case]
The minimum reproducer should be:
* system A running a dropbear as a ssh server.
* ssh username@systemA from system B. (A and B should be different computer.)
* xxd /dev/zero
* the connection will be broken.
[Regression Potential]
* I find the patch from upstream. And it already been merged. So I think it's safe to merge it into ubuntu.
[Other Info]
* The latest dropbear-2015.68 can't reproduce the issue.
* After a bisect I find this patch fixed the issue: https:/
* There is a bit conflict if you apply above commit. The fixed version is attached.
Changed in oem-priority: | |
status: | New → Incomplete |
no longer affects: | oem-priority |
The attachment "test.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]