pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
Greetings, monks of the world
Can anyone recommend a perl module to help me analyze a file created by running tcpdump -w dumpfile? I see several modules in the tcpdump/pcap department, but I don't see any obvious choices that can read the packet dump created by tcpdump -w.
For background, I have an intermittent network problem and I've managed to capture a tcpdump file for part of that time. I want to do things like count the number of TCP, UDP, ICMP etc... packets to see if anything really broad like that changes during the badness. I could run "tcpdump -r dumpfile" and parse the resulting text, but if there is a good module to parse the tcpdump packet file, that would be even better.
Thanks!
--Pileofrogs
Thanks folks! Great answers!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Analyse a tcpdump dump file
by NetWallah (Canon) on Feb 18, 2010 at 04:54 UTC | |
|
Re: Analyse a tcpdump dump file
by zentara (Cardinal) on Feb 18, 2010 at 13:50 UTC |