Le 24/05/2023 à 16:43, Wayne Sallee via Fail2ban-users a écrit :


-------- Original Message --------
*Subject: *  Re: [Fail2ban-users] Fwd: apache-proxy
*From: *     James Moe Via Fail2ban-users
<fail2ban-users@lists.sourceforge.net>
*To: *         Fail2ban-users <fail2ban-users@lists.sourceforge.net>
*CC: *
*Date: *      2023-5-21  02:17 PM
On 2023-05-19 13:49, François Patte wrote:

# fail2ban-regex --print-all-missed /var/log/fail2ban.log
/etc/fail2ban/filter.d/apache-proxy.conf

   You are testing fail2ban's log file. Shouldn't that be an apache log?


Yep. I overlooked that mistake. That explains the weird results he got
in the test.


I think that my problem is solved (in any case, up to now, my jails work):

in /etc/nftables.conf file, I added:

include "/etc/nftables/fail2ban.conf"

the file fail2ban.conf is:

#!/usr/sbin/nft -f

table inet fail2ban {
        chain input {
                # Assign a high priority to reject as fast as possible
and avoid more complex rule evaluation
                type filter hook input priority 100;
        }
}

F.P.


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to