From d958239da9fbfc70ff3d60eb615cda5e6fd8b967 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 22 Mar 2021 14:09:19 -0500 Subject: [PATCH] eapol: Don't ignore EAPoL protocol version 2010 Some newer Cisco APs seem to send this protocol version by default --- src/eapol.c | 1 + src/eapolutil.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/eapol.c b/src/eapol.c index 5b6385d3..23aaf530 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -2796,6 +2796,7 @@ void __eapol_rx_packet(uint32_t ifindex, const uint8_t *src, uint16_t proto, switch (eh->protocol_version) { case EAPOL_PROTOCOL_VERSION_2001: case EAPOL_PROTOCOL_VERSION_2004: + case EAPOL_PROTOCOL_VERSION_2010: break; default: return; diff --git a/src/eapolutil.c b/src/eapolutil.c index 2352149c..e2a41c2e 100644 --- a/src/eapolutil.c +++ b/src/eapolutil.c @@ -50,6 +50,7 @@ const struct eapol_key *eapol_key_validate(const uint8_t *frame, size_t len, switch (ek->header.protocol_version) { case EAPOL_PROTOCOL_VERSION_2001: case EAPOL_PROTOCOL_VERSION_2004: + case EAPOL_PROTOCOL_VERSION_2010: break; default: return NULL;