4.13. Filtering while capturing

Wireshark

4.13. Filtering while capturing

[Tip] Tip!
[not] primitive [and|or [not] primitive ...]
      
tcp port 23 and host 10.0.0.5
    
tcp port 23 and not src host 10.0.0.5
      

4.13.1. Automatic Remote Traffic Filtering