changeset 191:8fa6623f1e5f puppet-3.6

Fix log level for repeat offender checks
author IBBoard <dev@ibboard.co.uk>
date Sun, 10 Feb 2019 19:30:34 +0000
parents d32e0b7421bf
children 893391e42d94
files common/fail2ban/ibb-repeat-offender.conf
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/common/fail2ban/ibb-repeat-offender.conf	Sun Feb 10 16:17:05 2019 +0000
+++ b/common/fail2ban/ibb-repeat-offender.conf	Sun Feb 10 19:30:34 2019 +0000
@@ -16,11 +16,10 @@
 #          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
 # Values: TEXT
 #
-failregex = WARNING\s+\[(?:.*)\]\s+Ban\s+<HOST>
-            INFO\s+\[(?:.*)\]\s+<HOST> already banned
+failregex = NOTICE\s+\[(?:.*)\]\s+Ban\s+<HOST>
 
 # Option:  ignoreregex
 # Notes.:  regex to ignore. If this regex matches, the line is ignored.
 # Values:  TEXT
 #
-ignoreregex = fail2ban.actions:\s+WARNING\s+\[(ibb-repeat-offender|[^\]]+warning)\]\s+Ban\s+<HOST>
+ignoreregex = fail2ban.actions:\s+NOTICE\s+\[(ibb-repeat-offender|[^\]]+warning)\]\s+Ban\s+<HOST>