bl_iot_sdk/components/network
Paul Mackerras 6131dfddd8
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:18:01 +01:00
..
ble Remove references for ESP32 2020-10-28 17:46:37 +00:00
dns_server Remove references for ESP32 2020-10-28 17:46:37 +00:00
httpc Initial Commit 2020-10-26 20:35:25 +08:00
https Initial Commit 2020-10-26 20:35:25 +08:00
lwip pppd: Ignore received EAP messages when not doing EAP 2020-10-29 00:18:01 +01:00
lwip_altcp_tls_mbedtls Initial Commit 2020-10-26 20:35:25 +08:00
lwip_dhcpd Initial Commit 2020-10-26 20:35:25 +08:00
lwip_mdns Initial Commit 2020-10-26 20:35:25 +08:00
netutils Initial Commit 2020-10-26 20:35:25 +08:00
sntp Initial Commit 2020-10-26 20:35:25 +08:00