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.

Packet sniffing with tcpdump

Answer:

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.

  1. Solving the error “Packet too large” in MySQL
  2. How to get the IP address assigned to eth0 by a single command
  3. How to take down/up a network interface in Linux?
  4. How to kill a TCP connection using tcpkill?
  5. Show the system ARP cache

Leave a Reply

(required)

(required)

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>