Packet sniffing tools capture network traffic and decode it so you can see what is happening on the wire. Wireshark is best for interactive analysis, tcpdump for servers and scripts, TShark for command-line work, and Zeek for turning traffic into searchable logs. Sniffing your own network with permission is legal and essential for troubleshooting; sniffing traffic you do not own is illegal in most countries.
Key takeaways
- Packet sniffing tools capture traffic and decode it protocol by protocol, so you can see exactly what crossed the wire.
- Wireshark is best for interactive analysis, tcpdump for servers, TShark for scripting, and Zeek for network-wide logging.
- Only sniff networks you own or have explicit permission to test, and keep captures encrypted and short-lived.
When a network problem resists every dashboard and log file, there is one place left to look: the wire itself. Packet sniffing tools capture the actual data travelling across a network and decode it, packet by packet, so you can see exactly what happened — a failed handshake, a retransmission storm, a device talking to a server it should never reach.
What is packet sniffing?
Packet sniffing is the capture and inspection of network traffic as it travels across a link. A packet sniffing tool puts a network interface into a mode where it receives packets, records them, and decodes each one by protocol — Ethernet, IP, TCP, DNS, HTTP and thousands more.
Every packet carries a header and a payload. The header says where the packet came from, where it is going and which protocol it belongs to. The payload carries the actual data. A sniffer shows you both, which is why it is the most direct troubleshooting tool in networking — and also why it must be used with permission and care.
Sniffing is not the same as flow monitoring. Flow records summarize conversations; a packet capture shows the conversations themselves. That is why a sniffer is the tool you reach for when a network traffic monitor tells you something is wrong but not what is wrong.
How does packet sniffing work?
A sniffer works in four steps: capture, decode, filter and analyse. First it grabs raw frames from a network interface, usually through a capture library such as libpcap on Linux and macOS or Npcap on Windows. Then it decodes each frame layer by layer, from Ethernet up through IP, TCP and the application protocol.
Filtering is what makes a capture usable. A busy network can produce millions of packets a minute, so you filter by host, port or protocol — for example, only DNS traffic from one server — either while capturing or afterwards. Analysis is the human part: following a TCP stream, checking handshake timing, or spotting the retransmissions that explain a slow application.
To capture traffic that is not addressed to your own machine, you need access to it. On a switched wired network that means a mirror port (SPAN) or a TAP device that copies traffic to your capture port. On Wi-Fi it means monitor mode, which needs a wireless card that supports it. Without one of these, you only see your own traffic and broadcasts.
Is packet sniffing legal?
Sniffing a network you own, or one you have explicit written permission to test, is legal and is a normal part of network administration and security work. Intercepting traffic on a network you do not own or have no permission to inspect is illegal in most countries, including under the US Wiretap Act and the UK Computer Misuse Act.
The line is permission, not technology. Your home network, your company's network with authorization, and a lab you built are all fine. A coffee shop's Wi-Fi, a neighbor's network or a corporate network you have not been asked to test are not. Employers also have rules: many require that captures be approved, limited in scope and deleted after the investigation.
Handle captures like the sensitive data they are. A PCAP file can contain passwords sent in plain text, session tokens, emails and private messages. Store captures encrypted, share them only with people who need them, and delete them when the investigation ends. If you suspect your own traffic is being sniffed, our guide to securing your Wi-Fi covers the defenses.
What are the best packet sniffing tools in 2026?
The right tool depends on the job. Wireshark is the reference interactive analyser, tcpdump is the standard for servers, TShark brings Wireshark's decoding to scripts, and Zeek turns traffic into logs for a whole network. The table below compares the ten best tools.
| Tool | Best for | Platforms | Price | Key strength |
|---|---|---|---|---|
| Wireshark | Interactive analysis | Windows, macOS, Linux | Free, open source | Deepest protocol decoding |
| tcpdump | Servers and SSH | Linux, macOS, BSD | Free, open source | Command-line capture |
| TShark | Scripted analysis | Windows, macOS, Linux | Free, open source | Wireshark filters in scripts |
| Zeek | Network-wide logging | Linux, macOS, BSD | Free, open source | Structured connection logs |
| Arkime | Large-scale capture storage | Linux | Free, open source | Searchable session archive |
| NetworkMiner | Extracting files from captures | Windows, Linux | Free; Pro $1,300 | Hosts, files and credentials |
| Sniffnet | Beginners | Windows, macOS, Linux | Free, open source | Simple live traffic view |
| Scapy | Packet crafting in Python | Windows, macOS, Linux | Free, open source | Forge, send and decode packets |
| Kismet | Wireless sniffing | Linux, macOS | Free, open source | Wi-Fi and sensor capture |
| pktmon | Windows, nothing to install | Windows 10, 11, Server | Free, built in | Shows where packets drop |
Wireshark — the reference packet analyser
Wireshark is the free, open-source protocol analyser that remains the reference tool for interactive packet work. It opens many capture formats, decodes a broad protocol set, filters on decoded fields, follows streams, exposes expert information and provides detailed statistics and TCP graphs. The download page lists 4.6.9 as the stable release, with 5.0.0 in testing as of November 2026.
Choose Wireshark when an experienced analyst needs unrestricted control over packets and edge cases, as the PacketSafari comparison puts it. Its main weakness is scale: it is a workbench for one capture at a time, not a system for storing weeks of traffic. That job belongs to Arkime or Zeek.
tcpdump — the server standard
On a server you reach over SSH, tcpdump is the usual first move. It is a command-line sniffer built on libpcap, the same capture library Wireshark uses on Linux and macOS. The tcpdump home page lists 4.99.7 as the stable release, dated September 21, 2026. Capture on the server, copy the file down, and open it in Wireshark for analysis.
TShark — Wireshark for the command line
TShark is Wireshark's own command-line version and installs with it. It captures live traffic or reads saved captures, applies the same display-filter syntax, and exports results for scripts and automation. Termshark adds a terminal interface on top of TShark for interactive use over SSH.
Zeek — from packets to logs
Zeek takes a different approach: instead of showing packets, it turns traffic into structured logs of connections, DNS queries, HTTP requests and files. That makes it the best tool for watching a whole network over time and for hunting through history. Zeek 9.0.1 is the current long-term release, dated October 26, 2026.
Arkime — full packet capture at scale
Arkime, formerly Moloch, stores and indexes weeks of full packet capture so analysts can search sessions and export the packets behind any finding. It is free and open source, and it is the standard choice when an investigation needs the original packets, not just logs.
NetworkMiner — pull evidence out of a capture
NetworkMiner, from Netresec, sorts a capture by host, file and session instead of by packet. Load a PCAP and it lists the images, documents and certificates that crossed the wire, plus any credentials it can extract. Version 3.2 shipped on October 7, 2026, and the Professional edition costs $1,300.
Sniffnet — the beginner-friendly sniffer
For people who opened Wireshark once and closed it, Sniffnet is the gentler option. It is a desktop app that shows which hosts your computer is talking to, how much traffic each one uses and which programs generate it. It is free and open source, and it is a good way to learn what normal traffic looks like before diving into Wireshark.
Scapy — packet crafting in Python
Scapy is a Python packet tool that forges, decodes, sends, captures and matches packets. It is less a sniffer than a laboratory: security testers use it to build unusual packets, test how devices respond, and automate capture and analysis in scripts.
Kismet — wireless sniffing
Kismet is a wireless sniffer for Linux and macOS that captures Wi-Fi and sensor data, including networks that are not broadcasting their names. It is the tool for auditing wireless coverage and spotting rogue access points, and it works on Windows through the Windows Subsystem for Linux.
pktmon — packet capture built into Windows
pktmon is built into Windows 10, Windows 11 and Windows Server 2016 to 2025, so there is nothing to install. It captures, filters and counts packets, and it reports where in the Windows networking stack a packet was dropped — which helps with container networking and software-defined networking problems that a normal sniffer cannot see.
How do you capture packets with Wireshark?
A first capture takes five minutes and follows the same steps on Windows, macOS and Linux. You do not need to understand every protocol to get value from it — start narrow and expand.
- Pick the right interface. Choose the network connection carrying the traffic you care about — usually Wi-Fi or Ethernet — and start a capture.
- Reproduce the problem. While capturing, do the thing that fails: load the page, make the call, run the sync. Then stop the capture.
- Filter to the conversation. Use a display filter such as
ip.addr == 192.0.2.10ordnsto cut the capture down to the traffic that matters. - Follow the stream. Right-click a packet and choose Follow TCP Stream to see the whole conversation in order.
- Read the expert information. Wireshark flags retransmissions, duplicate acknowledgements and malformed packets — start there.
Save the capture as a PCAP file if you need to share it or analyse it later. The PacketSafari 2026 comparison is a good next step if you want to compare Wireshark with the wider analysis tools, including Zeek, Arkime and Suricata.
What are the common mistakes with packet sniffing?
Most bad captures come from the same few mistakes. Avoid them and your first capture will usually show you the answer.
- Capturing everything. A filter written before you start is worth an hour of scrolling afterwards.
- Capturing on the wrong interface. VPNs, virtual machines and containers each have their own interfaces — check which one carries the traffic.
- Forgetting the time window. Start the capture, reproduce the problem, stop the capture. A ten-minute capture of a five-second fault is mostly noise.
- Reading encrypted payloads as errors. TLS traffic looks like random bytes by design. Check the handshake and the timing, not the payload.
- Keeping captures too long. Captures contain sensitive data. Delete them when the investigation ends, and never email an unencrypted PCAP.
If you are investigating a possible intrusion rather than a fault, treat the capture as evidence: note the time, the interface and the filter used, and store the file securely. Our spear phishing guide explains how attackers use stolen credentials, which is often what a suspicious capture reveals.
The bottom line
Packet sniffing tools are the last resort that actually works: when dashboards and logs cannot explain a problem, the packets can. Wireshark is the tool to learn first, tcpdump and TShark cover servers and scripts, and Zeek and Arkime watch whole networks over time.
Learn on your own network, filter before you capture, and treat every PCAP as sensitive data. If you want a broader view of what is crossing your network day to day, start with our best network traffic monitor guide.
Frequently asked questions
What is a packet sniffing tool?
A packet sniffing tool, also called a packet sniffer or protocol analyser, captures the data packets travelling across a network and displays them in readable form. It shows source and destination addresses, protocols, timing and, where the traffic is not encrypted, the contents of each packet.
Is packet sniffing legal?
Sniffing a network you own, or one you have explicit written permission to test, is legal and is a normal part of network administration. Intercepting traffic on a network you do not own or have no permission to inspect is illegal in most countries, including under the US Wiretap Act and the UK Computer Misuse Act.
What is the difference between Wireshark and tcpdump?
Wireshark is a graphical analyser with deep protocol decoding, filters and statistics, built for interactive investigation. tcpdump is a command-line capture tool built on the same libpcap library, best for servers, scripts and capturing over SSH. TShark is Wireshark's own command-line version.
Can packet sniffing tools see encrypted traffic?
They can see that encrypted traffic exists, including source, destination, timing and size, but not the contents. With the session keys, for example from a browser key log you control, Wireshark can decrypt TLS traffic you own for troubleshooting.
What is the best packet sniffing tool for beginners?
Sniffnet is the gentlest starting point: it shows which hosts your computer talks to and how much traffic each one uses. Wireshark is the tool to learn next, because its skills transfer to every other analyser.
Do I need a special network card to sniff packets?
For most troubleshooting on your own machine, no. For capturing other devices' traffic on Wi-Fi, you need a card that supports monitor mode, and on a wired network you need a mirror port, a TAP device or a hub that forwards the traffic to your capture machine.
What is a PCAP file?
A PCAP file is a saved packet capture, usually with a .pcap or .pcapng extension. It contains the raw packets plus timestamps, so you can open it later in Wireshark, share it with a colleague, or analyse it with tools such as Zeek, Arkime or NetworkMiner.
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 2026 packet capture comparisons from Startup Stash, PacketSafari and MEFMobile, and the vendors' published release notes.
How we write and fact-check →