For the packet-curious

Three small captures. Three things to discover.

A slow DNS lookup. A file crossing the wire. A hostname in a TLS hello. Pick a question and follow the packets yourself.

Updated Free synthetic capturesNo account needed

Start with a small capture

Each download below is about 1 KB or less. We generated the packets offline using fictional .test hostnames and documentation addresses. You can open them in Wireshark, the free Netcap Core, or NETCAP Pro.

For the command-line walkthrough, install Core, download a capture, and run the commands from that folder. They were checked against Netcap v0.16.12. No enrichment databases are needed.

Prefer a browser interface? Core includes one.

Start a local interface using the DNS capture:

Terminal · run from your download folder
net capture -read dns-retries.pcap -out dns-browser \
  -dpi=false -geoDB=false -http 127.0.0.1:8080

Open http://127.0.0.1:8080 and sign in at /auth with the per-run token printed in your terminal. Stop it with Ctrl-C. Use a new output directory each time.

Capture 1 · DNS · 5 packets

Why did that lookup take so long?

Five packets, two names, and a retry hiding behind an innocent-looking RTT.

Download dns-retries.pcap 546 bytes ↓

Compare the answer's RTT with the time of the very first query.

Terminal · run from your download folder
net capture -read dns-retries.pcap -out dns-retries-audit -dpi=false -geoDB=false
net dump -read dns-retries-audit/DNS.ncap.gz -json
Show the walkthrough

The printer lookup was sent twice. Its answer arrived 520 ms after the first query, but only 20 ms after the retry. Netcap reports that last interval as RTT; QueryTransmissions: 2 gives you the missing context.

{ "TransactionStatus": "answered", "QueryTransmissions": 2, "RTT": 20000000 }

RTT is in nanoseconds: 20000000 is 20 ms. Compare packet timestamps to measure the full 520 ms wait. The other lookup completes in 12 ms with one transmission.

In Wireshark, try the display filter dns and compare the packet times.

Capture 2 · HTTP · 11 packets

Can you recover what was downloaded?

Follow a DNS answer into an HTTP request and recover a 24-byte text file.

Download http-file.pcap 1,076 bytes ↓

The useful trail is DNS → HTTP → File. Check the response length and the extracted bytes.

Terminal · run from your download folder
net capture -read http-file.pcap -out http-file-audit -dpi=false -geoDB=false
net dump -read http-file-audit/HTTP.ncap.gz -json
Show the walkthrough

The server returned hello.txt: Hello, packet explorer! followed by a newline. Netcap writes a complete File record and extracts the same 24 bytes. Compare its SHA-256 with the supplied reference file.

{ "Method": "GET", "URL": "/hello.txt", "StatusCode": 200, "ResContentLength": 24 }

Inspect the File record as well:

Terminal · run from your download folder
net dump -read http-file-audit/File.ncap.gz -json

Check IsComplete, Length, and Hashes.SHA256. The extracted file lives under http-file-audit/files/; the File record gives its exact location. Compare it with the reference hello.txt.

Expected SHA-256: 51e75b08a1c9ef9edcd25fc212e86142aec31d2bc5349937f9968f3d2cbefa85

In Wireshark, try the display filter tcp.port == 8080 and compare the packet times.

Capture 3 · TLS · 11 packets

What does a TLS hello give away?

Read the hostname and offered application protocol without decrypting anything.

Download tls-hello.pcap 1,041 bytes ↓

Look at SNI and ALPNs. An offered protocol is different from a captured HTTP request.

Terminal · run from your download folder
net capture -read tls-hello.pcap -out tls-hello-audit -dpi=false -geoDB=false
net dump -read tls-hello-audit/TLSClientHello.ncap.gz -json
Show the walkthrough

The ClientHello names updates.packetlab.test and offers http/1.1 through ALPN. The ServerHello selects a TLS 1.2 cipher. This small capture stops after the hellos: it contains no certificate, completed handshake, or application request.

{ "SNI": "updates.packetlab.test", "ALPNs": ["http/1.1"], "HandshakeVersion": 771 }

Port 443 alone does not tell you the application. Here the actual hello contains SNI and ALPNs. The offered http/1.1 value is a clue about the client's intentions; this capture contains no HTTP request.

In Wireshark, try the display filter tls.handshake and compare the packet times.

Now try something you're curious about

A chatty device, a connection you don't recognize, or a slow name lookup is a good starting point. The first-capture guide shows how to record and inspect your own traffic. The file-transfer walkthrough follows a real HTTP download on your LAN.

Capture sources and checksums

These examples are generated by website/scripts/generate-samples.py in the website repository. The sample manifest records packet counts, file sizes, and SHA-256 hashes. The TLS sample contains hello metadata only.