shafr / esp-canary

Simple ESP8266 / ESP32 Canary that simulates predefined application server and notifies you using E-mail, Telegram, etc if it was accessed.
MIT License
45 stars 5 forks source link

HostsException not working for ICMP PING ? #29

Open pditmar opened 2 years ago

pditmar commented 2 years ago

I changed the HostsException IP to an IP I would like to ignore for PING ICMP messages. However my Telegram still gets spammed with ICMP PING's from this host.

shafr commented 2 years ago

Do you mean this list: https://github.com/shafr/esp-canary/blob/add1daf680d12cf45776f87da6a478ab3576c974/src/simulation/ping.cpp#L11

Is that comma separated ?

pditmar commented 2 years ago

Yes that list. I put the IP in there that I want to be ignored but it shows me its alerts in Telegram anyway.