Bugzilla – Bug 2175
Cannot read PCAP files in src/test/ns3tcp/response-vectors
Last modified: 2015-10-29 08:53:00 UTC
Trying to open these files under wireshark or TCPdump fails. In this state, they are completely useless.. Sincerely, I don't know if the problem is inside TCP module or the point to point one, which is used to write the PCAP. As a side note: PCAP generated with point to point in other code works.
I think that we should ignore this issue or else replace the tests with new tests from the new test framework. This was by design that the pcap files (response vectors) only contain TCP information, so that they are not perturbed by non-TCP changes to the packet traces, and to save space. That is, the pcaps only store TCP layer info and not the lower layers. Hence, they cannot be used for wireshark, but they are just serving as binary files for comparison. There is an argument m_writeResults (default false) that will write Wireshark-compatible pcap traces if the variable is set to true. So, I don't advocate spending time to rework these response vectors. I would be OK with replacing the tests with functionally equivalent tests in the new test framework.