Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
All
Description
SSH protocol defines a uint32 type which in SSHD is represented as a 32-bit signed Java int. This should be okay for the most part except with regard to sequence numbers, which should be represented as long's.
Also, the RFC says sequence numbers wrap to 0 after 2^32 packets, this consideration needs to be included in the encode() and decode() functions.