path: root/wlantest/readpcap.c
Commit message (Collapse)AuthorAgeFilesLines
* wlantest: Detect and report plaintext payload in protected framesJouni Malinen2020-03-141-0/+1
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* wlantest: Add -N command line argument to remove write bufferingJouni Malinen2015-11-261-0/+2
| | | | | | | | | This makes it easier to do live parsing of captured pcap files from wlantest without having to rename and restart the capture file. Packet writes are flushed to disk after each packet if -N is included in the command line. Signed-off-by: Jouni Malinen <j@w1.fi>
* wlantest: Add support for writing pcapng filesJouni Malinen2013-05-261-3/+10
| | | | | | | | | The new -n<file> command line argument can be used to request wlantest to write all read or captured frames into a pcapng file. This is similar to the -w argument, but with pcapng allowing per-frame comments to be embedded in the file. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Add radiotap header when re-writing DLT_IEEE802_11 fileJouni Malinen2013-01-171-1/+37
| | | | | | | | When using DLT_IEEE802_11 datalink type in a pcap file, wlantest will now add a radiotap header to the re-written pcap file to make sure all frames in the output file will include the radiotap header. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Replace pcap header directoryJouni Malinen2010-12-171-1/+1
| | | | | | | The use of the pcap subdirectory seems to be limited to some of the newer Linux distros only, so use the older paths to pcap.h and pcap-bpf.h to make wlantest bit more easier to compile on older systems.
* wlantest: Add support for reading DLT_IEEE802_11 pcap filesJouni Malinen2010-12-041-1/+4
* wlantest: Add support for reading pcap files with prism headerJouni Malinen2010-12-021-1/+17
* wlantest: Add option for writing a PCAP dump fileJouni Malinen2010-11-111-0/+4
| | | | | | | The output file includes all the capture (or read from wireless PCAP file) frames in their original contents and another copy of each frame that is decrypted in wlantest (including EAPOL-Key Key Data field).
* wlantest: Add capturing and parsing of RADIUS messagesJouni Malinen2010-11-071-0/+54
| | | | | | Another interface (-I) or pcap file (-R) can now be specified as a source of RADIUS packets. These packets are now parsed, but the MSK is not yet derived for PMK use.
* wlantest: Add preliminary version of IEEE 802.11 protocol testing toolJouni Malinen2010-11-071-0/+73
This tool can be used to capture IEEE 802.11 frames either from a monitor interface for realtime capturing or from pcap files for offline analysis. This version is only adding basic infrastructure for going through the frames and parsing their headers.