Jouni Malinen
6d5ce9fc90
wlantest: Add BSS/STA statistics counters
...
These counters can be cleared and queried from external programs to
script various testing tasks.
2010-11-18 19:05:29 +02:00
Jouni Malinen
77ac47278a
wlantest: Validate EAPOL-Key reserved fields
...
In addition, this handles WPA difference in Key Info for Secure
bit in msg 3/4 and 4/4 (not set, since GTK is not yet available).
2010-11-13 14:09:40 +02:00
Jouni Malinen
16b8b6eadf
wlantest: Validate reserved bits in TKIP/CCMP header
2010-11-13 13:03:21 +02:00
Jouni Malinen
20062114cd
wlantest: Verify that TKIP/CCMP frames set ExtIV=1
2010-11-13 12:54:07 +02:00
Jouni Malinen
4dac84539e
wlantest: Implement TKIP replay detection
2010-11-13 12:40:36 +02:00
Jouni Malinen
6c9c513783
wlantest: Add support for WPA key handshakes
...
The Key Data field is handled differently in msg 3/4 and 1/2 in WPA,
so add separate code for processing non-RSN case.
2010-11-13 11:59:43 +02:00
Jouni Malinen
2924b0eb79
wlantest: Add support for TKIP decryption
2010-11-13 11:36:37 +02:00
Jouni Malinen
a9dd29d3e1
wlantest: Use negotiated AKM/cipher to select PMK-to-PTK parameters
2010-11-12 23:33:42 +02:00
Jouni Malinen
9bb6cdaaaf
wlantest: Verify that WPA/RSN IE matches in EAPOL-Key and mgmt frames
...
Verify that WPA/RSN IE in (Re)Association Request is identical to the
one used in EAPOL-Key message 2/4.
Verify that WPA/RSN IE in Beacon/Probe Response is identical to the
one(s) used in EAPOL-Key message 3/4.
2010-11-12 22:54:28 +02:00
Jouni Malinen
8c2cfd973a
wlantest: Dump decrypted Key Data from Group Handshake msg 1/2
2010-11-12 01:02:45 +02:00
Jouni Malinen
64f45d070b
wlantest: Add option for writing a PCAP dump file
...
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).
2010-11-12 01:00:31 +02:00
Jouni Malinen
5db8cf314e
wlantest: Add Group Key handshake processing
...
Decrypt GTK/IGTK updates in Group Key message 1/2 and update the
keys. In addition, verify the MIC on both Group Key handshake
messages.
2010-11-11 22:04:38 +02:00
Jouni Malinen
2edd5c23ad
wlantest: Add replay detection for CCMP
2010-11-11 20:21:11 +02:00
Jouni Malinen
07d0a5be45
wlantest: Decrypt group addressed Data frames
2010-11-11 19:53:12 +02:00
Jouni Malinen
d318c534da
wlantest: Add support for decrypting CCMP protected unicast Data frames
2010-11-11 01:29:30 +02:00
Jouni Malinen
f0a782979d
wlantest: Parse KDEs from message 2/4
2010-11-10 01:16:32 +02:00
Jouni Malinen
c09caa5882
wlantest: Use more consistent debug levels for keys
2010-11-09 20:35:24 +02:00
Jouni Malinen
4d9f9ee7e5
wlantest: Parse Key Data KDEs and store GTK and IGTK
2010-11-09 20:29:12 +02:00
Jouni Malinen
8672562b04
wlantest: Decrypt EAPOL-Key 3/4 Key Data
2010-11-09 00:39:43 +02:00
Jouni Malinen
d06df64d14
wlantest: Derive PMK from RADIUS exchange
...
Decrypt MPPE keys and derive PMK from RADIUS exchange if RADIUS
shared secret is known. Use the derived PMK when trying to derive
PTK during 4-Way Handshake.
2010-11-07 23:29:02 +02:00
Jouni Malinen
4bc82fc7ae
wlantest: Fix LLC debug print
2010-11-07 23:29:01 +02:00
Jouni Malinen
53650bcab4
wlantest: Add PTK derivation based on passphrases
...
Allow pre-configuration of passphrases (-p<passphrase>) to provide
enough information for wlantest to be able to derive PMK for each
BSS and PTK for each STA going through 4-Way Handshake (at least
message 2 and 3 needs to be received).
2010-11-07 23:29:01 +02:00
Jouni Malinen
32234bba52
wlantest: Parse EAPOL-Key frames
2010-11-07 23:29:01 +02:00
Jouni Malinen
2d73f0a875
wlantest: Move Mgmt and Data frame processing into their own files
2010-11-07 23:29:01 +02:00