I have ipv6 disabled in the home assistant network config, so why are there a small number of bans in the ip_bans file - and they are all different ipv6 addresses, no ip4’s. These should not get that far should they ?
That setting is used to control which IP versions your HA server uses to communicate on your network interface. It does not control which IP versions are passed to it from outside sources like your router.
Seeing IPv6 addresses in your ipbans file is normal if your router is set to allow IPv6.
This plus
I’d be more concerned about where the IPs are from and why they are attempting login and getting banned