Some useful (hopefully) scripts that can be used with Fail2Ban. This assumes that you have a working knowledge of linux.
Obviously you need to have Fail2Ban installed and working.
Install python and pip:
sudo apt-get install python-pip
Install Cloudflare:
pip install cloudflare
The following scripts can be edited to provide configuration:
If using the cf-action
scripts, the api credentials can be added to your action.d/cloudflare.local
file (see examples).
See the examples directory for more info.
- Zach Schneider - Initial work - @wackywired135
- 2016/11/06 - Initial commit (work in progress)
Distributed under the MIT license. See the LICENSE
file for more info.