hostapd/wlantest
Jouni Malinen d0b251d2e8 wlantest: Fix handling of PTK rekeying
Use a temporary PTK buffer during 4-way handshake when rekeying PTK
so that the new EAPOL-Key frame MIC values are checked against the
new PTK and frames are decrypted using the old PTK. Take the new
PTK into use once msg 4/4 is processed and clear RSC counters at
that point (including moving of RSC update to avoid setting RSC
based on the msg 4/4).

In addition, add a workaround to handle supplicant implementations that
set Secure bit to one during PTK rekeying 4-way handshake in msg 2/4.
This was previously assumed to be msg 4/4, but the key data contents
can be used to figure out whether this is msg 2/4 even if the Secure
bit is set to one.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2011-11-14 22:36:02 +02:00
..
bss.c wlantest: Maintain only a single entry for an active direct link 2011-01-24 14:34:45 +02:00
ccmp.c wlantest: Add more details for CCMP MIC failures 2011-01-14 16:32:59 +02:00
crc32.c wlantest: Add preliminary version of IEEE 802.11 protocol testing tool 2010-11-07 23:29:00 +02:00
ctrl.c wlantest: Allow injection of unprotected frames to unknown BSS 2011-08-28 19:19:38 +03:00
inject.c wlantest: Allow injection of unprotected frames to unknown BSS 2011-08-28 19:19:38 +03:00
Makefile wlantest: Add support for decrypting WEP frames 2011-01-14 17:43:17 +02:00
monitor.c wlantest: Add option for writing a PCAP dump file 2010-11-12 01:00:31 +02:00
process.c Fix couple of compiler warnings about uninitialized variables 2011-01-26 21:29:28 +02:00
readpcap.c wlantest: Replace pcap header directory 2010-12-17 08:06:52 +02:00
rx_data.c wlantest: Fix handling of PTK rekeying 2011-11-14 22:36:02 +02:00
rx_eapol.c wlantest: Fix handling of PTK rekeying 2011-11-14 22:36:02 +02:00
rx_ip.c wlantest: Determine ping matches properly for direct link 2011-01-24 14:50:51 +02:00
rx_mgmt.c wlantest: Add STA counters for disconnect reason 6/7 RX 2011-10-26 00:06:06 +03:00
rx_tdls.c wlantest: Use source address of TDLS Setup Confirm failure for matching 2011-03-14 21:35:40 +02:00
sta.c wlantest: Check WPA/RSN IE match between AssocReq and Beacon 2011-01-17 19:52:35 +02:00
tkip.c wlantest: Add support for decrypting WEP frames 2011-01-14 17:43:17 +02:00
wep.c wlantest: Add support for decrypting WEP frames 2011-01-14 17:43:17 +02:00
wired.c wlantest: Derive PMK from RADIUS exchange 2010-11-07 23:29:02 +02:00
wlantest.c wlantest: Add command for adding WEP keys during run time 2011-01-28 13:33:21 +02:00
wlantest.h wlantest: Fix handling of PTK rekeying 2011-11-14 22:36:02 +02:00
wlantest_cli.c wlantest: Add STA counters for disconnect reason 6/7 RX 2011-10-26 00:06:06 +03:00
wlantest_ctrl.h wlantest: Add STA counters for disconnect reason 6/7 RX 2011-10-26 00:06:06 +03:00
writepcap.c wlantest: Replace pcap header directory 2010-12-17 08:06:52 +02:00