hostapd/wlantest
Jouni Malinen bc0268d053 wlantest: Guess SAE/OWE group from EAPOL-Key length mismatch
The MIC length depends on the negotiated group when SAE-EXT-KEY or OWE
key_mgmt is used. wlantest can determine the group if the capture file
includes the group negotiation, i.e., the initial association when a PMK
was created. However, if the capture file includes only an association
using PMKSA caching, the group information is not available. This can
result in inability to be able to process the EAPOL-Key frames (e.g.,
with the "Truncated EAPOL-Key from" message).

If the negotiated group is not known and an EAPOL-Key frame length does
not seem to match the default expectations for group 19, check whether
the alternative lengths for group 20 or 21 would result in a frame that
seems to have valid length. If so, update the STA entry with the guessed
group and continue processing the EAPOL-Key frames based on this.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-08-11 20:35:34 +03:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Search for FT Target AP using MLD MAC address as well 2023-08-10 12:37:43 +03:00
ccmp.c Minor formatting changes to CCMP test vectors 2023-08-11 11:46:37 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c wlantest: Use AP MLD address in CCMP/GCMP AAD for A3 2023-01-10 12:38:59 +02:00
inject.c wlantest: Use AP MLD address in CCMP/GCMP AAD for A3 2023-01-10 12:38:59 +02:00
Makefile wlantest: Key derivation for SAE-EXT-KEY 2022-10-12 22:33:27 +03:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: Recognize non-AP MLD based on any link address for decryption 2023-08-10 12:14:31 +03:00
rx_eapol.c wlantest: Guess SAE/OWE group from EAPOL-Key length mismatch 2023-08-11 20:35:34 +03:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c wlantest: Search for FT Target AP using MLD MAC address as well 2023-08-10 12:37:43 +03:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Do not update BSS entries for other AP MLDs in PTK cloning 2023-08-10 12:37:47 +03:00
test_vectors.c Minor formatting changes to CCMP test vectors 2023-08-11 11:46:37 +03:00
tkip.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wep.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Support multiple input files 2023-08-08 11:00:42 +03:00
wlantest.h wlantest: Search for FT Target AP using MLD MAC address as well 2023-08-10 12:37:43 +03:00
wlantest_cli.c wlantest: Replace the duplicate functions with reuse of cli.h 2021-12-11 21:50:41 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00