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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Request Filter Logging

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2009, 12:25 PM
melinite melinite is offline
Member
 
Join Date: Nov 2008
Posts: 12
Default Request Filter Logging

Where do i view the logs entries?

I have set log level 1 and server log level to debug, still no entries in log?
Want to test SQL injection attack logs.

Please advise.
Reply With Quote
  #2  
Old 04-23-2009, 06:58 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
If you use Apache httpd.conf, you should change mod_security configuration there.
If you configure filter rules natively, you can try setting log level to 9.
Reply With Quote
  #3  
Old 04-24-2009, 07:32 AM
melinite melinite is offline
Member
 
Join Date: Nov 2008
Posts: 12
Ok log level 9 works, but also floods the log files with all requests like this:

2009-04-24 10:27:55.461 [INFO] [208.52.160.186:33167-2] no request variables, skip ruleset: SQL Injection attack

Like 1000 log entries in 10 minutes.

How to just log when an attack happens.

Soon as I drop to level 8, only logs ALL requests that skip the ruleset.


I'm using native filters from admin console.

Please advise.
Reply With Quote
  #4  
Old 04-24-2009, 04:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Then you set debug log level to 0, only real attack blocked will be logged.
Reply With Quote
  #5  
Old 04-24-2009, 05:27 PM
melinite melinite is offline
Member
 
Join Date: Nov 2008
Posts: 12
Server Log level is set to Debug | Debug level none.

Log level 9 on request filter floods logs still.

Anything less than 9 on request filter log level and attacks don't get logged only skip ruleset notices which flood the log.


Using ver 4.01


I must be missing something.

Please advise.
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 12:53 PM.



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