Not sure if this should be aimed more at the developers of file2ban or the neth dev’s but here goes.
I currently run two internet facing nethserver’s both running fail2ban, and both on the same LAN. I would like these servers to share there list’s of permanently band IP’s.
Also the ability to export/import band IP’s would be good.
I would like to answer quicker but this issue is maybe hard to implement and I am not sure it worth it.
Let me think on it, as a developer I would be happy to implement the solution, but as a maintainer, I worry about it
We could find hints on the www, with mysql or sftp solution, so people has thought about it, but if we centralise the database of attackers, why to ban a mysql brute force attacker (for example) on all servers if other systems in the cloud farm do not run mysql.
Collect a database of offending IP addresses and then launch automated ddos attacks against them. Then track down the person or persons responsible, put them in stocks in the Public Square and allow people to throw garbage at them, see how they like it.
I have recently had a re-jig of my servers and for the first time used the config backup/restore feature. Very impressed with how well it works. I did notice though it does not restore the list of all ready band IP’s, so Fail2Ban is starting over.
Sounds like syncing IP lists between server’s automaticly is a headache from a dev point of view. Just the ability to manuely copy and past IP’s from webconfig would be good enough for me.
Just to satisfy my curiosity… Did you set the bantime to indefinate/permanent? If I am not mistaken, the default threshold for a ban is 3 hours. Personally I have set the bantime to 1 day.