MEMO Wireshark

From KuWiki

Jump to: navigation, search

The Ethereal network protocol analyzer has changed its name to Wireshark.

Contents

TShark (The text mode Wireshark)

Capture

Capture packets from interface ppp0 which destination IP is 192.168.0.1 then write to file 00.pkt.

# tshark -n -i ppp0 -R "ip.dst == 192.168.0.1" -w 00.pkt

Display

Display the packets content from file 00.pkt in hex.

# tshark -x -r 00.pkt

References