I find already for a couple of months multiple of these messages in the syslog and messages files.
Aug 14 21:21:53 rpi3 kernel: [20902.701844] IPv4: martian destination 0.0.0.0 from 192.168.178.33, dev wlan0 Aug 15 21:21:53 rpi3 kernel: [23902.701844] IPv4: martian destination 0.0.0.0 from 192.168.178.30, dev wlan0
Both IP-addresses (192.168.178.3[03]) happen to be ESP32’s loaded with ESPhome and both configured as a BLE gateway.
I have over 50 or so IP components in the network, but it is these two that produce these “martian storms”.
I’m not a network expert, but all my network devices pickup the network configuration through DHCP (pihole), but for these 2 I also tried static IP, but that has no effect.
Anyone who has an idea ? Thank you, Yann
I would say so. The device that detects the martian messages created by the ESP-devices is running Nextcloud and this devices just freezes say every other day and the only way to bring it up again is to reset it. And in general that is not good for a system that is running a database and has open files in a filesystem.
Indeed for now it is co-incidence, not a prove causation. Non of my other PI’s have these martian error messages so it could be Nextcloud. But I have other ESPhome devices (being esp8266) and why do they not cause these messages. The 2x ESP’s of which I found the messages are based ESP32 (and I have only two). I did compile the firmware multiple times with different parameters but that didn’t do anything. That is why to me, the cause could be the expressive WIFI/TCP stack.
Another track is of course, why is the nextcloud system sensitive and my OMV, Wordpress, Pihole PI’s not.
[Di Okt 25 10:42:07 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 10:53:22 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 10:58:59 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:01:48 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:03:12 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:03:54 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:04:15 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:04:26 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:04:31 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 11:04:34 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
[Di Okt 25 12:04:37 2022] IPv4: martian destination 0.0.0.0 from 192.168.2.6, dev iot
I’m not aware of anything in my network setup that could cause this. It’s only affecting one of my current two ESPHome devices, the other one is based on an ESP8266 - so maybe something ESP32 specific?
Was running on ESPHome 2022.6.2 and HomeAssistant 2022.8.0 when this was logged, just upgraded both to the latest versions.
I was also seeing kernel logs like "IPv4: martian destination 0.0.0.0 from 192.168.1.220, dev eth0" on my Proxmox server where HA is hosted as a VM.
I was getting these consistently from a handful of specific IPs that were ESP devices running ESPHome. After I updated these devices running older versions of ESPHome (maybe 2023.7.x to 2023.11.x) to the near-latest 2024.7.3, I haven’t seen these “martian” logs for several hours now. Hopefully that was the culprit and I won’t see this error again. I’m guessing it was just an issue with ESPHome’s TCP/IP stack on the older versions.
I spoke too soon. I’m still seeing these “martian destination 0.0.0.0” kernel messages on my Proxmox host–despite updating ESPHome devices to a newer version. In fact, I even got a message from an IP of one of my LXC containers running on my Proxmox host. So, this seems to have nothing to do with ESPHome. ;(