Using tcpdump

October 12th, 2010 | Tags: ,

To view incoming and outgoing packets on port 80

tcpdump -i eth0 tcp port 80

To view outbound traffic over port 80

tcpdump -i eth1 tcp dst port 80 and src host 192.168.0.10

To suppress verbose output, you just want to view source/destination

tcpdump -q -i eth1 tcp dst port 80 and src host 192.168.0.10
  1. Paul Charles Leddy
    March 25th, 2011 at 05:54
    Reply | Quote | #1

    Nice -q option.