[artix-general] fail2ban

Xavier B. somenxavier at posteo.net
Sun Jul 23 19:44:58 CEST 2023


Solved. Just a time: "enabled", not "enable"

On Sun, 23 Jul 2023 17:15:39 +0000
"Xavier B." <somenxavier at posteo.net> ha escrit:

> Hi,
> 
> I installed fail2ban and fail2ban-openrc packages. Following arch wiki [https://wiki.archlinux.org/title/Fail2ban], I created a file /etc/fail2ban/jail.local with the content:
> 
> # cat /etc/fail2ban/jail.local
> [DEFAULT]
> bantime = 200d
> banaction = nftables
> banaction_allports = nftables[type=allports]
> 
> [nginx-botsearch]
> enable=true
> 
> [nginx-bad-request]
> enable=true
> 
> and restart fail2ban daemon. But fail2ban has no rules loaded:
> 
> # fail2ban-client status
> Status
> |- Number of jail:      0
> `- Jail list:
> 
> Why?
> 
> Anyone could help me?
> -- 
> artix-general mailing list
> artix-general at artixlinux.org
> https://lists.artixlinux.org/listinfo/artix-general


More information about the artix-general mailing list