Here is a good article for persistent bans:

http://zach.seifts.us/posts/2013/07/14/how-make-fail2ban-bans-persistent




-----Original Message-----
From: Roman Gelfand <rgelfand2@gmail.com>
To: fail2ban-users <fail2ban-users@lists.sourceforge.net>
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!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users