LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Resolved] error.log timestamp - fail2ban

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2010, 05:53 AM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Default [Resolved] error.log timestamp - fail2ban

Hello,

I'm currently trying to ban ip's that reach the hard-limit through fail2ban. But fail2ban tells me that the timestamp used by litespeed in the error.log isn't supported.

Is there any way to change the timestamp format in the error.log?

Last edited by NiteWave; 03-21-2010 at 04:09 PM..
Reply With Quote
  #2  
Old 03-20-2010, 08:45 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,297
what's the current time stamp format in error.log?
Reply With Quote
  #3  
Old 03-20-2010, 02:44 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
it's 2010-03-20 18:18:39.041
Reply With Quote
  #4  
Old 03-21-2010, 12:19 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,297
it should be OK. The root cause may be somewhere else. I installed fail2ban on 2 of our servers some time back. exactly same time stamp as yours.
Reply With Quote
  #5  
Old 03-21-2010, 03:11 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
okay, it seems they've added that timestamp in 0.8.1, after the update it works now, thanks.
Reply With Quote
  #6  
Old 05-18-2010, 09:04 AM
J.T. J.T. is offline
Senior Member
 
Join Date: Apr 2010
Posts: 52
Could either of you please share your Fail2Ban jail config?

F2B was imperative in protecting our old Apache based web server and I'd really like to have it work well with Litespeed too. Especially vulnerability probes which were dealt with easily with the NoScript jail. I'm hoping LSWS logs those attempts to access known bad scripts that don't exist on our server too so Fail2Ban can block them.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:00 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.