A network protocol analyzer captures network traffic and decodes it into readable protocols, so you can see what hosts talk to each other, what they send, and where things break. Wireshark is the best all-around analyzer because it is free, open source, and decodes hundreds of protocols with a graphical interface, while tcpdump is the best choice for quick captures on headless servers.
Key takeaways
- Wireshark is the standard graphical analyzer, and tcpdump is its command-line counterpart for servers.
- Pick by job: live troubleshooting, long-term capture, forensics, or Wi-Fi each point to a different tool.
- Only capture traffic you own or are authorized to inspect, and keep captures encrypted because they contain passwords and data.
When a website will not load, a video call stutters, or a server stops answering, guessing rarely helps. A network protocol analyzer shows you the traffic itself — which devices are talking, which protocols they use, and exactly where the conversation breaks down.
What is a network protocol analyzer?
A network protocol analyzer, also called a packet analyzer or packet sniffer, captures network traffic and decodes it into readable protocols such as TCP, UDP, DNS, HTTP, and TLS. Instead of a blinking light, you see individual packets with their source, destination, and contents.
Analyzers work by putting a network interface into a mode where it sees traffic passing by, or by capturing on a mirror port or a VPN interface. They then apply dissectors — code that understands each protocol — to turn raw bytes into fields you can read and filter.
Network engineers use them to troubleshoot, security analysts use them to investigate incidents, and developers use them to see what their app actually sends. The same tool serves all three jobs, which is why one analyzer, Wireshark, dominates the field.
How does a protocol analyzer work?
Capture comes first, analysis second. The analyzer records packets to a file, usually in pcap or pcapng format, and then lets you filter, search, and follow individual conversations through that recording.
Two filter languages matter. Capture filters decide what gets recorded, using Berkeley Packet Filter expressions such as tcp port 443. Display filters decide what you see afterwards, such as http.response.code == 404 in Wireshark. Capture filters save disk space; display filters save your attention.
Most traffic today is encrypted with TLS, so an analyzer usually cannot read message contents. It can still see the destination, the timing, the packet sizes, and whether the handshake succeeded — often enough to find the problem.
Which protocol analyzer should you use?
Pick by job, not by brand. A graphical analyzer is best for a slow investigation, a command-line tool is best on a server, and a log-based tool is best for watching a whole network over weeks.
| Tool | Best for | Price | Platforms |
|---|---|---|---|
| Wireshark | Deep packet inspection | Free, open source | Windows, macOS, Linux |
| tcpdump | Quick captures on servers | Free, open source | Linux, macOS, BSD |
| TShark | Wireshark's engine in a terminal | Free, open source | Windows, macOS, Linux |
| termshark | Wireshark-style UI in a terminal | Free, open source | Windows, macOS, Linux |
| Zeek | Network logs for a whole network | Free, open source | Linux, macOS, FreeBSD |
| NetworkMiner | Pulling files from a capture | Free; Professional $1,300 | Windows; Linux via Mono |
| Sniffnet | Simple live view of your own traffic | Free, open source | Windows, macOS, Linux |
| pktmon | Windows captures with no install | Free, built into Windows | Windows 10, 11, Server |
| Arkime | Storing weeks of full capture | Free, open source | Linux, FreeBSD |
| Colasoft Capsa | Paid Windows analyzer with support | Free tier; Enterprise from $1,295 | Windows |
Free tools cover nearly every job here. Paid tools earn their price through support, Wi-Fi capture hardware, or long-term storage — not through basic decoding. A recent comparison of Wireshark alternatives reaches the same conclusion: start free, and pay only for a job the free tools cannot do.
What is Wireshark, and why is it the standard?
Wireshark is a free, open-source network protocol analyzer with a graphical interface, first released in 1998. It is the industry standard for deep protocol analysis because it decodes hundreds of protocols, supports powerful display filters, and reads capture files from almost every other tool.
The download page lists 4.6.9 as the stable release, with 5.0.0 in testing as of November 2026. Installers are available for Windows, macOS, and Linux. Its three-pane view — packet list, packet details, and packet bytes — is the layout every other graphical analyzer copies.
Wireshark's real strength is its dissector library and its filter language. You can follow a TCP stream to reconstruct a whole conversation, flag retransmissions and out-of-order packets, and graph response times. If you only learn one analyzer, learn this one.
TShark and termshark: Wireshark without the GUI
TShark is Wireshark's own command-line version and installs with it. It uses the same dissector library and the same display filters, so a capture you take with TShark on a server opens cleanly in Wireshark on your laptop.
Termshark adds a terminal interface on top of TShark, giving you a Wireshark-style view over SSH. Use TShark for scripted captures and termshark when you want to browse traffic interactively on a remote machine.
What is tcpdump, and when should you use it?
tcpdump is a command-line packet capture tool built on libpcap, the same capture library Wireshark uses on Linux and macOS. It is the usual first move on a server you reach over SSH: one command captures traffic to a file you can analyze later.
The current stable release is 4.99.7, dated September 21, 2026. A typical capture looks like tcpdump -i eth0 -w capture.pcap 'tcp port 443', which records HTTPS traffic to a file. Copy that file to your laptop and open it in Wireshark, NetworkMiner, or Zeek.
Use tcpdump when the question is simple — is any traffic reaching this port at all — or when the machine has no desktop. Its small footprint and ubiquity make it the fastest triage tool on a Linux or BSD server, a point recent Wireshark-alternative testing also makes for first-line triage.
How do Zeek and Arkime handle whole networks?
Zeek, formerly Bro, is a free, open-source network security monitor that reads packets and outputs structured logs: one log per connection, one for DNS, one for HTTP, and so on. Instead of storing every packet, it stores what the packets meant.
That makes Zeek the right tool for watching a whole network over days or weeks. You can search its logs for a suspicious domain, a strange connection, or a host talking to an unusual country, without opening a multi-gigabyte capture file.
Arkime takes the opposite approach: it stores full packet capture for weeks and lets you search it by session. It is free and open source, runs on Linux, and suits teams that need to go back and inspect the actual packets after an incident is found.
Which tools are best for forensics?
NetworkMiner is the forensic-first choice. Instead of sorting a capture by packet, it sorts it by host, file, and session, and it can extract files, images, and credentials transferred in the capture. The free version covers the basics; the Professional edition costs $1,300.
For Wi-Fi investigations, Omnipeek supports multi-channel Wi-Fi capture with vendor support, but it is priced by quote. On Android, PCAPdroid captures app traffic without root and is free and open source.
For quick Windows triage, pktmon is already installed. Microsoft's earlier tools, Network Monitor and Message Analyzer, are no longer developed, and Message Analyzer downloads were removed in 2019. The capture tool Microsoft still ships is Packet Monitor, or pktmon.exe, which comes with Windows 10, 11, and Server 2016 to 2025.
How do you use a protocol analyzer safely and legally?
Only capture traffic you own or are authorized to inspect. On a work network, get written permission first. On a home network, you may capture your own devices, but think twice before capturing guests' traffic.
- Get permission in writing before capturing on any network that is not yours.
- Capture as little as possible. Filter by host or port so you do not collect other people's traffic by accident.
- Protect the capture file. Pcap files can contain passwords, session tokens, and personal data — store them encrypted and delete them when done.
- Do not share captures publicly. Scrub IP addresses and payloads before posting a capture for help.
- Check your employer's policy. Many companies restrict who may run analyzers and where captures may be stored.
Before you capture, confirm the basics with lighter tools: check your public address with our what is my IP tool.
Look up a domain with the DNS lookup as well. Many problems turn out to be DNS or routing, not packets.
What mistakes do beginners make with protocol analyzers?
The biggest mistake is capturing everything. On a busy network, an unfiltered capture fills a disk in minutes and buries the answer in noise. Always filter by host, port, or protocol before you start.
The second mistake is forgetting that most traffic is encrypted. If you open a capture expecting to read messages, you will find TLS handshakes instead. Learn to read the metadata — timing, sizes, destinations, and errors — because that is where the answers live now.
The third mistake is capturing on the wrong interface. On a laptop with Wi-Fi, Ethernet, and a VPN, each interface sees different traffic. Check which interface carries the traffic you care about before you start, and confirm the problem is not your own Wi-Fi with our guide to securing your Wi-Fi.
The bottom line
For most people, Wireshark plus tcpdump covers everything: Wireshark for deep inspection on your laptop, tcpdump for quick captures on servers. Add Zeek when you need network-wide logs, and NetworkMiner when you need to pull files out of a capture.
Start small, filter early, and capture only what you are authorized to see. You can check the network basics first with the free what-is-my-IP tool.
Frequently asked questions
What is a network protocol analyzer?
A network protocol analyzer is a tool that captures network traffic and decodes it into protocols such as TCP, UDP, DNS, HTTP, and TLS, so you can inspect individual packets. It is also called a packet analyzer or packet sniffer.
What is the best network protocol analyzer?
Wireshark is the best all-around choice for most people because it is free, open source, and decodes hundreds of protocols in a graphical interface. For servers without a desktop, tcpdump is the standard command-line option.
What is the difference between Wireshark and tcpdump?
Wireshark is a graphical analyzer for deep inspection of captured traffic, while tcpdump is a command-line capture tool for servers. Both use the same capture library, libpcap, and tcpdump captures can be opened in Wireshark for analysis.
Are protocol analyzers legal to use?
They are legal on networks you own or are authorized to monitor, such as your home network or your employer's network with permission. Capturing other people's traffic without authorization can break wiretapping and computer misuse laws, so get written permission first.
Can Wireshark see encrypted traffic?
Wireshark can see that encrypted traffic exists, including the destination, timing, and size, but it cannot read the contents of TLS-encrypted traffic unless you have the session keys. That is why it is still useful for troubleshooting even on encrypted networks.
What is the difference between a protocol analyzer and a flow analyzer?
A protocol analyzer inspects individual packets and their contents, while a flow analyzer summarizes traffic by connection, such as who talked to whom and how much data moved. Zeek sits between the two: it reads packets but outputs structured logs instead of raw packet lists.
Do I need a protocol analyzer to fix slow Wi-Fi?
Usually not. Start with the basics: check signal strength, channel congestion, and whether the problem is the Wi-Fi or the internet connection. A protocol analyzer helps only when you need to see exactly which device is sending what, such as a device flooding the network.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Wireshark and tcpdump release notes and 2026 protocol analyzer comparisons.
How we write and fact-check →