hostapd/src/ap
Jouni Malinen e4bf4db907 Work around SNonce updates on EAPOL-Key 1/4 retransmission
Some deployed supplicants update their SNonce for every receive
EAPOL-Key message 1/4 even when these messages happen during the
same 4-way handshake. Furthermore, some of these supplicants fail
to use the first SNonce that they sent and derive an incorrect PTK
using another SNonce that does not match with what the authenticator
is using from the first received message 2/4. This results in
failed 4-way handshake whenever the EAPOL-Key 1/4 retransmission
timeout is reached. The timeout for the first retry is fixed to
100 ms in the IEEE 802.11 standard and that seems to be short
enough to make it difficult for some stations to get the response
out before retransmission.

Work around this issue by increasing the initial EAPOL-Key 1/4
timeout by 1000 ms (i.e., total timeout of 1100 ms) if the station
acknowledges reception of the EAPOL-Key frame. If the driver does
not indicate TX status for EAPOL frames, use longer initial
timeout (1000 ms) unconditionally.
2011-03-29 17:39:12 +03:00
..
accounting.c hostapd_driver_ops reduction 2010-11-24 16:34:49 +02:00
accounting.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ap_config.c WPS: Store (secondary) device type as binary 2011-03-17 18:50:22 +02:00
ap_config.h WPS: Add support for adding WPS Vendor Extensions 2011-03-19 12:22:16 +02:00
ap_drv_ops.c nl80211: Extend bridge add/del operations for secondary BSSes 2011-03-15 13:02:49 +02:00
ap_drv_ops.h nl80211: Extend bridge add/del operations for secondary BSSes 2011-03-15 13:02:49 +02:00
ap_list.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
ap_list.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ap_mlme.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
ap_mlme.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
authsrv.c EAP-pwd: Add support for EAP-pwd server and peer functionality 2010-09-14 21:51:40 -10:00
authsrv.h Move authentication server setup into separate file 2009-12-25 13:43:43 +02:00
beacon.c hostapd: Allow TDLS use to be prohibited in the BSS 2011-01-28 19:21:59 +02:00
beacon.h P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
ctrl_iface_ap.c P2P: Add P2P configuration and callbacks in hostapd code 2010-09-09 07:17:17 -07:00
ctrl_iface_ap.h Move ctrl_iface_ap.c into src/ap 2009-12-25 12:25:55 +02:00
drv_callbacks.c Indicate assoc vs. reassoc in association event 2011-03-06 14:31:46 +02:00
hostapd.c wpa_s AP mode: complete only when setup is complete 2011-03-19 13:11:15 +02:00
hostapd.h Add driver capa flag for EAPOL TX status and store capa in hostapd 2011-03-29 17:36:06 +03:00
hw_features.c HT: Skip ht_capab validation if ieee80211n=0 2011-03-16 11:22:40 +02:00
hw_features.h Fix rate table handling 2010-11-09 16:17:50 +02:00
iapp.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
iapp.h Move iapp.c into src/ap 2009-12-25 13:04:45 +02:00
ieee802_1x.c Work around SNonce updates on EAPOL-Key 1/4 retransmission 2011-03-29 17:39:12 +03:00
ieee802_1x.h Make EAPOL Authenticator buildable with Microsoft compiler 2010-02-19 18:35:40 +02:00
ieee802_11.c AP: Update logging related to inactivity and disassociation 2011-02-24 17:44:45 +02:00
ieee802_11.h hostapd: Allow coexistance of HT BSSes with WEP/TKIP BSSes 2011-02-21 17:27:16 +02:00
ieee802_11_auth.c hostapd_driver_ops reduction 2010-11-24 16:34:49 +02:00
ieee802_11_auth.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ieee802_11_ht.c hostapd: Don't force HT Mixed Mode for non-GF STAs 2011-03-16 11:56:39 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
p2p_hostapd.c P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
p2p_hostapd.h P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
peerkey_auth.c Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
pmksa_cache_auth.c Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
pmksa_cache_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
preauth_auth.c Fix memory leak on RSN preauth init error path 2010-01-06 21:14:09 +02:00
preauth_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
sta_info.c AP: Update logging related to inactivity and disassociation 2011-02-24 17:44:45 +02:00
sta_info.h AP: Introduce sta authorized wrappers 2011-02-02 16:52:32 +02:00
tkip_countermeasures.c AP: Introduce sta authorized wrappers 2011-02-02 16:52:32 +02:00
tkip_countermeasures.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
utils.c Allow Probe Request callbacks to terminate iteration 2009-12-28 13:14:58 +02:00
vlan_init.c Get rid of struct hostapd_driver_ops abstraction 2010-11-24 16:50:06 +02:00
vlan_init.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
wmm.c Make sure reserved field in WMM IE is set to 0 2011-02-10 22:10:40 +02:00
wmm.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
wpa_auth.c Work around SNonce updates on EAPOL-Key 1/4 retransmission 2011-03-29 17:39:12 +03:00
wpa_auth.h Work around SNonce updates on EAPOL-Key 1/4 retransmission 2011-03-29 17:39:12 +03:00
wpa_auth_ft.c FT: Make FT-over-DS configurable (hostapd.conf ft_over_ds=0/1) 2011-03-06 14:31:42 +02:00
wpa_auth_glue.c Work around SNonce updates on EAPOL-Key 1/4 retransmission 2011-03-29 17:39:12 +03:00
wpa_auth_glue.h Move rest of the generic AP mode functionality into src/ap 2009-12-25 20:06:07 +02:00
wpa_auth_i.h Work around SNonce updates on EAPOL-Key 1/4 retransmission 2011-03-29 17:39:12 +03:00
wpa_auth_ie.c hostapd: Add testing mode for RSN element extensions 2011-03-21 13:59:05 +02:00
wpa_auth_ie.h FT: Validate MDIE and FTIE in FT 4-way handshake message 2/4 2010-04-10 22:40:35 +03:00
wps_hostapd.c WPS: Add support for adding WPS Vendor Extensions 2011-03-19 12:22:16 +02:00
wps_hostapd.h P2P: Allow WPS_PBC command on GO to select on P2P Device Address 2011-02-07 18:28:36 +02:00