Ethereal-users: Re: [Ethereal-users] Specifying filters in tethereal

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

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Thu, 5 Jun 2003 07:16:54 +0100
Hi,

I made some mistakes in my prevous mail:
<I guess that in your case when you have IEE 802.11 headers you maybe have to use a filter such as
<ether[0] & 0xF0 = 0x8

I guess that in your case when you have IEE 802.11 headers you maybe have to use a filter such as
ether[0] & 0xF0 = 0x80

<You could for example start with capture all packets matching a certain capture filter and save the result to a file
<tethereal -i eth2 -f 'ether[0] & 0xF0' -w file1.pcap

You could for example start with capture all packets matching a certain capture filter and save the result to a file
tethereal -i eth2 -f 'ether[0] & 0xF0 = 0x80' -w file1.pcap