HEX
Server: Apache
System: Linux dinesh8149 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: usesambura1 (1212012)
PHP: 7.0.33
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //etc/fail2ban/action.d/iptables-captcha-ok.conf
# Fail2Ban configuration file
#
# Author: Fabiano Candiotto @ Locaweb 2024
#

[Definition]

# Option:  actionstart
#actionstart = iptables -t nat -N fail2ban-<name>
#              iptables -t nat -A fail2ban-<name> -j RETURN
#              iptables -t nat -I PREROUTING -p tcp -j fail2ban-<name>

# Option:  actionstop
#actionstop = iptables -t nat -D PREROUTING -p tcp -j fail2ban-<name>
#             iptables -t nat -F fail2ban-<name>
#             iptables -t nat -X fail2ban-<name>

# Option:  actioncheck
#actioncheck = iptables -n -t nat -L PREROUTING | grep -q fail2ban-captcha-ok
#actioncheck =

# Option:  actionban
#actionban = iptables -I fail2ban-<name> 1 -s <ip> -j DROP
#actionban = iptables -t nat -D fail2ban-lw-captcha -p tcp --source <ip> --dport 80 -j REDIRECT --to-port 8000
#            iptables -t nat -D fail2ban-lw-captcha -p tcp --source <ip> --dport 443 -j REDIRECT --to-port 8043
#            /usr/bin/fail2ban-client unban <ip>


#actionban = /usr/bin/firewall-cmd --ipset=security-captcha --remove-entry=<ip>
actionban = /usr/sbin/ipset del wplogin-captcha <ip>
            /usr/bin/fail2ban-client unban <ip>

# Option:  actionunban
#actionunban = iptables -D fail2ban-<name> -s <ip> -j DROP
actionunban =

[Init]

# Defaut name of the chain
name = default

# Option:  port
#port = 80
#toport = 8000

# Option:  protocol
#protocol = tcp