/etc/fail2ban/action.d
NameSizeModeActions
abuseipdb.conf37480644editdlrm
apf.conf5870644editdlrm
badips.conf6290644editdlrm
badips.py115360644editdlrm
blocklist_de.conf27150644editdlrm
bsd-ipfw.conf32260644editdlrm
cloudflare.conf29700644editdlrm
complain.conf47570644editdlrm
dshield.conf76680644editdlrm
dummy.conf17170644editdlrm
firewallcmd-allports.conf15010644editdlrm
firewallcmd-common.conf26490644editdlrm
firewallcmd-ipset.conf27190644editdlrm
firewallcmd-multiport.conf13220644editdlrm
firewallcmd-new.conf19500644editdlrm
firewallcmd-rich-logging.conf10210644editdlrm
firewallcmd-rich-rules.conf18010644editdlrm
helpers-common.conf5920644editdlrm
hostsdeny.conf16570644editdlrm
ipfilter.conf15730644editdlrm
ipfw.conf15050644editdlrm
iptables-allports.conf15140644editdlrm
iptables-common.conf27380644editdlrm
iptables-ipset-proto4.conf20880644editdlrm
iptables-ipset-proto6-allports.conf27420644editdlrm
iptables-ipset-proto6.conf27850644editdlrm
iptables-multiport-log.conf21700644editdlrm
iptables-multiport.conf15080644editdlrm
iptables-new.conf15850644editdlrm
iptables-xt_recent-echo.conf26720644editdlrm
iptables.conf14270644editdlrm
mail-buffered.conf24310644editdlrm
mail-whois-common.conf10510644editdlrm
mail-whois-lines.conf24430644editdlrm
mail-whois.conf18420644editdlrm
mail.conf17090644editdlrm
mynetwatchman.conf53210644editdlrm
netscaler.conf14930644editdlrm
nftables-allports.conf3830644editdlrm
nftables-multiport.conf3840644editdlrm
nftables.conf63180644editdlrm
nginx-block-map.conf37460644editdlrm
npf.conf15240644editdlrm
nsupdate.conf32340644editdlrm
osx-afctl.conf4970644editdlrm
osx-ipfw.conf23020644editdlrm
pf.conf37500644editdlrm
route.conf10230644editdlrm
sendmail-buffered.conf28060644editdlrm
sendmail-common.conf19380644editdlrm
sendmail-geoip-lines.conf17610644editdlrm
sendmail-whois-ipjailmatches.conf10550644editdlrm
sendmail-whois-ipmatches.conf10360644editdlrm
sendmail-whois-lines.conf12990644editdlrm
sendmail-whois-matches.conf10000644editdlrm
sendmail-whois.conf9500644editdlrm
sendmail.conf8290644editdlrm
shorewall-ipset-proto6.conf35210644editdlrm
shorewall.conf21560644editdlrm
smtp.py62770644editdlrm
symbiosis-blacklist-allports.conf14180644editdlrm
ufw.conf10450644editdlrm
xarf-login-attack.conf64430644editdlrm
Edit: /etc/fail2ban/action.d/xarf-login-attack.conf (6443B)
# 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=