0

Fail2ban doesn't seem to block permanently.

I have bantime =-1 but if i look a bit later on my iptables its just not there anymore all ill see is

Chain fail2ban-ssh (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0

Why is this happening if i set it to -1, is there something else i need to configure?

soniccool
  • 181

1 Answers1

1

Fail2ban doesn't have a feature to permanently block.

See http://www.fail2ban.org/wiki/index.php/Fail2ban%3aCommunity_Portal#Permanently_Ban_Persistent_IP_Addresses and http://whyscream.net/wiki/index.php/Fail2ban_monitoring_Fail2ban for more information.

Drew Khoury
  • 4,677