Bugzilla – Full Text Bug Listing |
Summary: | Listening TCP socket closes on RST | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Fabian Mauchle <f1mauchl> |
Component: | internet | Assignee: | Josh Pelkey <jpelkey> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mathieu.lacage, ns-bugs, tomh |
Priority: | P2 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch |
(In reply to comment #0) > Created an attachment (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. (In reply to comment #1) > (In reply to comment #0) > > Created an attachment (id=667) [details] [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. changeset 894221b51957 |
Created attachment 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.