Bug 1748 - Bug in flowmonitor with fragmented ip packets
Bug in flowmonitor with fragmented ip packets
Status: RESOLVED DUPLICATE of bug 1802
Product: ns-3
Classification: Unclassified
Component: flow-monitor
ns-3.17
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-08 08:43 UTC by Ville Saarinen
Modified: 2013-12-24 10:44 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ville Saarinen 2013-08-08 08:43:27 UTC
Simulation aborts in assert in /network/model/buffer.h at line 680.
The reason for this behaviour seems to be the lacking ipv4 fragmentation support in ipv4-flow-classifier.cc. When a fragmented ip datagram arrives, transport layer header is read in Ipv4FlowClassifier::Classify without any checks about the ip fragmentation. Thus the remaining fragmented data is considered to be a transport layer header, which causes the failing assert if there are less bytes in the fragment than e.g. UDP header size.
Comment 1 Tommaso Pecorella 2013-12-24 10:44:00 UTC

*** This bug has been marked as a duplicate of bug 1802 ***