Galera, montei as seguintes regras no meu pf.conf:

table <fail2ban> persist file "/etc/pf.table.fail2ban"
block drop in on $ext_if from <fail2ban> to any

Só que a cada "pfctl -t fail2ban -T add <ip>" que ocorre no action que 
coloquei no script, o arquivo fica vazio e não registra nada! Ao 
consultar a tabela em memória (pfctl -t fail2ban -T show), todos os IPs 
estão lá, até o próximo reboot da maquina.
O que poderia estar errado nesta regra?
Andei pesquisando e não achei nada relacionado a esse problema.
--
Sergio Augusto Vladisauskis
-> Oportunix IT Services Brasil
-> Site: http://www.oportunix.com.br
-> Fone: +55 13 3822 2300
-> Móvel: +55 11 8017 5065
-> Skype: oportunix
-> Registered Linux User: 305281

-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a