add some comments

This commit is contained in:
Ruben Blanco 2023-10-23 11:09:16 +02:00
parent 1e39bc4944
commit 3272200c30
1 changed files with 28 additions and 7 deletions

View File

@ -12,11 +12,32 @@ jails:
bantime: 604800
findtime: 604800
action: "%(action_mwl)s"
#- name: asterisk
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# EXAMPLE
# bantime: "604800"
# maxretry: "4"
# findtime: "604800"
# jails:
#- name: NAME-FILTER(/etc/fail2ban/filter.d/somefilenamefilter) - (first JAIL)
# enabled: true
# filter: asterisk
# logpath: /var/log/asterisk/messages
# port: ['asterisk', '5060']
# maxretry: 10
# bantime: 10m
# findtime: 10m
# filter: somefilenamefilter
# logpath: /var/log/logofserviceauths
# port: ['nameofservice', 'PORTNUMBEROFSERVICE']
# maxretry: 4 # max retry to auth
# bantime: 604800 # 1week bantime in seconds
# findtime: 604800 # 1week time finding source-host auth
#- name: NAME-FILTER(/etc/fail2ban/filter.d/somefilenamefilter) - (second JAIL)
# enabled: true
# filter: somefilenamefilter
# logpath: /var/log/logofserviceauths
# port: ['nameofservice', 'PORTNUMBEROFSERVICE']
# maxretry: 4 # max retry to auth
# bantime: 604800 # 1week bantime in seconds
# findtime: 604800 # 1week time finding source-host auth
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# 31536000 ; year
# 18144000 ; 30days
# 604800 ; 1 week
# 86400 ; 1 day
# 3600 ; 1 hour
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++