Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix typos in from-ds, to-ds sniffer filter params.

...

Command parameters
ParameterDescription
duration (time interval)Automatically interrupt the sniffer after the specified time has passed. No default value.
filter (string)

A string that specifies a filter to apply to captured frames. Only frames matched by the filter expression will be displayed, saved or streamed.

This works similarly to filter strings in libpcap, for example.

The filter can match

  • Address fields (addr1, addr2, addr3)
  • Wireless frame type and subtype, including shortcuts such as 'beacon' (type == 0 && subtype == 8)
  • Flags (tods, fromdsto-ds, from-ds, retry, power, protected)

A string can include the following operators:

  • == (exact match)
  • != (does not equal)
  • && (logical AND)
  • || (logical OR)
  • () (for grouping filter expressions)

number (interface)

Interface to use for sniffing.
pcap-file (string)Save captured frames to a file with the given name. No default value (captured frames are not saved to a file by default).
pcap-size-limit (integer)File size limit (in bytes) when storing captured frames locally.
When this limit has been reached, no new frames are added to the capture file. No default value.
stream-address (IP address)Stream captured packets via the TZSP protocol to the given address. No default value (captured packets are not streamed anywhere by default).
stream-rate (integer)Limit on the rate (in packets per second) at which captured frames are streamed via TZSP.

...