Updated comments

pull/766/head
leftyfb 2014-07-17 23:49:35 -04:00
parent 5471e99ebe
commit cba570cabd
1 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,9 @@
#
# Author: Mike Rushton
#
# $Revision$
# Referenced from 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/my-account
#
[Definition]
@ -27,18 +29,18 @@ actioncheck =
# Option: actionban
# Notes.: command executed when banning an IP. Take care that the
# command is executed with Fail2Ban user rights.
# Tags: <ip> IP address
# <failures> number of failures
# <time> unix timestamp of the ban time
# Tags: <ip> IP address
# <failures> number of failures
# <time> unix timestamp of the ban time
# Values: CMD
#
actionban = curl -s "https://www.cloudflare.com/api.html?a=ban&key=<ip>&u=<cfuser>&tkn=<cftoken>"
# Option: actionunban
# Notes.: command executed when unbanning an IP. Take care that the
# command is executed with Fail2Ban user rights.
# Tags: &lt;ip&gt; IP address
# &lt;failures&gt; number of failures
# &lt;time&gt; unix timestamp of the ban time
# Tags: <ip> IP address
# <failures> number of failures
# <time> unix timestamp of the ban time
# Values: CMD
#
actionunban = curl -s "https://www.cloudflare.com/api.html?a=nul&key=<ip>&u=<cfuser>&tkn=<cftoken>"