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 filter: sshd
logpath: /var/log/auth.log logpath: /var/log/auth.log
port: ['ssh', '22'] port: ['ssh', '22']
maxretry: 4 # maxretry: 4
bantime: 604800 # bantime: 604800
findtime: 604800 # findtime: 604800
action: "%(action_mwl)s" # action: "%(action_mwl)s"
# - name: asterisk # - name: asterisk
# enabled: true # enabled: true
# filter: asterisk # filter: asterisk

View File

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