← Back In the print window choose “Save as PDF” as the printer.

Wireshark cheatsheet

See exactly what travels across your network

UnixDroid

How it works

  1. Capture — The network card passes a copy of the traffic to Wireshark.
  2. Decode — Each packet is split into layers: Ethernet, IP, TCP and the app protocol.
  3. Filter — Display filters show only what you care about.
  4. Follow — Follow a stream to read one conversation in order.

First steps

dns
Display filter: only DNS lookups
http
Display filter: unencrypted web traffic
tcp.port == 443
Display filter: HTTPS connections
ip.addr == 192.168.1.5
Display filter: one device on your network
tshark -D
List capture interfaces from the terminal
Capture only traffic on networks you own or are allowed to monitor. Capture files can contain private data — store and delete them carefully. Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).