tcpdump capture files analysis
I generated some communications between client/server and captured the packets using tcpdump. Now I want to analyze those packets to measure latencies and some开发者_如何学运维 other information, like any packet lost or acks lost. Is there any way to do this. I was trying to write scripts in perl to analyze it. There is a perl implementation call net::tcpdump. But the documentation is not very detailed. I don't event know how to extract the time stamps. Any idea would be appreciated.
If you are willing to switch to Python, I have found impacket useful for writing some custom .pcap analysis scripts. The tcptrace tool also has some analysis features not available in Wireshark
Wireshark has some packet statistical tools - and can read the capture files produced by tcpdump.
精彩评论