Use it to read a capture — your own or one made with tcpdump or pktmon — and find where a conversation goes wrong.
Wireshark
Wireshark captures and decodes network traffic. Capture filters (host 10.0.0.5) decide what is recorded; display filters (tcp.port==443) decide what is shown afterwards.
1. Filter on the client and server: ip.addr==<client> && ip.addr==<server>.
2. Follow the TCP stream of the failing conversation.
3. Did the handshake complete? Who answered, and how quickly?
4. tcp.analysis.flags — retransmissions, zero windows, resets?
5. Who ended the conversation, with FIN or RST?
capture taken on the right interface → conversation isolated → handshake checked → data and acknowledgments read → problems flagged by analysis → conclusion tied to timestamps
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Capturing on a switch port that does not see the traffic.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Isolate one conversation first: right-click → Follow → TCP Stream, or tcp.stream eq <n>. Expert Information lists retransmissions, resets and zero windows. Capture and display filter syntax are different. Turn off name resolution to see real addresses.
- Display filter
ip.addr==<ip> && tcp.port==<port>— one host and port. tcp.stream eq <n>— one TCP conversation.tcp.analysis.flags— every packet Wireshark marks as a problem.tcp.flags.reset==1— resets.- Statistics → Conversations — who talked to whom, and how much.
- Analyze → Expert Information — problems by type.
ReferenceWhy it matters1 section · depth on demand
Useful filters
| Capture filter (BPF) | Display filter |
|---|---|
host 10.0.0.5 | ip.addr == 10.0.0.5 |
port 443 | tcp.port == 443 |
not port 3389 | !(tcp.port == 3389) |
net 10.10.0.0/16 | ip.addr == 10.10.0.0/16 |
Handy display filters: tcp.analysis.retransmission, tcp.flags.reset == 1, dns.flags.rcode != 0, tls.handshake.type == 1. Capture on the right side of the problem (client and server if possible) and note the time and test you ran. Command-line capture: dumpcap -i 1 -f "host 10.0.0.5" -w c:\temp\cap.pcapng.
ReferenceHow it works1 section · depth on demand
In depth
Wireshark on Windows uses Npcap for capture. Useful display filters for Windows troubleshooting:
| Filter | Shows |
|---|---|
smb2 | SMB traffic |
kerberos / kerberos.error_code | Kerberos and errors (e.g. KDC_ERR_S_PRINCIPAL_UNKNOWN) |
dns.flags.rcode != 0 | Failed DNS responses |
tcp.analysis.retransmission | Retransmits |
tcp.flags.reset == 1 | Resets |
ldap | LDAP binds/searches |
Capture filters (host 10.0.10.20 and port 445) keep files small on busy servers. Encrypted protocols (SMB 3 encryption, TLS) hide payloads — look at handshakes and timing.
ReferenceImportant terms & boundaries1 section · depth on demand
Capture filters vs display filters
| Capture filter (BPF) | Display filter |
|---|---|
host 10.0.0.5 | ip.addr == 10.0.0.5 |
port 443 | tcp.port == 443 |
not arp | !arp |
tcp[tcpflags] & tcp-syn != 0 | tcp.flags.syn == 1 && tcp.flags.ack == 0 |
Capture filters reduce what is saved; display filters only hide packets.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network Troubleshooting → Wireshark. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%