Theory · 7 min · Network monitoring
Packet captures and Wireshark filters
Write the display filter that finds what you need in a capture.
A packet capture (pcap) holds every byte that crossed the sensor. Wireshark reads it; display filters narrow thousands of packets to the few that matter.
Filters use field names: ip.addr == 10.0.0.5, dns.qry.name contains "example", http.request.method == "POST", tcp.flags.syn == 1 && tcp.flags.ack == 0 for connection attempts.
For HTTPS the content is encrypted, but the TLS handshake still shows the server name: tls.handshake.extensions_server_name.
Follow TCP Stream rebuilds a conversation; Export Objects can pull files out of unencrypted HTTP. Handle extracted files as malware.
Your turn: match observations. Which display filter finds each thing?
Do the interactive check Free, in the browser.