Table of Contents
- Preface
- 1. Introduction
- 2. Building and Installing Wireshark
- 3. User Interface
- 3.1. Introduction
- 3.2. Start Wireshark
- 3.3. The Main window
- 3.4. The Menu
- 3.5. The “File” Menu
- 3.6. The “Edit” Menu
- 3.7. The “View” Menu
- 3.8. The “Go” Menu
- 3.9. The “Capture” Menu
- 3.10. The “Analyze” Menu
- 3.11. The “Statistics” Menu
- 3.12. The “Telephony” Menu
- 3.13. The “Wireless” Menu
- 3.14. The “Tools” Menu
- 3.15. The “Help” Menu
- 3.16. The “Main” Toolbar
- 3.17. The “Filter” Toolbar
- 3.18. The “Packet List” Pane
- 3.19. The “Packet Details” Pane
- 3.20. The “Packet Bytes” Pane
- 3.21. The “Packet Diagram” Pane
- 3.22. The Statusbar
- 4. Capturing Live Network Data
- 4.1. Introduction
- 4.2. Prerequisites
- 4.3. Start Capturing
- 4.4. The “Capture” Section Of The Welcome Screen
- 4.5. The “Capture Options” Dialog Box
- 4.6. The “Manage Interfaces” Dialog Box
- 4.7. The “Compiled Filter Output” Dialog Box
- 4.8. Capture files and file modes
- 4.9. Link-layer header type
- 4.10. Filtering while capturing
- 4.11. While a Capture is running …
- 5. File Input, Output, And Printing
- 5.1. Introduction
- 5.2. Open Capture Files
- 5.3. Saving Captured Packets
- 5.4. Merging Capture Files
- 5.5. Import Hex Dump
- 5.6. File Sets
- 5.7. Exporting Data
- 5.7.1. The “Export Specified Packets” Dialog Box
- 5.7.2. The “Export Packet Dissections” Dialog Box
- 5.7.3. The “Export Selected Packet Bytes” Dialog Box
- 5.7.4. The “Export PDUs to File…” Dialog Box
- 5.7.5. The “Strip Headers…” Dialog Box
- 5.7.6. The “Export TLS Session Keys…” Dialog Box
- 5.7.7. The “Export Objects” Dialog Box
- 5.8. Printing Packets
- 5.9. The “Packet Range” Frame
- 5.10. The Packet Format Frame
- 6. Working With Captured Packets
- 6.1. Viewing Packets You Have Captured
- 6.2. Pop-up Menus
- 6.3. Filtering Packets While Viewing
- 6.4. Building Display Filter Expressions
- 6.4.1. Display Filter Fields
- 6.4.2. Comparing Values
- 6.4.3. Combining Expressions
- 6.4.4. Slice Operator
- 6.4.5. The Layer Operator
- 6.4.6. The At Operator
- 6.4.7. Membership Operator
- 6.4.8. Arithmetic operators
- 6.4.9. Functions
- 6.4.10. Field References
- 6.4.11. Implicit type conversions
- 6.4.12. Sometimes Fields Change Names
- 6.4.13. Some protocol names can be ambiguous
- 6.5. The “Display Filter Expression” Dialog Box
- 6.6. Defining And Saving Filters
- 6.7. Defining And Saving Filter Macros
- 6.8. Finding Packets
- 6.9. Go To A Specific Packet
- 6.10. Marking Packets
- 6.11. Ignoring Packets
- 6.12. Time Display Formats And Time References
- 6.13. Time Shifting Packets
- 7. Advanced Topics
- 8. Statistics
- 8.1. Introduction
- 8.2. The “Capture File Properties” Dialog
- 8.3. Resolved Addresses
- 8.4. The “Protocol Hierarchy” Window
- 8.5. Conversations
- 8.6. Endpoints
- 8.7. Packet Lengths
- 8.8. The “I/O Graphs” Window
- 8.9. The “Plots” Window
- 8.10. Service Response Time
- 8.11. Distribution Statistics
- 8.12. DHCP (BOOTP) Statistics
- 8.13. NetPerfMeter Statistics
- 8.14. ONC-RPC Programs
- 8.15. 29West
- 8.16. ANCP
- 8.17. BACnet
- 8.18. Collectd
- 8.19. DNS
- 8.20. Flow Graph
- 8.21. HART-IP
- 8.22. HPFEEDS
- 8.23. HTTP Statistics
- 8.24. HTTP2
- 8.25. Sametime
- 8.26. TCP Stream Graphs
- 8.27. UDP Multicast Streams
- 8.28. Reliable Server Pooling (RSerPool)
- 8.29. F5
- 8.30. IPv4 Statistics
- 8.31. IPv6 Statistics
- 8.32. EAPOL-MKA Connectivity Associations
- 9. Telephony
- 9.1. Introduction
- 9.2. Playing VoIP Calls
- 9.3. VoIP Calls Window
- 9.4. ANSI
- 9.5. GSM Windows
- 9.6. IAX2 Stream Analysis Window
- 9.7. ISUP Messages Window
- 9.8. 3GPP Uu
- 9.9. MTP3 Windows
- 9.10. Osmux Windows
- 9.11. RTP
- 9.12. RTSP Window
- 9.13. SCTP Windows
- 9.14. SMPP Operations Window
- 9.15. UCP Messages Window
- 9.16. F1AP Messages Window
- 9.17. NGAP Messages Window
- 9.18. E2AP Messages Window
- 9.19. H.225 Window
- 9.20. SIP Flows Window
- 9.21. SIP Statistics Window
- 9.22. WAP-WSP Packet Counter Window
- 10. Wireless
- 11. Customizing Wireshark
- 11.1. Introduction
- 11.2. Start Wireshark from the command line
- 11.3. Packet colorization
- 11.4. Packet tagging
- 11.5. Control Protocol Dissection
- 11.6. Preferences
- 11.7. Themes
- 11.8. Configuration Profiles
- 11.9. User Accessible Tables
- 11.10. ESS Category Attributes
- 11.11. MaxMind Database Paths
- 11.12. IEEE 802.11 WLAN Decryption Keys
- 11.13. IKEv2 decryption table
- 11.14. Object Identifiers
- 11.15. PRES Users Context List
- 11.16. SCCP users Table
- 11.17. SMI (MIB and PIB) Modules
- 11.18. SMI (MIB and PIB) Paths
- 11.19. SNMP Enterprise Specific Trap Types
- 11.20. SNMP users Table
- 11.21. Tektronix K12xx/15 RF5 protocols Table
- 11.22. User DLTs dissector table
- 11.23. Protobuf Search Paths
- 11.24. Protobuf UDP Message Types
- 11.25. Welcome Page Banner Slides
- 12. MATE
- A. Wireshark Messages
- B. Files and Folders
- C. Protocols and Protocol Fields
- D. Related command line tools
- D.1. Introduction
- D.2. tshark: Terminal-based Wireshark
- D.3. tcpdump: Capturing with “tcpdump” for viewing with Wireshark
- D.4. dumpcap: Capturing with “dumpcap” for viewing with Wireshark
- D.5. capinfos: Print information about capture files
- D.6. captype: Prints the types of capture files
- D.7. rawshark: Dump and analyze network traffic
- D.8. editcap: Edit capture files
- D.9. mergecap: Merging multiple capture files into one
- D.10. text2pcap: Converting ASCII hexdumps to network captures
- D.11. reordercap: Reorder a capture file
- D.12. mmdbresolve: Resolve IP geolocation information
- 13. This Document’s License (GPL)
List of Figures
- 1.1. Wireshark captures packets and lets you examine their contents.
- 3.1. The Main window
- 3.2. The Menu
- 3.3. The “File” Menu
- 3.4. The “Edit” Menu
- 3.5. The “View” Menu
- 3.6. The “Go” Menu
- 3.7. The “Capture” Menu
- 3.8. The “Analyze” Menu
- 3.9. The “Statistics” Menu
- 3.10. The “Telephony” Menu
- 3.11. The “Wireless” Menu
- 3.12. The “Tools” Menu
- 3.13. The “Help” Menu
- 3.14. The “Main” toolbar
- 3.15. The “Filter” toolbar
- 3.16. The “Packet List” pane
- 3.17. The “Packet Details” pane
- 3.18. The “Packet Bytes” pane
- 3.19. The “Packet Bytes” pane with tabs
- 3.20. The “Packet Diagram” pane
- 3.21. The initial Statusbar
- 3.22. The Statusbar with a loaded capture file
- 3.23. The Statusbar with a configuration profile menu
- 3.24. The Statusbar with a selected protocol field
- 3.25. The Statusbar with a display filter message
- 4.1. Capture interfaces on Microsoft Windows
- 4.2. Capture interfaces on macOS
- 4.3. The “Capture Options” input tab
- 4.4. The “Capture Options” output tab
- 4.5. The “Capture Options” options tab
- 4.6. The “Manage Interfaces” dialog box
- 4.7. The “Compiled Filter Output” dialog box
- 4.8. Capture output options
- 4.9. The “Capture Information” dialog box
- 5.1. “Open” on Microsoft Windows
- 5.2. “Open” - Linux and UNIX
- 5.3. “Save” on Microsoft Windows
- 5.4. “Save” on Linux and UNIX
- 5.5. “Merge Capture File” on Microsoft Windows
- 5.6. “Merge Capture File” on Linux and UNIX
- 5.7. The “Import from Hex Dump” dialog in Hex Dump mode
- 5.8. The "Regular Expression" tab inside the "Import from Hex Dump” dialog.
- 5.9. The “List Files” dialog box
- 5.10. The “Export Specified Packets” dialog box
- 5.11. The “Export Packet Dissections” dialog box
- 5.12. The “Export Selected Packet Bytes” dialog box
- 5.13. Export PDUs to File window
- 5.14. Export TLS Session Keys window
- 5.15. The “Export Objects” dialog box
- 5.16. The “Print” dialog box
- 5.17. The “Packet Range” frame
- 5.18. The “Packet Format” frame
- 6.1. Wireshark with a TCP packet selected for viewing
- 6.2. Viewing a packet in a separate window
- 6.3. Pop-up menu of the “Packet List” column header
- 6.4. Pop-up menu of the “Packet List” pane
- 6.5. Pop-up menu of the “Packet Details” pane
- 6.6. Pop-up menu of the “Packet Bytes” pane
- 6.7. Pop-up menu of the “Packet Diagram” pane
- 6.8. Filtering on the TCP protocol
- 6.9. The “Display Filter Expression” dialog box
- 6.10. The “Capture Filters” and “Display Filters” dialog boxes
- 6.11. Display Filter Macros window
- 6.12. The “Find Packet” toolbar
- 6.13. The “Go To Packet” toolbar
- 6.14. Wireshark showing a time referenced packet
- 6.15. The “Time Shift” dialog
- 6.16. A Time Shifted Packet
- 7.1. The “Follow TCP Stream” dialog box
- 7.2. The “Follow HTTP/2 Stream” dialog box
- 7.3. The “Follow SIP Call” dialog box
- 7.4. The “Expert Information” dialog box
- 7.5. The “Colorized” protocol details tree
- 7.6. The “Expert” packet list column
- 7.7. “TCP Analysis” packet detail items
- 7.8. The “Packet Bytes” pane with a reassembled tab
- 8.1. The “Capture File Properties” dialog
- 8.2. Resolved Addresses window
- 8.3. The “Protocol Hierarchy” Window
- 8.4. The “Conversations” window
- 8.5. The “Endpoints” window
- 8.6. The “Packet Lengths” window
- 8.7. The “I/O Graphs” window
- 8.8. The “Plots” window
- 8.9. The “SMB2 Service Response Time Statistics” window
- 8.10. The “Distribution” window
- 8.11. NetPerfMeter Statistics window
- 8.12. DNS statistics window
- 8.13. Flow Graph window
- 8.14. Flow Graph window showing VoIP call sequences
- 8.15. The “HTTP Request Sequences” window
- 8.16. UDP Multicast Streams window
- 8.17. ASAP Statistics window
- 8.18. ENRP Statistics window
- 8.19. Component Status Protocol Statistics window
- 8.20. CalcApp Protocol Statistics window
- 8.21. Fractal Generator Protocol Statistics window
- 8.22. Ping Pong Protocol Statistics window
- 8.23. Scripting Service Protocol Statistics window
- 9.1. List of supported codecs
- 9.2. button with opened action menu
- 9.3. Tools for modifying playlist in RTP Player window
- 9.4. VoIP Calls window
- 9.5. The “3GPP MAC Traffic Statistics” window
- 9.6. The RLC Graph window
- 9.7. The “LTE RLC Traffic Statistics” window
- 9.8. The “RTP Streams” window
- 9.9. The “RTP Stream Analysis” window
- 9.10. Error indicated in “RTP Stream Analysis” window
- 9.11. Graph in “RTP Stream Analysis” window
- 9.12. RTP Player window
- 9.13. Waveform with error marks
- 9.14. RTP stream state indication
- 9.15. SCTP Analyze Association window
- 9.16. SCTP Associations window
- 10.1. Bluetooth Devices window
- 10.2. Bluetooth HCI Summary window
- 10.3. The “WLAN Traffic Statistics” window
- 11.1. The “Coloring Rules” dialog box
- 11.2. A color chooser
- 11.3. Using color filters with Wireshark
- 11.4. The “Enabled Protocols” dialog box
- 11.5. The “Decode As” dialog box
- 11.6. The preferences dialog box
- 11.7. Column preferences
- 11.8. Layout preferences
- 11.9. Theme preferences
- 11.10. Capture preferences
- 11.11. Aggregation fields preferences
- 11.12. Expert item preferences
- 11.13. Filter buttons
- 11.14. Name resolution preferences
- 11.15. Protocol preferences
- 11.16. RSA keys
- 11.17. Statistics preferences
- 11.18. Advanced preferences
- 11.19. How a color gets its value
- 11.20. Where themes come from
- 11.21. The Theme preferences page
- 11.22. The New Theme dialog
- 11.23. The Theme Designer
- 11.24. Packet selection color in the Theme Designer
- 11.25. An auto color and its description
- 11.26. Go to on a derived color
- 11.27. An edited color with Changed only selected
- 11.28. The Fonts tab
- 11.29. The Code tab comparing with the saved file
- 11.30. Which color selects in which view
- 11.31. Forest Green with auto selection: packet list
- 11.32. Forest Green with auto selection: Welcome Page
- 11.33. Forest Green with packets.selection set: packet list
- 11.34. The Dark side of Forest Green
- 11.35. A refused import
- 11.36. The configuration profiles dialog box
- 11.37. "IEEE 802.11 wireless LAN" preferences
- 11.38. 802.11 Decryption Key Types
- 11.39. 802.11 Decryption Key Examples
- 12.1. Packet Details - MATE TCP Session (tcp.mate)
- 12.2. MATE Analysis (PDU→GOP→GOG) flowchart
- 12.3. Wireshark window - fields for PDU extraction
- 12.4. Frame fields mapped to PDU attributes
- 12.5. Frame containing multiple PDUs
- 12.6. Frame with encapsulated (tunneled) fields
- 12.7. Extract from Payload fields
- 12.8. Grouping PDUs (GOP) flowchart
- 12.9. Grouping GOPs (GOG) flowchart
- 12.10. Applying Transform flowchart
List of Tables
- 1. Typographic Conventions
- 3.1. Keyboard Navigation
- 3.2. File menu items
- 3.3. Edit menu items
- 3.4. View menu items
- 3.5. Internals menu items
- 3.6. Go menu items
- 3.7. Capture menu items
- 3.8. Analyze menu items
- 3.9. Statistics menu items
- 3.10. Telephony menu items
- 3.11. Wireless menu items
- 3.12. Tools menu items
- 3.13. Help menu items
- 3.14. Main toolbar items
- 3.15. Filter toolbar items
- 3.16. Related packet symbols
- 4.1. Capture file mode selected by capture options
- 6.1. The menu items of the “Packet List” column header pop-up menu
- 6.2. The menu items of the “Packet List” pop-up menu
- 6.3. The menu items of the “Packet Details” pop-up menu
- 6.4. The menu items of the “Packet Bytes” pop-up menu
- 6.5. The menu items of the “Packet Diagram” pop-up menu
- 6.6. Display Filter comparison operators
- 6.7. Display Filter Escape Sequences in Character and String Literals
- 6.8. Display Filter Logical Operations
- 6.9. Display Filter Arithmetic Operations
- 6.10. Display Filter Functions
- 7.1. Example expert information items
- 7.2. Time zone examples for UTC arrival times (without DST)
- B.1. Configuration files overview