FAIL2BAN - Filter.d - http-ddos
From wiki.1001solutions.net
Revision as of 17:18, 24 April 2020 by Z (talk | contribs) (Created page with "Category:Post-It = Filter.d = <nowiki> # /etc/fail2ban/filter.d/http-ddos.conf # Any http request match this definition [Definition] failregex = ^<HOST> -.*"(GET|PO...")
Filter.d
# /etc/fail2ban/filter.d/http-ddos.conf # Any http request match this definition [Definition] failregex = ^<HOST> -.*"(GET|POST).* ignoreregex =
Jail.conf
[http-ddos] enabled = true port = http,https filter = http-ddos #logpath = /var/log/apache2/*access.log logpath = /var/log/nginx/*access.log bantime = 9999999999 # ! be careful there ! maxretry = 300 findtime = 300 #ignoreip = W.X.Y.Z