tcpdump mailing list archives

Handling Corrupted Packets Inside Pcap Files?


From: Hei Chan <structurechart () yahoo com>
Date: Sat, 18 Oct 2014 04:12:59 -0700

Hi,
The first 3 packets are corrupted according to wireshark.

As soon as I read the first packet with pcap_next(), my application gets a coredump.

Is it an expected behavior?

If not, what's the correct/better usage to get around it?

Thanks in advance.


Cheers,
Hei

P.S. I am using libpcap 1.4.0 if it matters.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: