Bug 2132 - TcpL4Protocol sends a bad-formatted RST packet
TcpL4Protocol sends a bad-formatted RST packet
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: tcp
pre-release
PC Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-01 04:37 EDT by natale.patriciello
Modified: 2015-07-13 23:37 EDT (History)
2 users (show)

See Also:


Attachments
Patch (12.72 KB, patch)
2015-06-01 04:37 EDT, natale.patriciello
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description natale.patriciello 2015-06-01 04:37:59 EDT
Created attachment 2055 [details]
Patch

If no endpoints are found for the incoming packet, the TcpL4Protocol sends an RST packet. However it isn't well-formatted (missing right source,destination and ports).

This patch fixes it.

It is included in the branch for my gsoc, and it will be (hopefully) merged if all agree on my changes.
Comment 1 Tom Henderson 2015-06-11 13:16:14 EDT
Looks fine by me; have put it on schedule to commit next week.
Comment 2 Tom Henderson 2015-07-13 23:37:13 EDT
eventual patch pushed in changeset 11503:41b51e451375