Changing fail2ban settings

Discussion in 'Installation/Configuration' started by sergio.morales, Jun 28, 2012.

  1. sergio.morales

    sergio.morales New Member

    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!

  2. falko

    falko Super Moderator ISPConfig Developer

    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).

Share This Page