Refs #8025 Rol debian-base. Task fail2ban jinga template.
This commit is contained in:
parent
06cc6fa26b
commit
e195130241
|
@ -5,6 +5,7 @@ fail2ban:
|
||||||
bantime: 600
|
bantime: 600
|
||||||
maxretry: 4
|
maxretry: 4
|
||||||
ignore: "127.0.0.0/8 {{ dc_net }}"
|
ignore: "127.0.0.0/8 {{ dc_net }}"
|
||||||
|
logpath: "/var/log/auth.log"
|
||||||
fail2ban_base_packages:
|
fail2ban_base_packages:
|
||||||
- fail2ban
|
- fail2ban
|
||||||
- rsyslog
|
- rsyslog
|
||||||
|
|
|
@ -17,4 +17,4 @@ action = %(action_)s
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 0:65535
|
port = 0:65535
|
||||||
filter = sshd
|
filter = sshd
|
||||||
logpath = %(sshd_log)s
|
logpath = {{ fail2ban.logpath }}
|
||||||
|
|
Loading…
Reference in New Issue