Remember lesson 1? The first time I opened Wireshark, I just sat there and understood nothing. Let's look at that same screen again.
Now it makes sense
Back then I didn't know TCP, IP or ports. Now you've learned all three. Every line in Wireshark is one packet:
| Column | Means | Lesson |
|---|---|---|
| Source | The IP the packet came from | 3 |
| Destination | The IP it's going to | 3 |
| Protocol | TCP, UDP, DNS, HTTP, TLS, ARP… | 7–12 |
| Info | Ports and flags, like 51234 → 443 [SYN] | 6, 8 |
Display filters
Hundreds of packets arrive every second. Type a filter in the bar at the top and everything else disappears:
| Filter | Shows only |
|---|---|
dns | DNS lookups and replies |
http | Plain HTTP traffic |
tcp | TCP packets, including handshakes |
arp | ARP requests and replies |
ip.dst == 192.168.31.1 | Packets going to that IP |
ip.addr == 192.168.31.1 | Packets to or from that IP |
tcp.dstport == 443 | Packets going to port 443 |
tcp.flags.syn == 1 && tcp.flags.ack == 0 | Only the first SYN of each handshake |
See what you learned, live
- Start a capture on your Wi-Fi or Ethernet interface.
- Open a website in your browser.
- Filter
dns: you'll see the query asking for the site's IP, and the reply with the answer (lesson 9). - Filter
tcp: find the three packets marked [SYN], [SYN, ACK], [ACK], in that exact order. That's the 3-way handshake from lesson 8.
Capture only your own traffic, on networks you own or are allowed to monitor. Before sharing a screenshot, blur real IP and MAC addresses.
The screen I couldn't read back then, you can read now. That's the difference learning networking makes. Open Wireshark today and try these filters.
Key takeaways
- Each Wireshark row is one packet: source, destination, protocol, info.
- Display filters show only what you need: dns, http, tcp, arp.
- ip.dst == IP filters by destination; tcp.dstport == port by port.
- Capture only your own traffic, and blur real addresses before sharing.
Quick quiz
Pick an answer to check yourself. Answer both to mark this lesson done.
1. Which filter shows only DNS packets in Wireshark?
- A) dns
- B) ip
- C) mac
- D) port
Show answer
Answer: A. Typing a protocol name (dns, http, tcp) in the filter bar shows only those packets.
2. Which filter shows only packets going to port 443?
- A) http
- B) tcp.dstport == 443
- C) ip.dst == 443
- D) dns == 443
Show answer
Answer: B. tcp.dstport == 443 shows packets whose TCP destination port is 443. ip.dst is for IP addresses.
Frequently asked questions
What is Wireshark used for?
Wireshark captures and shows the packets travelling over a network, so you can see protocols like DNS, TCP and HTTP in action and troubleshoot or investigate traffic.
What is the Wireshark filter for an IP address?
ip.addr == 192.168.31.1 shows packets to or from that IP; ip.dst and ip.src show only one direction.
Is it legal to use Wireshark?
Yes, on your own network and traffic, or where you have permission. Capturing other people's traffic without permission is not.