TCPDUMP Tutorial
TCPDUMP is a wonderful command line tool which helps analyzing and troubleshooting network traffic on a Linux host.
The tcpdump options I use the most are:
- -n : Don't resolve hostnames.
- -nn : Don't resolve hostnames or port names.
- -v, -vv, -vvv : Increase the amount of packet information you get back.
Display any traffic souring and destining a specific host:
- tcpdump host "Host Address"
- tcpdump src "Host-address"
- tcpdump dst "Host-address"
- tcpdump icmp
- tcpdump net "net-address"
- tcpdump port "port-number"
- tcpdump src port "port-number"
- tcpdump dst port "port-number"
You can learn more about tcpdump options and expressions with great examples at this location: http://dmiessler.com/study/tcpdump/
Labels: Linux, Monitoring, Networking, Security



0 Comments:
Post a Comment
<< Home