views:

14

answers:

1

We are capturing packets to a file using tcpdump(). I need to write a program to parse it, does anyone know where I could find a file layout for a dump file created by this tool?

+1  A: 

tcpdump uses libpcap; there are docs describing the libpcap file format which should give you what you need.

psmears