Linode Forum Index Linode Forum
Linode Community Forums
 


fail2ban question

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
lamacuckoo



Joined: 20 May 2009
Posts: 2

Posted: Wed May 20, 2009 10:36 am    Post subject: fail2ban question  

I installed fail2ban for added security and managed to get everything set up right, it seems. One question though. I noticed that /var/log/fail2ban.log date format is different from my targeted log files (i.e /var/log/mail.log, /var/log/apache2/error.log, etc).

Ex. /var/log/fail2ban.log
Code: 2009-05-20 07:19:51,490 fail2ban.filter : INFO Set maxRetry = 3

Ex. /var/log/mail.log
Code: May 20 12:49:42 pono postfix/smtpd[10432]: connect from unknown[123.456.7.89]

Do the different date/time formats the the logs make a difference? Would this prevent fail2ban from banning ip's?

If so, what can i do to fix this, is there a setting in one of fail2ban conf files that I can change? Or should I change the global server date/time format settings?

Thank you , any help will be appreciated.
Back to top  
lamacuckoo



Joined: 20 May 2009
Posts: 2

Posted: Wed May 20, 2009 10:37 am    Post subject:  

Forgot to mention,

Distro: Debian 5.0 Lenny
Back to top  
jed



Joined: 28 Mar 2009
Posts: 394
Location: New Jersey

Posted: Wed May 20, 2009 2:13 pm    Post subject: Re: fail2ban question  

lamacuckoo wrote: Do the different date/time formats the the logs make a difference? Would this prevent fail2ban from banning ip's?
No. Logs are for your eyes only, and have no purpose other than you reading them (and possibly analyzing them with a tool).
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1