tcpdump mailing list archives

Re: dump file parsing with C++


From: Guy Harris <guy () alum mit edu>
Date: Fri, 19 Sep 2008 01:06:37 -0700


On Sep 18, 2008, at 3:23 PM, arun chhetri wrote:

Can, you guys please tell me how to parse a tcpdump dump file with C+ +.

Use libpcap to read packets from the dump file.

That will give you the raw contents of the packets. Parsing the raw packet data is left as an exercise to the reader.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: