Techzone/Wireshark

Wireshark

2 min readArticle

Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, the project was renamed Wireshark in May 2006 due to trademark issues.[6] Wireshark is cross-platform, using the Qt widget toolkit in current releases to implement its user interface, and using pcap to capture packets; it runs on LinuxmacOSBSDSolaris, some other Unix-like operating systems, and Microsoft Windows. There is also a terminal-based (non-GUI) version called TShark. Wireshark, and the other programs distributed with it such as TShark, are free software, released under the terms of the GNU General Public License version 2 or any later version. https://www.wireshark.org/

Wireshark filters - overview

Wireshark Cheat Sheet – Commands, Captures, Filters & Shortcuts Screen_Shot_2022-06-17_at_9.59.34.png Wireshark is an essential tool for network administrators, but very few of them get to unleash its full potential. Having all the commands and useful features in the one place is bound to boost productivity. So we put together a power-packed Wireshark Cheat Sheet. You can download it for free as a PDF or JPG. Screen_Shot_2022-06-17_at_10.00.47.png

Wireshark Capturing Modes

Untitled.png

Filter Types

Screen_Shot_2022-06-17_at_10.02.13.png

Capture Filter Syntax

Screen_Shot_2022-06-17_at_10.02.39.png

Display Filter Syntax

Screen_Shot_2022-06-17_at_10.03.33.png

Protocols – Values

Screen_Shot_2022-06-17_at_10.04.09.png

Filtering packets (Display Filters)

Screen_Shot_2022-06-17_at_10.04.44.png

Miscellaneous Items

Screen_Shot_2022-06-17_at_10.08.19.png

Logical Operators

Screen_Shot_2022-06-17_at_10.08.49.png

Default columns in a packet capture output

Screen_Shot_2022-06-17_at_10.09.38.png

Keyboard Shortcuts

Screen_Shot_2022-06-17_at_10.10.23.png

Common Filtering Commands

Screen_Shot_2022-06-17_at_10.11.17.png Screen_Shot_2022-06-17_at_10.11.43.png

Main Toolbar Items

Screen_Shot_2022-06-17_at_10.12.36.png Screen_Shot_2022-06-17_at_10.14.43.png Screen_Shot_2022-06-17_at_10.15.01.png Screen_Shot_2022-06-17_at_10.15.29.png

Special Filters

Filter for subnets

shell
ip.addr == 192.168.1.0/24

Slow HTTP

shell
http.time > 1

set of filters

shell
In short, the filters are here:
ip.addr == 10.0.0.1
tcp or dns
tcp.port == 443
tcp.analysis.flags
!(arp or icmp or dns)
follow tcp stream
tcp contains facebook
http.response.code == 200
http.request
tcp.flags.syn == 1
techzonesite.comUnlock Your IT Potential