]> git.ipfire.org Git - thirdparty/hostap.git/commit
RSN: Ignore IGTK configuration errors with swapped KeyID values
authorJouni Malinen <jouni@codeaurora.org>
Tue, 16 Apr 2019 09:06:28 +0000 (12:06 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 16 Apr 2019 16:31:34 +0000 (19:31 +0300)
commit824cb5a530a8fc07666f940f104353458f257612
treeafd7521b9bdbe3f5d50fb1ed0b2039775a545547
parentdfdabd917ad9950b643bf90b6e95f5c3856662e6
RSN: Ignore IGTK configuration errors with swapped KeyID values

There are number of deployed APs with broken PMF implementation where
the IGTK KDE uses swapped bytes in the KeyID field (0x0400 and 0x0500
instead of 4 and 5). Such APs cannot be trusted to implement BIP
correctly or provide a valid IGTK, so do not try to configure this key
with swapped KeyID bytes. Instead, continue without configuring the IGTK
so that the driver can drop any received group-addressed robust
management frames due to missing keys.

Normally, this error behavior would result in us disconnecting, but
there are number of deployed APs with this broken behavior, so as an
interoperability workaround, allow the connection to proceed.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/rsn_supp/wpa.c