EAP authentication timeout

Chris Green cl at isbd.net
Wed Jan 11 01:37:57 PST 2023


On Tue, Jan 10, 2023 at 09:30:04PM -0800, Matthew Wang wrote:
> Hi all,
> 
> Does anyone have context on the 70 second timeout for EAP
> authentication? Specifically, this snippet of code in
> wpa_supplicant_rx_eapol:
> 
> if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) ||
>     wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA ||
>     wpa_s->key_mgmt == WPA_KEY_MGMT_WPS) {
>   /* Use longer timeout for IEEE 802.1X/EAP */
>   timeout = 70;
> }
> 
> This seems like an egregiously long timeout, and it looks to be
> untouched since before 2008. Is this something that folks would be
> interested in changing? Any thoughts for or against?
> 
It *might* just be 'more than a minute with a bit to spare' might it
not?  It is an odd time otherwise though.

-- 
Chris Green



More information about the Hostap mailing list