Home Assistant Pi Generating a MASSIVE number of connections

Hey all, not sure where to put this so I’ll leave it here. I moved from a VM to a pi last Thursday. I was looking at my firewall today and notice that the concurrent connections has MASSIVELY spiked:

Digging further it’s clear that my HA Pi is the cause, with almost 98% of those (this is just today - 18+ million connections in a day):

Any idea what’s going on? I used the pi all-in-on installer. I’m actually surprised my firewall hasn’t taken a dump from the massive increase in connections. I literally moved my exact same config from the VM to the pi.

Thanks so much!

I would start my search on the pi itself to see what service or services are using these connections. Intresting case.

Pi was totally stock until installing HA. Anyway though I traced this back to the NMAP presence detection. I have it scanning 2 subnets, one it has to access through my firewall. Why I only saw this massive spike when moving to the Pi I haven’t a clue as I had the exact same config on my VM. Either way though I’ve shut it off until I can come up with a better option.

The nmap_tracker is running every 5 s. We are using “Fast mode” but I doubt that 5 s is enough to scan two complete subnets.

Seems it’s not. Though not sure why I only had the connections when changing to the Pi. While running under a VM with the same settings I noticed no such issues.

It’s a moot point though anyway. It was unreliable at best (in both cases) so I’m going to have to find a plan B.