Open pjattke opened 7 years ago
The issue is that some packets are truncated (when the capture was done, the maximum snap length on the capture was lower than the MTU). Hence, libtins fails to parse some layer because it expects more data than there actually is. This is somehow a limitation that at some point I'd like to change though!
Dear Community, I am encountering the following issue when reading my sample PCAP file [1]: The amount of packets displayed in Wireshark is 1 375 475, whereas Libtins only processes 1 374 068 packets. I use the following code to process the file:
I also tried alternative methods of reading the file, like the followings - but this did not change anything in the packet_count.
Can anyone explain me this strange behavior? I tried the same task with the PcapPlusPlus library, it returned me the same value as Wireshark.
Thanks a lot for your support!
[1] Sample PCAP File: 95M.pcap