Ping of Death Detection with Node MCU

Is there an Arduino IDE Source code to detect Ping of Death via Node MCU like the DeauthDetector ( GitHub - skickar/DeauthDetector: Detect deauthentication frames using an ESP8266 )

I have searched and tried many ways to detect that attack but I couldn’t find a solution. I am using ‘‘hping3’’ to initiate the Ping of Death Attack. Once it is initiated then Node MCU should detect it and print it in the Serial Monitor that “Attack has detected”. If anybody knew regarding that it will be really helpful for my Project

Thank You in Advance.

Pings would normally be handled at a layer of the networking stack (icmp) that the user program does not have access to.
Presumably a ping of death either causes death, or is ignored…