Page 1 of 1

Block ping to ESP32

Posted: Sat Apr 01, 2023 8:38 pm
by Germanium
Hi, I'm using Esp32-C3 with ESP IDF.
I am connecting to the network via Ethernet (W5500) or WIFI.

When I connect, I don't want esp32 to be pinged.
How can I block?

Thanks

Re: Block ping to ESP32

Posted: Sun Apr 02, 2023 2:46 pm
by Craige Hales
Please post back if you figure it out. Two things I found that might point you in the right direction:

https://superuser.com/questions/1664768 ... ng-work-on
https://docs.espressif.com/projects/esp ... _echo.html

Re: Block ping to ESP32

Posted: Mon Apr 03, 2023 12:33 am
by ESP_Sprite
Disable Menuconfig -> Component config → LWIP → ICMP -> ICMP: Enable ICMP.