add fail2ban class

This commit is contained in:
Arne Teuke
2025-02-14 11:36:23 +01:00
parent a6c5d66820
commit 3ed73f6cb6
10 changed files with 38 additions and 119 deletions

View 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 =