Old 28th June 2012, 06:08
sergio.morales sergio.morales is offline
Senior Member
Join Date: Apr 2008
Posts: 107
Thanks: 3
Thanked 2 Times in 2 Posts
Default Changing fail2ban settings

Hello everyone. I want to make certain that I don't break anything in my current environment, so I figure I better ask before I try this.
I have been noticing a lot of failed login attempts from servers all over the world (Brasil, China, Korea, The Netherlands) and I know that fail2ban is the tool I need to stop these break-in attempts. How can I set it so it locks IP's out for longer than 10 minutes? What is the maximum amount of time I can lock someone out for? I'd like to set it to one week, but I'm not sure it's feasible.
Please give me some input here folks . . .
Thanks in advance!

Reply With Quote
Sponsored Links
Old 28th June 2012, 17:02
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Take a look at /etc/fail2ban/jail.conf. There you have the bantime option where you can set the bantime in seconds (e.g. 604800 for one week).
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
Help with Fail2ban florix.net Installation/Configuration 4 26th January 2011 01:53
fail2ban is doing nothing? rlischer Server Operation 16 29th June 2010 08:29
Changing network settings defsoul Desktop Operation 0 14th May 2010 09:32
chgrp error new user DKA General 15 28th July 2008 18:45

All times are GMT +2. The time now is 12:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.