[CentOS] Fail2ban problem

Patrick Lists centos-list at puzzled.xs4all.nl
Sun Mar 18 09:30:05 EDT 2012


On 03/18/2012 02:08 PM, Timothy Murphy wrote:
> Patrick Lists wrote:
>
>>> If there is a serious power failure, eg during an electric storm,
>>> and the internet goes down
>>> then my CentOS-6.2 server seems to take an inordinate time, maybe
>>> forever, to get past fail2ban.
>>> It is as though there is an extremely long - maybe an hour - timeout
>>> if fail2ban cannot connect to the internet.
>>
>> Just a wild guess but could it be that fail2ban is trying to resolve all
>> the IP addresses in it's database? Iirc there is a config option called
>> use_dns. Try setting it to "no" or "warn".
>
> Thanks for the suggestion.
> But I couldn't find any option like that anywhere below /etc/fail2ban
> in fail2ban-0.8.4-28.el6 .

More info on the wiki:
http://www.fail2ban.org/wiki/index.php/Hostnames_or_IP_Addresses

Regards,
Patrick



More information about the CentOS mailing list