Ethereal-users: [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: "Edward Stafford" <EStafford@xxxxxxxxxxxxx>
Date: Fri, 30 Dec 2005 10:11:00 -0500
I've started playing with ehtereal and want to capture port 25 and port
80 traffic.
I tried using:
Tcp port 80 and tcp port 25
Tcp port 80 and port 25
Tcp port 80 && tcp port 25
Tcp port 80 && port 25

But nothing is captured.
Capturing single ports works fine.
Tcp port 25 alone works
Tcp port 80 alone works

What is the correct way to capture more than one port?

This is on a switched network using a monitoring port.

Thanks

This email was sent from Newman Communications by Edward Stafford and is intended for ethereal-users@xxxxxxxxxxxx. 
If you believe you received this message in error or do not wish to receive messages from Newman Communications, please contact sender by replying to this message.

Thank You, 

Edward Stafford
Newman Communications
20 Guest St, Suite 150
Brighton MA 02135

617-254-4500