Good point. fail2ban isn't exactly the right tool for this.
There appears to be a project but I don't
think it's maintained:Â
<https://github.com/XaF/fail2ban-subnets>https://github.com/XaF/fail2ban-subnets
Take a look at this project:
https://github.com/dpsystems/login-shield
It's meant as an enhancement to f2b, implementing
an IP subset-based blacklist of specific areas
that are notorious for being sources of server
attacks. It's stopped 98% of my attacks.
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users