Skip to content

Fix EAPoL-Start behaviour to allow slow authentication exchanges to succeed#1073

Merged
mcb30 merged 2 commits intomasterfrom
eapfix
Nov 7, 2023
Merged

Fix EAPoL-Start behaviour to allow slow authentication exchanges to succeed#1073
mcb30 merged 2 commits intomasterfrom
eapfix

Conversation

@mcb30
Copy link
Member

@mcb30 mcb30 commented Nov 7, 2023

EAP exchanges may take a long time to reach a final status, especially when relying upon MAC Authentication Bypass (MAB). Our current behaviour of sending EAPoL-Start every few seconds until a final status is obtained can prevent these exchanges from ever completing.

Fix by suppressing EAPoL-Start once EAP is in progress, and by limiting the total number of EAPoL-Start packets sent per authentication attempt.

Fixes: #1048

mcb30 added 2 commits November 7, 2023 13:31
EAP exchanges may take a long time to reach a final status, especially
when relying upon MAC Authentication Bypass (MAB).  Our current
behaviour of sending EAPoL-Start every few seconds until a final
status is obtained can prevent these exchanges from ever completing.

Fix by redefining the EAP supplicant state to allow EAPoL-Start to be
suppressed: either temporarily (while waiting for a full EAP exchange
to complete, in which case we need to eventually resend EAPoL-Start if
the final Success or Failure packet is lost), or permanently (while
waiting for the potentially very long MAC Authentication Bypass
timeout period).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
@mcb30 mcb30 merged commit 595b179 into master Nov 7, 2023
@mcb30 mcb30 deleted the eapfix branch November 7, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPXE fails to run DHCP with 56cc61a

1 participant