An example capture filter

To access the default filters, go to Capture | Capture Filers or click on the Capture Options button in the main toolbar and click on Capture Filter.

Refer to the following table for sample capture filters:

Filters

Description

host 192.168.1.1

All traffic associated with host 192.168.1.1

port 8080

All traffic associated with port 8080

src host 192.168.1.1

All traffic originating from host 192.168.1.1

dst host 192.168.1.1

All traffic destined to host 192.168.1.1

src port 53

All traffic originating from port 53

dst port 21

All traffic destined to port 21

src 192.168.1.1 and tcp port 21

All traffic originating from 192.168.1.1 and associated with port 21

dst 192.168.1. ...

Get Wireshark 2 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.