Apache list of errors
In order to update/extend list of records to look for in apache log.
Searched by fail2ban update its config by adding list error with its code.
In order to update/extend list of records to look for in apache log.
Searched by fail2ban update its config by adding list error with its code.
This way you enable jail2ban on your drupal sites, and also while doing it, create a drupal.log file via rsyslog deamon.
Drupal
Enable drupal syslogdrush en syslog
Add IP address to whitlist with fail2ban
Open config file
vim /etc/fail2ban/jail.conf
find a lineingoreip =
add particular IP or subnet
Remember to keep a space between records
How to remove record from fail2ban database
Find chain/rule name with IP addressiptables -L -n
Find jailnamefail2ban-client status