buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44583, Sequence number overrun...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44583: Sequence number overrun mishandling for out-of-sequence TCP packets

Submitter:  Clint Sbisa <csbisa>
Submitted:  Fri 20 Mar 2015 12:44:57 AM UTC
   
 
Category:  Contrib Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Fri 20 Mar 2015 07:42:10 AM UTC, comment #1: 

Fixed, thanks for reporting and thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 20 Mar 2015 12:44:57 AM UTC, original submission:  

Checks for receive window overruns aren't handling overflows properly in the case of out-of-sequence TCP packets. LWIP does not crash, but the TCP connection typically falls out of sync until a timeout resets the connection.

The fix is fairly simple-- the offending code was not using macros that are used everywhere else in the file. A patch that fixes this is attached.

The patch also includes a test case that was failing without the fix.

Clint Sbisa <csbisa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by csbisa (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-20 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2015-03-20 csbisa Attached File- Added 0001-tcp-Fix-ooseq-processing-when-seqno-is-near-2-32.patch, #33408

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code