Page 1 of 1

Fail2ban - Настройка

Posted: Mon Apr 09, 2018 6:19 am
by Djalin
Подскажите где настроить время блокировки? ІР пропадаю с блеклиста довльно быстро.

Re: Fail2ban - Настройка

Posted: Mon Apr 09, 2018 1:51 pm
by yariksat
Djalin wrote:
Mon Apr 09, 2018 6:19 am
Подскажите где настроить время блокировки? ІР пропадаю с блеклиста довльно быстро.
/etc/fail2ban/jail.conf

Code: Select all

# "bantime" is the number of seconds that a host is banned.
bantime  = 604800

# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
findtime = 604800
maxretry = 3
Неделя в секундах

Re: Fail2ban - Настройка

Posted: Mon Apr 09, 2018 4:23 pm
by Djalin
Спасибо