#1 Permanent banning

open
Cyril Jaquier
None
5
2005-06-29
2005-06-29
Cyril Jaquier
No

Hi, I would love to see pernament banning for hosts
that were banned
more that defined amount of times, I saw in my logs few
ip's that are
banned every couple of days and I blocked them in my
iptables, I would
be great if fail2ban did that for me.Thanks

Discussion

  • coolsylver
    coolsylver
    2005-11-09

    Logged In: YES
    user_id=1376189

    I like to second that feature as well thanks.

     
  • Cyril Jaquier
    Cyril Jaquier
    2005-12-17

    Logged In: YES
    user_id=933467

    Not really the requested feature but I added in CVS HEAD
    (will be 0.6.1) the possibility to set bantime to a negative
    value for permanent banning.

    bantime = -1

    This will never unban banned IP addresses.

     
  • Logged In: NO

    I would also like to see a feature similar to this.
    It would be useful if it were possible to increase the time a host is blocked if the host attempted to connect while still blocked. For example, if while blocked for one hour a host attempted to connect, the ban time would be increased to two hours, then four, then eight, and so on with permament banning being possible after some ban time threshold is met. It would be good if the factor at which the ban time increased could be configured. All of this might also be useful towards satisfying request 1441895. Thanks.