Configuring host and network filters
When talking about host and network filters, we refer to Layer 3 filters that are IP address-based filters. In this recipe we will refer to these filters and what we can do with them.
Getting ready
The basic Layer 3 filters are:
ip
orip6
: To capture IP or IPv6 packets.host <host>
: To get host name or address.dst host <host>
: To get destination host name or address.src host <host>
: To get source host name or address.Tip
Host can be an IP address or a host name related with this number. You can type, for example, a filter host www.packtpub.com that will show you all packets to/from the IP address related to the Packt website.
gateway <Host name or address>
: It captures traffic to or from the hardware address but ...
Get Network Analysis Using Wireshark Cookbook 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.