koteikin
4/15/2018 - 10:59 AM

Protection from the Wordpress pingback attacks using file2ban (apache2/httpd)

Protection from the Wordpress pingback attacks using file2ban (apache2/httpd)

[apache-wordpress]

enabled = true
filter  = apache-wordpress
port     = http,https
logpath  = /var/log/httpd/domains/*.log # Указываем лог-файл виртуального хоста (Specify the virtual host's log file)
maxretry = 1
bantime = 86400