Bad packet length error

Tom Orban tom.orban at corp.usa.net
Tue Apr 24 09:09:14 EST 2001


Hello,

I just built openssh-2.5.2p2 on an HP running HP-UX 11.00.  Seems now
when I try and connect to other HP's running ssh with version
openssh-2.3.0p1 (using protocol version 2), I'm getting disconnected
because of a "Bad packet length" error:

ssh -v isd1
...
debug1: ssh_dss_verify: signature correct
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: send SSH2_MSG_SERVICE_REQUEST
 42 71 58 e0 7b e7 3b 4f 0d 3d 83 9c a2 01 c6 22
Disconnecting: Bad packet length 1114724576.    <------------ ERROR
debug1: Calling cleanup 0x400102a2(0x0)
debug1: Calling cleanup 0x400102aa(0x0)
debug1: writing PRNG seed to file //.ssh/prng_seed

Other info:
- Going from box running 2.3.0p1 to box with 2.5.2p2 works fine with
protocol 2.
- 2.5.2p2 box to another 2.5.2p2 box works fine.

Workarounds:
1) upgrade offending machine to 2.5.2p2, although I can't for all
machines.
2) (Interim fix) connect to offending machine with protocol version 1.


Anyone else seen this behavior?  Any chance there's a patch for this?

Thanks.

-Tom



More information about the openssh-unix-dev mailing list