From 2063ce4b238c591872ff8f7df045230a15d92f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 1 Jul 2015 14:48:44 +0200 Subject: [PATCH] All the arguments must be listed in [Init] --- config/action.d/cloudflare.conf | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/config/action.d/cloudflare.conf b/config/action.d/cloudflare.conf index c54c72cf7..16dce008a 100644 --- a/config/action.d/cloudflare.conf +++ b/config/action.d/cloudflare.conf @@ -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=' -d 'email=' -d 'key=' [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 =