Here is a good article for persistent bans:

-----Original Message-----
From: Roman Gelfand <>
To: fail2ban-users <>
Sent: Sun, Dec 8, 2013 7:03 pm
Subject: [Fail2ban-users] Repeat offenders

I have set the bantime for ssh rule for 600 secs.  If there are going
to be 6 occurrences by 600, I would like to ban the ip for good or at
least for couple of months.  Is there a way to do that?

Thanks in advance

Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
Fail2ban-users mailing list