Bug 212433 - <net-misc/openssh-4.8 with port forwarding can fail with bad packet sizes
Bug#: 212433 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: smparkes@smparkes.net
Component: Ebuilds
URL: 
Summary: <net-misc/openssh-4.8 with port forwarding can fail with bad packet sizes
Keywords:  
Status Whiteboard: 
Opened: 2008-03-05 21:05 0000
Description:   Opened: 2008-03-05 21:05 0000
Openssh will sometimes fail when port forwarding from server back to client.

See openssh bugzilla https://bugzilla.mindrot.org/show_bug.cgi?id=1360

There's a patch attached to the issue that has been committed for openssh 4.8.
Any chance we could get this into the ebuild?

Reproducible: Always

Steps to Reproduce:
I can get this by forwarding and then scp'ing a large file back over a
forwarded connection. The original ssh connection is severed with the server
reporting "Disconnecting: Bad packet XXXXX". I'm not sure if this depends on
network packet size, etc.



It's possible this is related to PR 191371. I'm not sure. The failure messages
I get ("Disconnecting: Bad packet" on the server side) seem different.

http://bugs.gentoo.org/show_bug.cgi?id=191371

------- Comment #1 From SpanKY 2008-03-09 10:20:48 0000 -------
verify it actually works for you and i'll look at adding it

------- Comment #2 From SpanKY 2008-03-29 03:07:24 0000 -------
added the fix committed upstream to openssh-4.7_p1-r5