Re: tethereal filer syntax
Guy Harris <[email protected]> Fri, 28 Jul 2006 10:59:09 -0700
| Newsgroups | gmane.network.ethereal.user |
|---|---|
| Message-ID | <[email protected]> |
M.N.Smadi wrote:
> I have some 802.11 capture files with prism header. Can anyone provide
> me with the syntax for command line argument for tethereal to parse for
> an AP with a given mac address (i.e. how to pull up the header and
> search for wlan.sa == filter
If by "search" you mean "filter" - i.e., read the capture file, and
discard all packets not to or from that AP - that'd be
tethereal -R "wlan.sa == {address}" -r {input file}
(unless, of course, you've upgraded to the latest version, in which case
it'd be "tshark", not "tethereal" - see http://www.wireshark.org/).
{address} here would be the MAC address of the AP and {input file} the
file you're reading.