10 useful Linux tcpdump command examples
Feb 1, 2021
We will learn 10 useful Linux tcpdump command examples and tcpdump command options to analyze the traffic flow on a Linux machine.
- Capture traffic on specific interface ( -i)
- Capture ip or host-specific packets
- Capture packets on a specific port ( port)
- Write packets to a file ( -w )
- Capture packets from a specific protocol
- Filter tcpdump packets from specific source & dest host
- Rotate tcpdump packets
- Capture Multiple hosts with tcpdump
- Filter Multiple ports with tcpdump
- Filter Multiple interfaces