Ethereal-users: [Ethereal-users] Re: [Ethereal-bugs] [Bug 538] New: Filtering a specific IP Addr

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 18 Oct 2005 00:48:22 -0700
michael shih wrote:

Thank you for your tip. It is working perfectly but is there a way to filter the destination ip and not the source?

For capture filters:

	dst net 9.0.0.0/8

For display filters:

	ip.dst == 9.0.0.0/8

That will match any packet to 9.x.x.x, regardless of whether it comes from the 9.x.x.x net or not.