From c1fe8d9551e337031e5a5d62224779b389872ea3 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 30 Aug 2018 13:50:32 +0200 Subject: o Adjusting fail2ban. --- .../knot-misc/files/etc/fail2ban/jail.d/99-ansible.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ansible/roles/knot-misc/files/etc/fail2ban/jail.d/99-ansible.conf (limited to 'ansible/roles/knot-misc/files/etc') diff --git a/ansible/roles/knot-misc/files/etc/fail2ban/jail.d/99-ansible.conf b/ansible/roles/knot-misc/files/etc/fail2ban/jail.d/99-ansible.conf new file mode 100644 index 0000000..02f32b8 --- /dev/null +++ b/ansible/roles/knot-misc/files/etc/fail2ban/jail.d/99-ansible.conf @@ -0,0 +1,16 @@ +# Managed by Ansible + +[sshd] +enabled = true +maxretry = 3 +bantime = 12h + +[postfix] +enabled = true +maxretry = 3 +bantime = 12h + +[dovecot] +enabled = true +maxretry = 3 +bantime = 12h -- cgit v1.2.3