我无法解决此问题。
在我的jail.conf
上[apache-404]
enabled = true
port = http,https
filter = apache-404
action = csf-ip-deny[name=apache-404]
sendmail-whois[name=Apache-404]
logpath = /usr/local/apache/logs*/*error.log
maxretry = 3
在我的系统上,文件存在,/ usr / local / apache / logs * / * error.log
尝试使用/usr/local/apache/logs/error.log和其他变体,但不能正常工作。
在所有情况下,请收到以下消息:
service fail2ban start
Iniciando fail2ban: ERROR No file(s) found for glob /usr/local/apache/logs*/*error.log
ERROR Failed during configuration: Have not found any log file for apache-404 jail
[FALLÓ]