[CentOS] Fail2ban problem

Sun Mar 18 11:48:29 UTC 2012
Patrick Lists <centos-list at puzzled.xs4all.nl>

On 03/18/2012 12:17 PM, Timothy Murphy 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".