X7ROOT File Manager
Current Path:
/etc/fail2ban/action.d
etc
/
fail2ban
/
action.d
/
📁
..
📄
abuseipdb.conf
(3.66 KB)
📄
apf.conf
(587 B)
📄
badips.conf
(629 B)
📄
badips.py
(11.27 KB)
📄
badips.pyc
(12.6 KB)
📄
badips.pyo
(12.6 KB)
📄
blocklist_de.conf
(2.65 KB)
📄
cloudflare.conf
(2.9 KB)
📄
dshield.conf
(7.5 KB)
📄
dummy.conf
(1.68 KB)
📄
firewallcmd-allports.conf
(1.47 KB)
📄
firewallcmd-common.conf
(2.59 KB)
📄
firewallcmd-ipset.conf
(2.66 KB)
📄
firewallcmd-multiport.conf
(1.29 KB)
📄
firewallcmd-new.conf
(1.9 KB)
📄
firewallcmd-rich-logging.conf
(1021 B)
📄
firewallcmd-rich-rules.conf
(1.76 KB)
📄
helpers-common.conf
(592 B)
📄
iptables-allports.conf
(1.48 KB)
📄
iptables-common.conf
(2.67 KB)
📄
iptables-ipset-proto4.conf
(2.04 KB)
📄
iptables-ipset-proto6-allports.conf
(2.68 KB)
📄
iptables-ipset-proto6.conf
(2.72 KB)
📄
iptables-multiport-log.conf
(2.12 KB)
📄
iptables-multiport.conf
(1.47 KB)
📄
iptables-new.conf
(1.55 KB)
📄
iptables-xt_recent-echo.conf
(2.61 KB)
📄
iptables.conf
(1.39 KB)
📄
mail-whois-common.conf
(1.03 KB)
📄
mynetwatchman.conf
(5.2 KB)
📄
netscaler.conf
(1.46 KB)
📄
nftables-allports.conf
(383 B)
📄
nftables-multiport.conf
(384 B)
📄
nftables.conf
(6.17 KB)
📄
nginx-block-map.conf
(3.66 KB)
📄
npf.conf
(1.49 KB)
📄
nsupdate.conf
(3.16 KB)
📄
route.conf
(1023 B)
📄
sendmail.conf
(829 B)
📄
shorewall-ipset-proto6.conf
(3.44 KB)
📄
smtp.py
(6.13 KB)
📄
smtp.pyc
(5.98 KB)
📄
smtp.pyo
(5.98 KB)
📄
symbiosis-blacklist-allports.conf
(1.38 KB)
📄
xarf-login-attack.conf
(6.29 KB)
Editing: iptables-xt_recent-echo.conf
# Fail2Ban configuration file # # Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> # # Modified: Alexander Koeppe <format_c@online.de>, Serg G. Brester <serg.brester@sebres.de> # made config file IPv6 capable [INCLUDES] before = iptables-common.conf [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 # # Changing iptables rules requires root privileges. If fail2ban is # configured to run as root, firewall setup can be performed by # fail2ban automatically. However, if fail2ban is configured to run as # a normal user, the configuration must be done by some other means # (e.g. using static firewall configuration with the # iptables-persistent package). # # Explanation of the rule below: # Check if any packets coming from an IP on the <iptname> # list have been seen in the last 3600 seconds. If yes, update the # timestamp for this IP and drop the packet. If not, let the packet # through. # # Fail2ban inserts blacklisted hosts into the <iptname> list # and removes them from the list after some time, according to its # own rules. The 3600 second timeout is independent and acts as a # safeguard in case the fail2ban process dies unexpectedly. The # shorter of the two timeouts actually matters. actionstart = if [ `id -u` -eq 0 ];then <iptables> -I <chain> -m recent --update --seconds 3600 --name <iptname> -j <blocktype>;fi # Option: actionflush # # [TODO] Flushing is currently not implemented for xt_recent # actionflush = # Option: actionstop # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) # Values: CMD # actionstop = echo / > /proc/net/xt_recent/<iptname> if [ `id -u` -eq 0 ];then <iptables> -D <chain> -m recent --update --seconds 3600 --name <iptname> -j <blocktype>;fi # Option: actioncheck # Notes.: command executed once before each actionban command # Values: CMD # actioncheck = test -e /proc/net/xt_recent/<iptname> # Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: See jail.conf(5) man page # Values: CMD # actionban = echo +<ip> > /proc/net/xt_recent/<iptname> # Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: See jail.conf(5) man page # Values: CMD # actionunban = echo -<ip> > /proc/net/xt_recent/<iptname> [Init] iptname = f2b-<name> [Init?family=inet6] iptname = f2b-<name>6
Upload File
Create Folder