[Ns-bugs] [Bug 747] Listening TCP socket closes on RST

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Nov 26 08:24:27 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=747





--- Comment #1 from Josh Pelkey <jpelkey at gatech.edu>  2009-11-26 11:24:26 EDT ---
(In reply to comment #0)
> Created an attachment (id=667)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=667) [details]
> patch
> 
> A TCP socket in state 'Listening' changes to state 'Closed' when a (malicious)
> RST packet is received. The socket should stay in state 'Listening'.
> 
> Please review the patch very closely. All unit-tests pass, but i'm not sure
> whether they cover all situations.

I spent some time looking over this, and it looks good.  Essentially the patch
ensures that the state machine is used upon RST events (rather than trying to
do it within the methods). +1 from me.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list