This commit is contained in:
Ruben Blanco 2023-10-27 10:14:41 +02:00
parent 2612e4879c
commit 4d643b0d11
2 changed files with 8 additions and 8 deletions

View File

@ -8,10 +8,10 @@ jails:
filter: sshd
logpath: /var/log/auth.log
port: ['ssh', '22']
maxretry: 4
bantime: 604800
findtime: 604800
action: "%(action_mwl)s"
# maxretry: 4
# bantime: 604800
# findtime: 604800
# action: "%(action_mwl)s"
# - name: asterisk
# enabled: true
# filter: asterisk

View File

@ -75,9 +75,9 @@ enabled = {{ jail.enabled }}
filter = {{ jail.filter }}
logpath = {{ jail.logpath }}
port = {{ jail.port | join(' ') }}
maxretry = {{ jail.maxretry }}
bantime = {{ jail.bantime }}
findtime = {{ jail.findtime }}
action = {{ jail.action }}
#maxretry = {{ jail.maxretry }}
#bantime = {{ jail.bantime }}
#findtime = {{ jail.findtime }}
#action = {{ jail.action }}
{% endfor %}
#+++++++++++++++++++++++++++++++++++++