bl_iot_sdk/components
Paul Mackerras c9ff47b828
pppd: Ignore received EAP messages when not doing EAP
This adds some basic checks to the subroutines of eap_input to check
that we have requested or agreed to doing EAP authentication before
doing any processing on the received packet.  The motivation is to
make it harder for a malicious peer to disrupt the operation of pppd
by sending unsolicited EAP packets.  Note that eap_success() already
has a check that the EAP client state is reasonable, and does nothing
(apart from possibly printing a debug message) if not.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2020-10-29 00:12:01 +01:00
..
3rdparty/aws-iot Initial Commit 2020-10-26 20:35:25 +08:00
audio Initial Commit 2020-10-26 20:35:25 +08:00
bl602 Initial Commit 2020-10-26 20:35:25 +08:00
fs Initial Commit 2020-10-26 20:35:25 +08:00
hal_drv Initial Commit 2020-10-26 20:35:25 +08:00
network pppd: Ignore received EAP messages when not doing EAP 2020-10-29 00:12:01 +01:00
security/mbedtls Delete README.md 2020-10-27 10:34:41 +08:00
stage Initial Commit 2020-10-26 20:35:25 +08:00
sys Initial Commit 2020-10-26 20:35:25 +08:00
utils Initial Commit 2020-10-26 20:35:25 +08:00