/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/osx-ipfw.conf (2302B)
# Fail2Ban configuration file # # Author: Nick Munger # Modified by: Andy Fragen and Daniel Black # # Mod for OS X, using random rulenum as OSX ipfw doesn't include tables # [Definition] # Option: actionstart # Notes.: command executed on demand at the first ban (or at the start of Fail2Ban if actionstart_on_demand is set to false). # Values: CMD # actionstart = # Option: actionstop # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) # Values: CMD # actionstop = # Option: actioncheck # Notes.: command executed once before each actionban command # Values: CMD # actioncheck = # Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address # Values: CMD # actionban = ipfw add set log from to # Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address # Values: CMD # actionunban = ipfw delete `ipfw -S list | grep -i 'set log from to ' | awk '{print $1;}'` [Init] # Option: port # Notes.: specifies port to block. Can be blank however may require block="ip" # Values: [ NUM | STRING ] # port = ssh # Option: dst # Notes.: the local IP address of the network interface # Values: IP, any, me or anything support by ipfw as a dst # dst = me # Option: block # Notes: This is how much to block. # Can be "ip", "tcp", "udp" or various other options. # Values: STRING block = tcp # Option: blocktype # Notes.: How to block the traffic. Use a action from man 8 ipfw # Common values: deny, unreach port, reset # Values: STRING # blocktype = unreach port # Option: set number # Notes.: The ipset number this is added to. # Values: 0-31 setnum = 10 # Option: number for ipfw rule # Notes: This is meant to be automatically generated and not overwritten # Values: Random value between 10000 and 12000 rulenum="`echo $((RANDOM%%2000+10000))`" # Duplicate prevention mechanism #rulenum = "`a=$((RANDOM%%2000+10000)); while ipfw show | grep -q ^$a\ ; do a=$((RANDOM%%2000+10000)); done; echo $a`"