]> git.ipfire.org Git - thirdparty/hostap.git/commit
Enforce that IEEE 802.1X EAPOL-Key Replay Counter increases
authorJouni Malinen <j@w1.fi>
Sat, 4 May 2019 16:17:45 +0000 (19:17 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 May 2019 21:57:37 +0000 (00:57 +0300)
commitde94be0acde87f727ab8482761127d24fae71a73
tree5d65ec54fb1468c88056a6385db47e80c57fe964
parent1cefd89b37be43cf98f9f6291671b32b01ef5c93
Enforce that IEEE 802.1X EAPOL-Key Replay Counter increases

While this should not happen in practical use cases,
wpa_get_ntp_timestamp() could return the same value when called twice in
a row quickly. Work around that case by enforcing a new Replay Counter
value based on stored last value.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/hostapd.h
src/ap/ieee802_1x.c