diff --git a/host_vars/debian-test-awx-vm.yaml b/host_vars/debian-test-awx-vm.yaml index 462c261..b9b3099 100644 --- a/host_vars/debian-test-awx-vm.yaml +++ b/host_vars/debian-test-awx-vm.yaml @@ -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 \ No newline at end of file +# 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 +# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file