#1  
Old 6th December 2011, 12:17
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default Bantime fail2ban

Hi there,
Where to change bantimes for fail2ban?
Reply With Quote
Sponsored Links
  #2  
Old 6th December 2011, 21:42
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
 
Default

Create the file /etc/fail2ban/jail.local (the path may vary depending on the OS) and paste-in the following contents (which will override the defaults specified in /etc/fail2ban/jail.conf):

Code:
[DEFAULT]

bantime = 3600
Any of the configuration directives may be overridden in this file.

Try consulting the fail2ban documentation next time . All of this is spelled-out very clearly.

http://www.fail2ban.org/wiki/index.php/Manual
Reply With Quote
Reply

Bookmarks

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
fail2ban log-changes after manual 6.2. and 6.3 eko_taas Installation/Configuration 9 8th April 2011 11:24
Help with Fail2ban florix.net Installation/Configuration 4 26th January 2011 00:53
fail2ban is doing nothing? rlischer Server Operation 16 29th June 2010 07:29
Need help with fail2ban on centos 5.3 rlischer Installation/Configuration 3 14th August 2009 11:47
Fail2Ban not banning? tristanlee85 Server Operation 4 15th October 2008 13:44


All times are GMT +2. The time now is 18:06.


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