CRAWDAD metadata: tools/process/pcap/wifi_parser (v. 2007-11-05)

This tool is able to select out header fields/flags from either live or recorded 802.11 traffic. Tcpdump and Tethereal have limited flexibility to tease out specific fields without printing out the entire packet.
[xml metadata]

Note: This metadata was prepared by the CRAWDAD team and verified by the data set (or tool) authors. We have made every effort to ensure its accuracy, but urge all users to consider the metadata and data carefully and be sure that their use in research is consistent with the nature and limitations of the data. We welcome any corrections.


CRAWDAD metadata structure[what is CRAWDAD metadata]


[Tool] tools/process/pcap/wifi_parser (v. 2007-11-05)

top

version v. 2007-11-05
(prev version) v. 2006-08-10
changes
updated the types for ISO C compatibility (i.e., u_int instead of uint)
bibtex
@MISC{tools-process-pcap-wifi_parser-2007-11-05,
  author = {Doug Madory},
  title = {{CRAWDAD} tool tools/process/pcap/wifi_parser (v. 2007-11-05)}, 
  howpublished = {Downloaded from http://crawdad.cs.dartmouth.edu/tools/process/pcap/wifi_parser},
  month = nov,  
  year = 2007
}
					
metadata last modified2006-11-15
summary
This tool is able to select out header fields/flags from either live or recorded 802.11 traffic. Tcpdump and Tethereal have limited flexibility to tease out specific fields without printing out the entire packet.
release date2007-11-05
web site http://www.crawdad.org/tools/process/pcap/wifi_parser
wiki go to the wiki page for this tool
keyword802.11 frames, 802.11, packet trace, tcpdump, signal strength
authorsDoug Madory
output
An example use of this tool is to process large capture files and 
then perform mathematical analysis on the values contained in the fields. 
Here is an example output of the tool in use:

%./wifi_parser -p -r mapreceiver-mapsampler1-100000.cap
-s aibstq -c 100
WiFi frame parser starting...
1142538621.941872  27 0_0_0_0_0_0_0_0 bssid: 000b868138b0 s: 000b868138b0
seq: 2290
1142538621.942814  27 0_0_0_0_0_0_0_0 bssid: 000b868138b1 s: 000b868138b1
seq: 2291
1142538622.396284  16 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3574
1142538622.436236  16 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3581
1142538622.439394  15 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3584
1142538622.456254  17 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3594
1142538622.460492  17 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3598
1142538622.461425  18 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3599
1142538622.496193  19 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3600
1142538622.498403  19 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3602
1142538622.501529  19 0_1_0_0_0_0_0_0 bssid: 000b868139c8 s: 0009e9b7400a
seq: 3605
1142538622.503735  19 0_0_0_0_0_0_0_0 bssid: 000b868139c8 s: 000b868139c8
seq: 3606
parameters
See the usage.
usage
Here is the help screen.

%./wifi_parser -h

Usage: ./wifi_parser

  options:
   -c count       number of packets to count before exiting
   -i interface   wireless network interface (default: ath0)
   -r filename    read input from filename (supercedes -i)
   -f filter      input capture filter
   -s selection   header selector
   -p prism       source contains prism header
   -h             this help

      header selector options:
      Prism:
      h  host time
      m  mac time
      c  channel
      i  rssi
      n  signal quality
      g  signal
      n  noise
      r  rate
      x  istx
      802.11:
      t  timestamp
      l  framelen
      u  duration
      f  frametype
      y  subtype
      d  destination
      s  source
      b  bssid
      q  sequence numbers
      a  flags
         0:0:0:0:0:0:0:0
         | | | | | | | \_Order
         | | | | | | \___WEP
         | | | | | \_____More Data
         | | | | \_______Pwr Mgt
         | | | \_________Retry
         | | \___________More Frag
         | \_____________From DS
         \_______________To DS
algorithm
This tool is implemented in C using pcap library, especially exploiting the filter functions.
download urlDownload (52 KB tar.gz) from US UK

[Author] Doug Madory

top

emailmadory@Dartmouth.EDU
institutionDartmouth College
departmentThayer School of Engineering
positionGraduate student
web site http://www.dartmouth.edu/~madory/
related data/toolstools/process/pcap/wifi_parser (v. 2007-11-05)