Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-33

SSH uint32, sequence number wrapping

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gnodet Guillaume Nodet
            shikhar Shikhar Bhushan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment