more useful options | |
PerlMonks |
Analyse a tcpdump dump fileby pileofrogs (Priest) |
on Feb 17, 2010 at 22:21 UTC ( [id://823825]=perlquestion: print w/replies, xml ) | Need Help?? |
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! Thanks folks! Great answers!
Back to
Seekers of Perl Wisdom
|
|