add fail2ban class
This commit is contained in:
7
templates/fail2ban/f2b_haproxy.conf.erb
Normal file
7
templates/fail2ban/f2b_haproxy.conf.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
################################################################################
|
||||
##### fail2ban for haproxy.conf created by Puppet #####
|
||||
################################################################################
|
||||
|
||||
[Definition]
|
||||
failregex = ^<HOST> -.*"(GET|POST|HEAD|PUT|DELETE|OPTIONS) .*(/login|/admin|/api/login).*HTTP/1\.[01]" 401
|
||||
ignoreregex =
|
||||
Reference in New Issue
Block a user