For DHCP snooping prevention - that is: to prevent rogues DHCP servers to serve IP addresses to clients - I need to get the source mac or IP of the serving DHCP server that gave my esp32 its IP address.
I will then store it to compare it later at the next connection (my usecase makes that my devices are always in the same network environment).
Is there a way to get that information? Ip or Mac of the DHCP protocol packets?
DHCP server (external) information for dhcp snooping prevention
Re: DHCP server (external) information for dhcp snooping prevention
I have searched again in the esp-idf documentation with no luck.
Usually this info is taken quite easily from the dhcp protocol messages.
Is this implemented or planned to be?
Usually this info is taken quite easily from the dhcp protocol messages.
Is this implemented or planned to be?
Who is online
Users browsing this forum: No registered users and 115 guests