Ethereal-users: Re: [Ethereal-users] Capture filter for more than one port

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

From: Brad Hards <bradh@xxxxxxxxxxxxx>
Date: Sat, 31 Dec 2005 12:24:38 +1100
On Saturday 31 December 2005 02:11 am, Edward Stafford wrote:
> I've started playing with ehtereal and want to capture port 25 and port
> 80 traffic.
Do you mean "and" in a logic/boolean way? Do you really want traffic that is 
associated with port 25 and port 80. Or do you really mean "to/from either 
port 25 or port 80"

If the later, try "or", not "and". Otherwise you are only ever going to get 
traffic from 25 to 80, or vice versa (since that is the only way that the 
packets can be 25 "and" 80 at the same time.

Brad

Attachment: pgpCYf0bj7NN6.pgp
Description: PGP signature