buglwIP - A Lightweight TCP/IP stack - Bugs: bug #35845, Cannot switch from SYN-SENT to...

 
 

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

bug #35845: Cannot switch from SYN-SENT to SYN-RCVD

Submitted by:  Woody Wu <narke>
Submitted on:  Thu 15 Mar 2012 03:37:01 AM UTC  
 
Category:  TCP Severity:  1 - Wish
Item Group:  Feature Request Status:  Wont Fix
Privacy:  Public Assigned to:  Simon Goldschmidt <goldsimon>
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.4.0

Tue 02 Sep 2014 07:44:12 PM UTC, comment #3: 

> Is there a real-world requirement for this one?


Doesn't seem like there is one. Please reopen or re-post if you think differently. This just cannot be easily implemented in lwIP as it is now.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 16 May 2014 08:10:55 PM UTC, comment #2: 

Is there a real-world requirement for this one?

It's hard to implement and could only be implemented for LWIP_CALLBACK_API==1, not for LWIP_EVENT_API==1 as the "connected" callback has to be called instead of the the "accept" callback although in state SYN-RCVD to prevent having to make the application aware of the simultaneous open.

Given this and the fact that it increases code size for no real use (as far as I see it), I don't think we should implement this.

Minor --> Wish

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 20 Mar 2012 07:54:08 PM UTC, comment #1: 

Simultaneous open.  Low priority as very unlikely in practice in a real-world application. 

Kieran Mansley <kieranm>
Project Member
Thu 15 Mar 2012 03:37:01 AM UTC, original submission:  

I found in lwIP,  when an active open pcb in its SYN-SENT state and
received an segment sent from peer which has SYN flag but w/o ACK
flag,  the pcb just ignore the segment.  However, in RFC 793, it is
required to accept the SYN only segment in SYN-SENT state and switch to SYN-RCVD state.

I found this by both testing and checking the source code (tcp_input.c)

Woody Wu <narke>

 

No files currently attached

 

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 kieranm (Posted a comment)
  • -email is unavailable- added by narke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-02 goldsimon StatusNone => Wont Fix
        Assigned toNone => goldsimon
        Open/ClosedOpen => Closed
    2014-05-16 goldsimon Severity2 - Minor => 1 - Wish
    2012-03-20 kieranm Severity3 - Normal => 2 - Minor
        Planned Release => 1.5.0

    Back to the top


    Powered by Savane 3.5