Martian Puss
Martian Puss

Reputation: 720

Performance and efficiency comparing between dump tools: tcpdump, tshark, dumpcap

I'm capturing tcp/udp packets through network adapter and trying to analyze the packets to get some statistical indicator such like bandwidth rate or protocol efficiency. Anyway i need to monitor the network traffic on specific link (src, dst, port, probably overall traffic) using some CLI tools.

My desired capturing tool can be:

Now i'm aware of tshark, tcpdump(currently use it) and dumpcap, but i don't know the performance difference among these tools. Can anybody helP?

Upvotes: 6

Views: 5278

Answers (1)

user862787
user862787

Reputation:

Some experiments done while working on TPACKET_V3 support in libpcap found that, currently, tcpdump drops fewer packets than dumpcap. (We'd like to fix dumpcap to do better.)

TShark just runs dumpcap, so it's not going to be any better than dumpcap.

Upvotes: 5

Related Questions