An Introductory Guide to Wireshark

Ronald Farrer
3 min readJul 17, 2023


Photo by Daniel Bernard on Unsplash


As the world becomes increasingly digital, proficiency in network analysis tools like Wireshark has become an invaluable skill. Wireshark, an open-source, free-to-use software, is the world’s most popular network protocol analyzer. It lets you see what’s happening on your network at a microscopic level. Whether you’re a seasoned network professional or a newbie stepping into the networking world, understanding Wireshark can give you a deeper insight into your network traffic and can help troubleshoot network problems.

In this post, we’re going to introduce you to the world of Wireshark, explain how to get started, share some basic usage tips, and provide examples to help you navigate this powerful tool.

Getting Started with Wireshark

Before we delve into using Wireshark, you need to have it installed on your system. Wireshark is compatible with various platforms, including Windows, Linux, macOS, and others.

  1. Downloading Wireshark: Visit the Wireshark download page ( and select the appropriate version for your OS. Follow the prompts to download and install it.
  2. Running Wireshark: Once installed, run Wireshark. You’ll be greeted with a welcome screen where you’ll see a list of your network interfaces.

Basic Usage of Wireshark

Let’s dive into the basic usage of Wireshark:

  1. Capture Packets: To start capturing packets, select the network interface linked with the network you want to analyze (such as your Wi-Fi or Ethernet interface), and click on the ‘Start’ button. Wireshark will begin to display packets in real-time.
  2. Filtering: The power of Wireshark is often in its ability to filter the captured packets. At the top of the Wireshark window, you will see a filter bar. Here, you can enter specific criteria to focus on the packets you’re interested in. For example, if you want to display only HTTP traffic, you can type “http” into the filter bar and hit ‘Enter’.
  3. Packet Details: Clicking on a packet in the top pane will bring up details in the middle pane. This pane provides a breakdown of the packet’s layers, according to the OSI model.
  4. Packet Bytes: The bottom pane shows the raw data of the selected packet.
  5. Stopping the Capture: You can stop the packet capturing process anytime by clicking on the ‘Stop’ button near the top left of the window.


Here are a few simple examples of how to use Wireshark:

  1. HTTP Traffic: If you want to see all HTTP traffic, use the filter bar and enter “http”. The top pane will now only show packets related to HTTP traffic.
  2. DNS Queries: To monitor DNS queries, enter “dns” into the filter bar. You’ll be able to see all the DNS request and response messages.
  3. TCP Traffic: To filter by protocol, you can use “tcp”, “udp”, “icmp”, and so on.
  4. IP Address Filtering: If you want to filter by specific IP address, you can use “ip.addr ==” (replace with your desired IP address). This will show all traffic from or to this IP address.
  5. Protocol and IP Together: To filter HTTP traffic from a specific IP, you can use “http && ip.addr ==”. This will show all HTTP traffic associated with the specified IP address.

Remember, Wireshark is a powerful tool, and these examples are just the tip of the iceberg when it comes to its capabilities.


While the sheer power and complexity of Wireshark can seem daunting, a basic understanding of its functions and usage can open up a new world of insight into your network. Like any complex tool, mastery comes with practice, so don’t be discouraged if it feels overwhelming at first. Keep experimenting, keep learning, and soon you’ll be utilizing Wireshark like a pro!

Remember to use this tool responsibly. While Wireshark is a fantastic resource for learning and problem-solving, it can also be used irresponsibly. Always respect privacy and legal boundaries while using network analysis tools.

With this introduction, you are now ready to take your first steps into the fascinating world of network analysis with Wireshark. Happy packet hunting!

I Love Coffee!