WebHostingAce
Silver Pleskian
Hi,
I'm trying to create a new Jail for Fail2Ban for,
I have,
Filter
and the Jail,
But I get it to work. No IP get Banned by this Jail. I tried many fail login attempts.
What i have done wrong here?
I'm trying to create a new Jail for Fail2Ban for,
Code:
2016-11-24 20:17:48 Error 192.162.101.34 401 GET /rss/catalog/notifystock/ HTTP/1.0 897 Apache SSL/TLS access
I have,
Filter
Code:
[Definition]
failregex = ^<HOST>.* "GET .*/rss/catalog/notifystock ([/\?#\\].*)? HTTP/.*" 200
ignoreregex =
and the Jail,
Code:
[Magento-Hack]
enabled = true
filter = Magento-Hack
action = iptables-multiport[chain="INPUT", name="default", port="ssh", protocol="tcp", blocktype="REJECT --reject-with icmp-port-unreachable"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
maxretry = 3
But I get it to work. No IP get Banned by this Jail. I tried many fail login attempts.
What i have done wrong here?