Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Wireshark

Direct answer

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.

When to use this

Use it to read a capture — your own or one made with tcpdump or pktmon — and find where a conversation goes wrong.

First 30 seconds

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?

Operational verification

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
Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Scope / prerequisiteUse it to read a capture — your own or one made with tcpdump or pktmon — and find where a conversation goes wrong.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points

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.

Key checks
  • 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.5ip.addr == 10.0.0.5
port 443tcp.port == 443
not port 3389!(tcp.port == 3389)
net 10.10.0.0/16ip.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:

FilterShows
smb2SMB traffic
kerberos / kerberos.error_codeKerberos and errors (e.g. KDC_ERR_S_PRINCIPAL_UNKNOWN)
dns.flags.rcode != 0Failed DNS responses
tcp.analysis.retransmissionRetransmits
tcp.flags.reset == 1Resets
ldapLDAP 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.5ip.addr == 10.0.0.5
port 443tcp.port == 443
not arp!arp
tcp[tcpflags] & tcp-syn != 0tcp.flags.syn == 1 && tcp.flags.ack == 0

Capture filters reduce what is saved; display filters only hide packets.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

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%
Confirmation

Confirm action

Continue?