From 83f7fe4b8402bab171d110703a1b1115efbc9b28 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 14 Apr 2026 22:32:43 +0200 Subject: cleaned up many scrits and deleted some that were of no use; renamed a lot --- .../etc-fail2ban/action.d/xarf-login-attack.conf | 143 --------------------- 1 file changed, 143 deletions(-) delete mode 100644 straper/db/public/fail2ban/etc-fail2ban/action.d/xarf-login-attack.conf (limited to 'straper/db/public/fail2ban/etc-fail2ban/action.d/xarf-login-attack.conf') diff --git a/straper/db/public/fail2ban/etc-fail2ban/action.d/xarf-login-attack.conf b/straper/db/public/fail2ban/etc-fail2ban/action.d/xarf-login-attack.conf deleted file mode 100644 index f348b2c..0000000 --- a/straper/db/public/fail2ban/etc-fail2ban/action.d/xarf-login-attack.conf +++ /dev/null @@ -1,143 +0,0 @@ -# Fail2Ban action for sending xarf Login-Attack messages to IP owner -# -# IMPORTANT: -# -# Emailing a IP owner of abuse is a serious complain. Make sure that it is -# serious. Fail2ban developers and network owners recommend you only use this -# action for: -# * The recidive where the IP has been banned multiple times -# * Where maxretry has been set quite high, beyond the normal user typing -# password incorrectly. -# * For filters that have a low likelihood of receiving human errors -# -# DEPENDENCIES: -# -# This requires the dig command from bind-utils -# -# This uses the https://abusix.com/contactdb.html to lookup abuse contacts. -# -# XARF is a specification for sending a formatted response -# for non-messaging based abuse including: -# -# Login-Attack, Malware-Attack, Fraud (Phishing, etc.), Info DNSBL -# -# For details see: -# https://github.com/xarf/xarf-specification -# http://www.x-arf.org/schemata.html -# -# Author: Daniel Black -# Based on complain written by Russell Odom -# -# - -[Definition] - -# bypass ban/unban for restored tickets -norestored = 1 - -actionstart = - -actionstop = - -actioncheck = - -actionban = oifs=${IFS}; - RESOLVER_ADDR="%(addr_resolver)s" - if [ "" -gt 0 ]; then echo "try to resolve $RESOLVER_ADDR"; fi - ADDRESSES=$(dig +short -t txt -q $RESOLVER_ADDR | tr -d '"') - IFS=,; ADDRESSES=$(echo $ADDRESSES) - IFS=${oifs} - IP= - FROM= - SERVICE= - FAILURES= - REPORTID=