diff manifests/templates.pp @ 197:23c4f6a38b57 puppet-3.6

Make Fail2Ban SSH rules more agressive
author IBBoard <dev@ibboard.co.uk>
date Mon, 22 Apr 2019 20:05:30 +0100
parents f70831cc2864
children 81dfe3ca043f
line wrap: on
line diff
--- a/manifests/templates.pp	Wed Apr 17 12:05:32 2019 +0100
+++ b/manifests/templates.pp	Mon Apr 22 20:05:30 2019 +0100
@@ -388,6 +388,9 @@
 	file { '/etc/fail2ban/filter.d/ibb-sshd.conf':
 		source => 'puppet:///common/fail2ban/ibb-sshd.conf',
 	}
+	file { '/etc/fail2ban/filter.d/ibb-sshd-bad-user.conf':
+		source => 'puppet:///common/fail2ban/ibb-sshd-bad-user.conf',
+	}
 	# Because one of our rules checks fail2ban's log, but the service dies without the file
 	file { '/var/log/fail2ban.log':
 		ensure => present,