Difference between revisions of "FAIL2BAN - Filter.d - w00tw00t"

From wiki.1001solutions.net
(Created page with "Category:Public_Pages = Filter.d = <nowiki> # /etc/fail2ban/filter.d/w00tw00t.conf [Definition] failregex = ^.*\[client <HOST>\] File does not exist: /var/www/w00tw00t...")
 
 
Line 1: Line 1:
[[Category:Public_Pages]]
+
[[Category:Post-It]]
  
 
= Filter.d =
 
= Filter.d =

Latest revision as of 21:36, 27 March 2020


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
port = http,https
banaction = iptables-allports
logpath  = /var/log/nginx/*access*.log
maxretry = 1
bantime = 999999999