
The syntax for these filters is pretty easy to understand.


First, enter the command host IP address. To use the capture filters, just add the filters in the section right above the list of connections when you open Wireshark.įor example, you can use the filter to capture packets only to and from a specific IP address. Wireshark capture filters out network packets from being saved. There are two types of Wireshark filters : capture filters and display filters. To save the captured packets, go to "File" - "Save as." Wireshark filters: How to filter and inspect packets You can use the red button on the top left corner to stop the capture. Once you click the button, the tool will start capturing the network packets. Then, you can either just click the button that looks like the Wireshark logo (marked as “Start capturing packets”) or go to the capture menu and click “Start.” To start, choose the networks you want to capture from. You’ll be greeted by a screen that shows all the network connections you can monitor. Sudo apt-get install wireshark Capturing packets using Wireshark The exact process of installing Linux may vary a bit with distros. Homebrew will install Wireshark perfectly in your system. For this, you first need to install Homebrew. Once you have it, open the terminal in your system, and run this command. You can also use homebrew to ensure Wireshark installation goes smooth. Just download, run the executable file, and you’re done. You can also use a process similar to that of Windows in macOS. If you’re trying it for the first time, go with all the default options (just keep hitting the next button). Open the executable and follow the steps to install it. Now, let's take a look at the steps you need to take according to your operating system. First of all, no matter the OS you have, start by downloading Wireshark from the official website (it's free!). Wireshark is pretty straightforward to use.

A non-GUI version called TShark is also available.īesides troubleshooting, Wireshark is also used for cybersecurity applications, testing the stability of applications, and even as a learning tool. It is currently available on Linux, macOS, various UNIX systems, and Microsoft Windows with a GUI developed using Qt. It can capture packets in a connection between two PCs, between a server and a PC, or between a LAN and the internet. In simple terms, Wireshark is a network protocol analyzer or a packet sniffer. We will mainly focus on how you can use this tool to maintain a robust network within your organization.

Read on to learn more about Wireshark, how to use it, and some relevant cases and alternatives. It has been embraced by network admins worldwide and has become one of the essential network troubleshooting tools for IT teams. Wireshark is one of the most popular network packet analyzers available.
