Ning Ma blog

my technology tips

February, 2014

Block post spam by fail2ban

1.Install fail2ban Because fail2ban is not available from CentOS, we should start by downloading the EPEL repository:

Follow up by installing fail2ban:

2 Copy the Configuration File The default fail2ban configuration file is location at /etc/fail2ban/jail.conf. The configuration work should not be done in that file, however, and we should instead make a […]