talira

Wireshark

The world's leading network protocol analyzer

open sourceGPL-2.0-onlyself-hostablefree

Wireshark is a network packet analyzer: it captures live traffic from Ethernet, Wi-Fi, Bluetooth, USB and other interfaces, or opens capture files from tcpdump and many other tools, and decodes each packet in detail with dissectors for hundreds of protocols. Its three-pane browser, display filters, coloring rules, statistics and VoIP analysis make it the standard tool for troubleshooting networks and debugging protocol implementations, and it can decrypt TLS, IPsec, Kerberos, WPA/WPA2 and other protocols when given the keys. The same engine runs in TShark, a terminal packet analyzer, alongside dumpcap and editcap, and dissectors can be written in Lua or C. Started by Gerald Combs as Ethereal in 1998 and renamed in 2006, it's GPLv2 and has been run by the non-profit Wireshark Foundation since 2023.

Ways to install

Problems it solves

  • see exactly what packets are going over the network when an app can't connect
  • inspect HTTP and TLS traffic from my machine to debug an API client
  • open a pcap file from tcpdump on a server and dig into it with a GUI
  • capture traffic on the command line on a headless server and filter it like a GUI would
  • figure out why VoIP calls have choppy audio by analyzing the RTP streams
  • debug my own network protocol implementation byte by byte
  • decrypt captured TLS traffic using the browser's key log file
  • learn how TCP handshakes and DNS lookups actually work by watching real packets
  • find which device on the LAN is flooding the network with broadcasts
  • analyze Wi-Fi frames to troubleshoot wireless connection problems
  • write a custom dissector for our proprietary protocol in Lua
  • convert or trim huge capture files between formats
  • investigate suspicious traffic after a security incident
  • measure TCP retransmissions and latency between two hosts
  • look at Bluetooth or USB traffic from a device I'm reverse engineering

Features

  • deep inspection of hundreds of protocols
  • live capture and offline analysis
  • standard three-pane packet browser
  • display filters, capture filters and coloring rules
  • TShark terminal analyzer, dumpcap capture tool and editcap
  • rich VoIP analysis
  • reads and writes pcap, pcapng and many other capture file formats; gzip captures decompressed on the fly
  • live capture from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI and more
  • decryption for IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP and WPA/WPA2
  • statistics, and export to XML, PostScript, CSV or plain text
View 2 more
  • embedded Lua for dissectors, taps and capture file readers and writers; C plugins
  • capture isolated in dumpcap so the GUI doesn't run as root

Limitations

  • Not an intrusion detection system: Wireshark won't warn you when someone does strange things on your network3
  • Doesn't send packets or change traffic: it only captures and measures what's on the network3
  • Packet analysis doesn't use multiple CPU cores: it's single-threaded, and Wireshark crashes if a large capture runs it out of memory4

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Wireshark does.

  1. tcpdump A powerful command-line packet analyzer
  2. Kubeshark Network Observability for SREs & AI Agents
  3. ngrep grep applied to the network layer
  4. Termshark A terminal UI for tshark, inspired by Wireshark
  5. Sniffnet Desktop app to monitor your network traffic
  6. SIPCAPTURE HOMER 100% open source SIP, VoIP and RTC packet capture and monitoring

Compare Wireshark with the top 3