Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to California  
Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Conditional logging problem when trying to remove long SEARCH(WebDAV) requests




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

chekov is offline     Conditional logging problem when trying to remove long SEARCH(WebDAV) requests  
chekov


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for chekov Click here to Send chekov a Private Message Find more posts by chekov Add chekov to your buddy list
 
05-01-04 08:40 PM

Hi,

I have a problem with getting the long SEARCH requests logged
seperately. I'm using this configuration:
code:
SetEnvIfNoCase Request_Method "SEARCH" worm SetEnvIf Request_URI "^/[a-zA-Z0-9 ].*" !worm SetEnvIfNoCase Request_URI "^/$" !worm CustomLog /var/log/apache/access_log common env=!worm CustomLog /var/log/apache/worm_attacks "%h - %t \"Worm attack\" %>s %b" env= worm
Now, when I telnet to the server and query for example "SEARCH /#¤%" then it is correctly identified as a "worm attack" and when I query "SEARCH /" it is identified as a valid request. Ok so far so good, it seems to be working. Now then the problem is that when the WebDAV worms come with their long SEARCH queries they don't get recognized as worms. So is this some kind of bug in Apache? I'm using Apache 1.3.24 on a Linux machine. Thanks for any help, Daniel Bengs


Last edited by chekov on 05-01-04 at 09:10 PM



[ Post a follow-up to this message ]



    Re: Conditional logging problem when trying to remove long SEARCH(WebDAV) requests  
HansH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-02-04 12:33 AM


"chekov" <chekov.15ljlp@mail.webservertalk.com> schreef in bericht
news:chekov.15ljlp@mail.webservertalk.com...
> Ok so far so good, it seems to be working. Now then the problem is
> that when the WebDAV worms come with their long SEARCH queries they
> don't get recognized as worms.
http://httpd.apache.org/docs/mod/co...imitrequestbody
One of the LimitRequest* directives setting or their defaults may make your
Apache report an _error_ before you are given a change to divert the log of
_access_.

> So is this some kind of bug in Apache?
That depends on ones point of view...
... in general it is not good to process an oversized
... so reporting reciept of an incomplete request seems appropriate

HansH








[ Post a follow-up to this message ]



chekov is offline       
chekov


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for chekov Click here to Send chekov a Private Message Find more posts by chekov Add chekov to your buddy list
 
05-02-04 07:50 PM

Ok, yes I do get a lot of "request failed: URI too long" in the error_log...
 so what should I do then, increase the limit?
That might of course not really be so good... but on the other hand are ther
e any other solutions?


Daniel




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:54 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register