[CentOS] Fail2ban problem

Sun Mar 18 13:08:31 UTC 2012
Timothy Murphy <gayleard at eircom.net>

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 .


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin