Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Mar 262010

Packet sniffing with tcpdump


To perform packet sniffing, it is easy with tcpdump

# tcpdump -i eth0 -w dump.cap -s 0

After you terminated the tcpdump, you can use tool such as Wireshark to analyse the dump.cap.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>