Merge pull request #588 from grooverdan/badips

ENH: Badips action (reporting)
pull/589/head
Daniel Black 2014-01-17 23:10:29 -08:00
commit 1452be4a3a
3 changed files with 21 additions and 0 deletions

View File

@ -68,6 +68,7 @@ ver. 0.8.12 (2013/12/XX) - things-can-only-get-better
- Added filter.d/horde - Added filter.d/horde
- Added filter for freeswitch. Thanks Jim and editors and authors of - Added filter for freeswitch. Thanks Jim and editors and authors of
http://wiki.freeswitch.org/wiki/Fail2ban http://wiki.freeswitch.org/wiki/Fail2ban
- Added action.d/badips. Thanks to Amy for making a nice API.
ver. 0.8.11 (2013/11/13) - loves-unittests-and-tight-DoS-free-filter-regexes ver. 0.8.11 (2013/11/13) - loves-unittests-and-tight-DoS-free-filter-regexes

1
THANKS
View File

@ -12,6 +12,7 @@ ache
ag4ve (Shawn) ag4ve (Shawn)
Alasdair D. Campbell Alasdair D. Campbell
Amir Caspi Amir Caspi
Amy
Andrey G. Grozin Andrey G. Grozin
Andy Fragen Andy Fragen
Arturo 'Buanzo' Busleiman Arturo 'Buanzo' Busleiman

View File

@ -0,0 +1,19 @@
# Fail2ban reporting to badips.com
#
# Note: This reports and IP only and does not actually ban traffic. Use
# another action in the same jail if you want bans to occur.
#
# Set the category to the appropriate value before use.
#
# To get see register and optional key to get personalised graphs see:
# http://www.badips.com/blog/personalized-statistics-track-the-attackers-of-all-your-servers-with-one-key
[Definition]
actionban = curl --fail --user-agent "fail2ban v0.8.12" http://www.badips.com/add/<category>/<ip>
[Init]
# Option: category
# Notes.: Values are from the list here: http://www.badips.com/get/categories
category =