This commit is contained in:
Ruben Blanco 2023-10-27 10:24:20 +02:00
parent 191a8403ae
commit 580d93d8d1
2 changed files with 6 additions and 3 deletions

View File

@ -5,9 +5,11 @@ findtime: "604800"
jails:
- name: sshd
enabled: true
filter: sshd
logpath: /var/log/auth.log
port: ['ssh', '22']
filter: sshd
logpath: "%(sshd_log)s"
backend: "%(sshd_backend)s"
# maxretry: 4
# bantime: 604800
# findtime: 604800

View File

@ -72,8 +72,9 @@ action = %(action_mwl)s
#+++++++++++++++++++++++++++++++++++++
[{{ jail.name }}]
enabled = {{ jail.enabled }}
port = {{ jail.port | join(' ') }}
filter = {{ jail.filter }}
logpath = {{ jail.logpath }}
port = {{ jail.port | join(' ') }}
backend = {{ jail.backend }}
{% endfor %}
#+++++++++++++++++++++++++++++++++++++