Hello all,
I just configured fail2ban (Fail2Ban v0.10.3.fix1), it works fine for banning IPs, but that's all, the table in pf is still empty.
But the table is still empty :
My pf.conf is quite simple :
I googled around, and can not find any clue.
Thanks in advance for any help
Regards,
Xavier
I just configured fail2ban (Fail2Ban v0.10.3.fix1), it works fine for banning IPs, but that's all, the table in pf is still empty.
Code:
[root@numenor ~]# fail2ban-client status sasl
Status for the jail: sasl
|- Filter
| |- Currently failed: 3
| |- Total failed: 4
| `- File list: /var/log/maillog
`- Actions
|- Currently banned: 9
|- Total banned: 9
`- Banned IP list: 191.96.249.92 191.96.249.24 191.96.249.26 191.96.249.13 45.125.66.126 191.96.249.14 191.96.249.61 185.222.209.88 93.174.93.32
Code:
[root@numenor ~]# pfctl -t fail2ban -T show
[root@numenor ~]#
My pf.conf is quite simple :
Code:
[root@numenor ~]# cat /etc/pf.conf
# $FreeBSD: stable/11/share/examples/pf/pf.conf 293862 2016-01-14 01:32:17Z kevlo $
# $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $
set skip on lo0
pass out quick all
tcp_services = "{ 2222, http, https, smtp, submission, domain }" # 2222 is ssh
table <fail2ban> persist
#anchor "f2b/*"
block in all
block in quick from <fail2ban>
pass in quick inet proto icmp all
pass in quick inet6 proto icmp6 all
pass in proto tcp from any to any port $tcp_services
pass in proto udp from any to any port domain
anchor "f2b/*"
I googled around, and can not find any clue.
Thanks in advance for any help
Regards,
Xavier