]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[eap] Add support for sending an EAP identity
authorMichael Brown <mcb30@ipxe.org>
Wed, 10 Jan 2024 15:30:36 +0000 (15:30 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 10 Jan 2024 16:03:10 +0000 (16:03 +0000)
commitc6226f104e22db7d19b4c983e962d84b5665c04b
tree314faf14e92db9dceb635d8e1a725fc1cf00d45c
parent0abb3e85e518c4d9366d4555093c0aff0c060858
[eap] Add support for sending an EAP identity

Allow the ${netX/username} setting to be used to specify an EAP
identity to be returned in response to a Request-Identity, and provide
a mechanism for responding with a NAK to indicate which authentication
types we support.

If no identity is specified then fall back to the current behaviour of
not sending any Request-Identity response, so that switches will time
out and switch to MAC Authentication Bypass (MAB) if applicable.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/eap.h
src/net/eap.c