changeset 172:1af9fd04c285 puppet-3.6

Fix case of <HOST> tag so that rule pulls the IP The line with "(?<host>…)" is confusing when the tag is <HOST>!
author IBBoard <dev@ibboard.co.uk>
date Sat, 10 Feb 2018 13:32:51 +0000
parents 103a3630e9b2
children c72d2b5f9be2
files common/fail2ban/ibb-sshd.conf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/fail2ban/ibb-sshd.conf	Tue Feb 06 20:42:49 2018 +0000
+++ b/common/fail2ban/ibb-sshd.conf	Sat Feb 10 13:32:51 2018 +0000
@@ -10,7 +10,7 @@
 #          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
 # Values:  TEXT
 #
-failregex = Unable to negotiate with <host> port [0-9]+: no matching host key type found. Their offer: ssh-rsa,ssh-dss \[preauth\]
+failregex = Unable to negotiate with <HOST> port [0-9]+: no matching host key type found. Their offer: ssh-rsa,ssh-dss \[preauth\]
 
 # Option:  ignoreregex
 # Notes.:  regex to ignore. If this regex matches, the line is ignored.