Sophie

Sophie

sources > fail2ban > fail2ban-1.0.1-too-much-info-abuseipd.patch > f53e63ed6f77c3c228e89808313f651a
Next
--- 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