Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > b300abd69ee0cfd0df96c086086259ed > files > 3

fail2ban-1.0.2-1.3.mga9.src.rpm

--- patch1.0.1/config/action.d/abuseipdb.conf	2022-09-27 18:27:51.000000000 +0200
+++ patch1.0.1/config/action.d/abuseipdb.conf-no-ip-reveal	2022-10-01 11:17:23.857448394 +0200
@@ -85,7 +85,7 @@ actioncheck =
 # Tags:    See jail.conf(5) man page
 # Values:  CMD
 #
-actionban = lgm=$(printf '%%.1000s\n...' "<matches>"); curl -sSf "https://api.abuseipdb.com/api/v2/report" -H "Accept: application/json" -H "Key: <abuseipdb_apikey>" --data-urlencode "comment=$lgm" --data-urlencode "ip=<ip>" --data "categories=<abuseipdb_category>"
+actionban = curl -sSf "https://api.abuseipdb.com/api/v2/report" -H "Accept: application/json" -H "Key: <abuseipdb_apikey>" --data-urlencode "comment=<lgm>" --data-urlencode "ip=<ip>" --data "categories=<abuseipdb_category>"
 
 # Option:  actionunban
 # Notes.:  command executed when unbanning an IP. Take care that the