From 79457112e9c8fffa2d341dd0dabcf57f6aad6e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 1 Jul 2015 09:38:36 +0200 Subject: [PATCH] Updated CF action --- config/action.d/cloudflare.conf | 29 ++++++++++++++++++----------- config/jail.conf | 4 ++++ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/config/action.d/cloudflare.conf b/config/action.d/cloudflare.conf index 4d5e2dc8..c54c72cf 100644 --- a/config/action.d/cloudflare.conf +++ b/config/action.d/cloudflare.conf @@ -1,10 +1,23 @@ # # Author: Mike Rushton # -# Referenced from from http://www.normyee.net/blog/2012/02/02/adding-cloudflare-support-to-fail2ban by NORM YEE +# IMPORTANT # -# To get your Cloudflare API key: https://www.cloudflare.com/my-account +# Please set jail.local's permission to 640 because it contains your CF API key. # +# This action depends on curl. +# 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] @@ -34,7 +47,8 @@ actioncheck = #