FAIL2BAN - Filter.d - w00tw00t
From IT-Arts.net
! Should be customized to your needs !
Filter.d
# /etc/fail2ban/filter.d/w00tw00t.conf
[Definition]
failregex = ^.*\[client <HOST>\] File does not exist: /var/www/w00tw00t\.at.*$
^.*\[client <HOST>\] .* /w00tw00t\.at.*$
Jail.conf
[w00tw00t] enabled = true filter = w00tw00t banaction = iptables-allports logpath = /var/log/nginx/*access*.log maxretry = 1 findtime = 3d bantime = -1 backend = polling
