Line 52... |
Line 52... |
52 |
# Notes.: command executed when banning an IP. Take care that the
|
52 |
# Notes.: command executed when banning an IP. Take care that the
|
53 |
# command is executed with Fail2Ban user rights.
|
53 |
# command is executed with Fail2Ban user rights.
|
54 |
# Tags: See jail.conf(5) man page
|
54 |
# Tags: See jail.conf(5) man page
|
55 |
# Values: CMD
|
55 |
# Values: CMD
|
56 |
#
|
56 |
#
|
57 |
actionban = curl --fail --data-urlencode 'server=<email>' --data 'apikey=<apikey>' --data 'service=<service>' --data 'ip=<ip>' --data-urlencode 'logs=<matches>' --data 'format=text' --user-agent "fail2ban v0.8.12" "https://www.blocklist.de/en/httpreports.html"
|
57 |
actionban = curl --fail --data-urlencode 'server=<email>' --data 'apikey=<apikey>' --data 'service=<service>' --data 'ip=<ip>' --data-urlencode 'logs=<matches>' --data 'format=text' --user-agent "<agent>" "https://www.blocklist.de/en/httpreports.html"
|
58 |
|
58 |
|
59 |
# Option: actionunban
|
59 |
# Option: actionunban
|
60 |
# Notes.: command executed when unbanning an IP. Take care that the
|
60 |
# Notes.: command executed when unbanning an IP. Take care that the
|
61 |
# command is executed with Fail2Ban user rights.
|
61 |
# command is executed with Fail2Ban user rights.
|
62 |
# Tags: See jail.conf(5) man page
|
62 |
# Tags: See jail.conf(5) man page
|