hostapd/src/rsn_supp
Jouni Malinen bddc51e8e4 RSN: Stop connection attempt on apparent PMK mismatch
If WPA2-Enterprise connection with full EAP authentication (i.e., no
PMKSA caching used) results in a PMKID that does not match the one the
AP/Authenticator indicates in EAPOL-Key msg 1/4, there is not much point
in trying to trigger full EAP authentication by sending EAPOL-Start
since this sequence was immediately after such full authentication
attempt.

There are known examples of authentication servers with incorrect MSK
derivation when TLS v1.2 is used (e.g., FreeRADIUS 2.2.6 or 3.0.7 when
built with OpenSSL 1.0.2). Write a clear debug log entry and also send
it to control interface monitors when it looks likely that this case has
been hit. After doing that, stop the connection attempt by
disassociating instead of trying to send out EAPOL-Start to trigger new
EAP authentication round (such another try can be tried with a new
association).

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-08 20:55:17 +03:00
..
Makefile tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
peerkey.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
peerkey.h Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
pmksa_cache.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
pmksa_cache.h Suite B: PMKID derivation for AKM 00-0F-AC:11 2014-11-16 17:09:11 +02:00
preauth.c Fix resource leaks on rsn_preauth_init() error paths 2015-01-31 13:44:48 +02:00
preauth.h Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
tdls.c Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00
wpa.c RSN: Stop connection attempt on apparent PMK mismatch 2015-07-08 20:55:17 +03:00
wpa.h Preparations for variable length KCK and KEK 2015-01-27 01:26:49 +02:00
wpa_ft.c FT: Allow CCMP-256 and GCMP-256 as group ciphers 2015-07-07 16:25:06 +03:00
wpa_i.h Reject Group Key message 1/2 prior to completion of 4-way handshake 2015-03-07 13:00:06 +02:00
wpa_ie.c Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00
wpa_ie.h Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00