add some comments
This commit is contained in:
parent
1e39bc4944
commit
3272200c30
|
@ -12,11 +12,32 @@ jails:
|
||||||
bantime: 604800
|
bantime: 604800
|
||||||
findtime: 604800
|
findtime: 604800
|
||||||
action: "%(action_mwl)s"
|
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
|
# enabled: true
|
||||||
# filter: asterisk
|
# filter: somefilenamefilter
|
||||||
# logpath: /var/log/asterisk/messages
|
# logpath: /var/log/logofserviceauths
|
||||||
# port: ['asterisk', '5060']
|
# port: ['nameofservice', 'PORTNUMBEROFSERVICE']
|
||||||
# maxretry: 10
|
# maxretry: 4 # max retry to auth
|
||||||
# bantime: 10m
|
# bantime: 604800 # 1week bantime in seconds
|
||||||
# findtime: 10m
|
# 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
|
||||||
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
Loading…
Reference in New Issue