fail2ban-p2p/doc/fail2ban/action.d/fail2ban-p2p.conf

22 lines
491 B
Plaintext
Raw Normal View History

# Fail2Ban configuration file
#
# Author: Manuel Munz (manu at somakoma dot de)
#
[Definition]
# 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
# Values: CMD
#
actionban = python /usr/bin/fail2ban-p2p-client.py -b <ip>
[Init]
# Defaut name of the chain
#
name = default