Custom DIY Block list using MySQL?
Posted: 23 Dec 2014, 02:06
I currently run my own blocklist using fail2ban and a few parameters to catch Wordpress brute force.
fail2ban adds the entry to csf, and also populates a file that I keep as my own block list. This file is entered into csf.deny so it's reloaded upon csf restarts.
I'm looking to expand this list to mysql. Is it possible to have an ip block list using mysql?
Looking at your ip blocklist settings, if I have a small website grab the data from mysql and paste 1 IP per line, I could add myself as an http server in the IP BLOCK list portion, right?
Thoughts?
Thanks
fail2ban adds the entry to csf, and also populates a file that I keep as my own block list. This file is entered into csf.deny so it's reloaded upon csf restarts.
I'm looking to expand this list to mysql. Is it possible to have an ip block list using mysql?
Looking at your ip blocklist settings, if I have a small website grab the data from mysql and paste 1 IP per line, I could add myself as an http server in the IP BLOCK list portion, right?
Thoughts?
Thanks