Packet Sniffing

From INIwiki
Jump to: navigation, search

TCP Dump

Simple Command

tcpdump interface
tcpdump -i br0
tcpdump -i eth0

Filter ssh

 tcpdump -i br0 not port 22

Specify a src

tcpdump -i br0 src 192.168.0.71

Other commands

tcpdump -i eth0 | tee tcpdump.out



Reference: http://www.samspublishing.com/library/content.asp?b=red_hat_linux7&seqNum=199&rl=1
Personal tools