


Similarly, a display filter can filter out DHCP packets in your capture screen. Use the capture filter “port 67” or “port 68” or the combination of the two “port 67 or port 68” to capture DHCP packets. To capture DHCP packets exclusively, you’ll need to enter the corresponding port number in the capture filter. The filter bar will be at the bottom of the Capture Interface. Tip: Another way to adjust your capture filters is clicking “Capture,” then “Options” in the menu. You can also add a specific port after “udp” if you wish to specify your filter further.

While different types of traffic are easily distinguishable in Wireshark thanks to color coding, you’ll still need to sift through a lot of data. How to Capture UDP Packetsįollowing the steps above will prompt the program to capture all packets. Start analyzing the data right away or save it for later by clicking “File” and then “Save As…” in the menu bar. Once satisfied with the amount of data gathered, you can stop capturing by clicking the red stop button in the top toolbar. You’ll see Wireshark grabbing data packets in real time.

As soon as you click the network interface or the start button, you’ll be taken to the capture screen.
