fragattacks/wlantest
Jouni Malinen a8a277c169 wlantest: Get STA IEs based on EAPOL-Key msg 2/4 before PTK derivation
The previous implementation tried to update STA IE information based on
EAPOL-Key msg 2/4 to be able to handle captures that do not include the
(Re)Association Request frame. This was not sufficient (OSEN was not
included) and was done too late (the parsed information is needed for
PMK-to-PTK derivation).

Move the IE update step to happen before trying to derive the PTK if no
(Re)Association Request frame has been seen.

Signed-off-by: Jouni Malinen <j@w1.fi>
2020-02-28 00:35:23 +02:00
..
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 2016-09-23 17:49:33 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
inject.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
Makefile wlantest: Add PTK derivation support with SAE, OWE, DPP 2020-02-10 21:58:10 +02:00
monitor.c wlantest: Add support for writing pcapng files 2013-05-26 20:58:42 +03:00
process.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
readpcap.c wlantest: Add -N command line argument to remove write buffering 2015-11-27 00:10:53 +02:00
rx_data.c wlantest: Process VLAN tagged Data frames 2019-09-20 23:54:05 +03:00
rx_eapol.c wlantest: Get STA IEs based on EAPOL-Key msg 2/4 before PTK derivation 2020-02-28 00:35:23 +02:00
rx_ip.c BSD: Use struct ip rather than struct iphdr 2020-01-02 19:17:10 +02:00
rx_mgmt.c wlantest: Get STA IEs based on EAPOL-Key msg 2/4 before PTK derivation 2020-02-28 00:35:23 +02:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
test_vectors.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
tkip.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c BSD: Use struct ip rather than struct iphdr 2020-01-02 19:17:10 +02:00
wlantest_cli.c wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
wlantest.h wlantest: Get STA IEs based on EAPOL-Key msg 2/4 before PTK derivation 2020-02-28 00:35:23 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00