All the arguments must be listed in [Init]

pull/1085/head
Viktor Szépe 10 years ago
parent 79457112e9
commit 2063ce4b23

@ -9,15 +9,6 @@
# Referenced from http://www.normyee.net/blog/2012/02/02/adding-cloudflare-support-to-fail2ban by NORM YEE
#
# To get your CloudFlare API Key: https://www.cloudflare.com/a/account/my-account
#
# This action needs to be set up in jail.local
#
# action = %(action_cf_mwl)s
# # Your CF account e-mail
# cfemail =
# # Your CF API Key
# cfapikey =
[Definition]
@ -60,3 +51,15 @@ actionban = curl -s -o /dev/null https://www.cloudflare.com/api_json.html -d 'a=
actionunban = curl -s -o /dev/null https://www.cloudflare.com/api_json.html -d 'a=nul' -d 'tkn=<cftoken>' -d 'email=<cfuser>' -d 'key=<ip>'
[Init]
# This action needs to be set up in jail.local or in jail.d/somefile.conf
#
# action = %(action_cf_mwl)s
# # Your CF account e-mail
# cfemail =
# # Your CF API Key
# cfapikey =
cftoken =
cfuser =

Loading…
Cancel
Save