Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Eliminating long access.log entries

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Cannot get virtual servers working  
Author Message
ibeonmypc

External


Since: Mar 18, 2004
Posts: 2



(Msg. 1) Posted: Thu Mar 18, 2004 8:50 pm
Post subject: Eliminating long access.log entries
Archived from groups: alt>apache>configuration (more info?)

My webalizer cron job was not running because I had a few entries in my
access.log file of \x90\x90\x90, which just ran on forever. Webalizer was
complaining of oversized log records. This just appears to be a ASP buffer
overflow exploit. Is there any way to keep this from happeneing in the
future? Or do I just have to watch for the errors then delete the long
entries from my log file?

Jarrett

 >> Stay informed about: Eliminating long access.log entries 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 2) Posted: Thu Mar 18, 2004 10:03 pm
Post subject: Re: Eliminating long access.log entries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <Xjl6c.60180$QP.25864@twister.rdc-kc.rr.com>,
Mike Wright <ibeonmypc.DeleteThis@hot_mail.com> wrote:

 > My webalizer cron job was not running because I had a few entries in my
 > access.log file of \x90\x90\x90, which just ran on forever. Webalizer was
 > complaining of oversized log records. This just appears to be a ASP buffer
 > overflow exploit. Is there any way to keep this from happeneing in the
 > future? Or do I just have to watch for the errors then delete the long
 > entries from my log file?

webalizer should definitively run ok even with a log file full of such
records. It will normally issue a warning for thoses nasty log entry but
will properly generate log statistics.
Are your PERL and your webalizer up to date ?

patpro

--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Eliminating long access.log entries 
Back to top
Login to vote
ibeonmypc

External


Since: Mar 18, 2004
Posts: 2



(Msg. 3) Posted: Thu Mar 18, 2004 10:03 pm
Post subject: Re: Eliminating long access.log entries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

patpro wrote:

 > In article <Xjl6c.60180$QP.25864@twister.rdc-kc.rr.com>,
 > Mike Wright <ibeonmypc.DeleteThis@hot_mail.com> wrote:
 >
  >> My webalizer cron job was not running because I had a few entries in my
  >> access.log file of \x90\x90\x90, which just ran on forever. Webalizer was
  >> complaining of oversized log records. This just appears to be a ASP
  >> buffer overflow exploit. Is there any way to keep this from happeneing in
  >> the future? Or do I just have to watch for the errors then delete the
  >> long entries from my log file?
 >
 > webalizer should definitively run ok even with a log file full of such
 > records. It will normally issue a warning for thoses nasty log entry but
 > will properly generate log statistics.
 > Are your PERL and your webalizer up to date ?
 >
 > patpro
 >

Yeah I guess it still ran, but it just gave me that error of;

Skipping oversided log record.

That specific line was about 24,000 characters long. There were four
different instances of it.

Perl 5.6.1
Webalizer V2.01-10<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Eliminating long access.log entries 
Back to top
Login to vote
thorax

External


Since: Mar 29, 2004
Posts: 4



(Msg. 4) Posted: Mon Mar 29, 2004 4:25 pm
Post subject: Re: Eliminating long access.log entries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mike Wright <ibeonmypc.RemoveThis@hot_mail.com> wrote in
news:Lhm6c.60190$QP.9516@twister.rdc-kc.rr.com:

 > patpro wrote:
 >
  >> In article <Xjl6c.60180$QP.25864@twister.rdc-kc.rr.com>,
  >> Mike Wright <ibeonmypc.RemoveThis@hot_mail.com> wrote:
  >>
   >>> My webalizer cron job was not running because I had a few entries in my
   >>> access.log file of \x90\x90\x90, which just ran on forever. Webalizer was
   >>> complaining of oversized log records. This just appears to be a ASP
   >>> buffer overflow exploit. Is there any way to keep this from happeneing in
   >>> the future? Or do I just have to watch for the errors then delete the
   >>> long entries from my log file?
  >>
  >> webalizer should definitively run ok even with a log file full of such
  >> records. It will normally issue a warning for thoses nasty log entry but
  >> will properly generate log statistics.
  >> Are your PERL and your webalizer up to date ?
  >>
  >> patpro
  >>
 >
 > Yeah I guess it still ran, but it just gave me that error of;
 >
 > Skipping oversided log record.
 >
 > That specific line was about 24,000 characters long. There were four
 > different instances of it.
 >
 > Perl 5.6.1
 > Webalizer V2.01-10

Hi,

Sorry I don't have a solid answer to this is what I have
tried so far:

Added to httpd.conf:
CustomLog /var/log/httpd/access_log combined env=!nolog

SetEnvIfNoCase Request_URI "^/\x90\x02\xb1" nolog

Redirect gone /\x90\x02\xb1

which doesn't work.

These, however, do work for Nimda/CodeRed etc. :

SetEnvIfNoCase Request_URI "^/scripts/" nolog
SetEnvIfNoCase Request_URI "^/msadc/" nolog
SetEnvIfNoCase Request_URI "^/MSADC/" nolog
SetEnvIfNoCase Request_URI "^/_vti_bin/" nolog
SetEnvIfNoCase Request_URI "^/_mem_bin/" nolog
SetEnvIfNoCase Request_URI "^/c/winnt/" nolog
SetEnvIfNoCase Request_URI "^/d/winnt/" nolog
SetEnvIfNoCase Request_URI "^/default.ida" nolog
SetEnvIfNoCase Request_URI "^/default.ida?" nolog

Redirect gone /scripts/
Redirect gone /msadc/
Redirect gone /MSADC/
Redirect gone /_vti_bin/
Redirect gone /_mem_bin/
Redirect gone /c/winnt/
Redirect gone /d/winnt/
Redirect gone /default.ida
Redirect gone /default.ida?

Perhaps the inital back slash creates a problem?

Apache reports syntax ok.

Maybe someone knows why this doesn't work and what needs to be
added or escaped etc.?

TZ<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Eliminating long access.log entries 
Back to top
Login to vote
thorax

External


Since: Mar 29, 2004
Posts: 4



(Msg. 5) Posted: Mon Mar 29, 2004 4:37 pm
Post subject: Re: Eliminating long access.log entries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 >
 > Perhaps the inital back slash creates a problem?
 >


make that a forward slash =)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Eliminating long access.log entries 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
access log makes entries for each automatic refresh - I wrote a simple cgi script in Perl that automatically refreshes every 30 seconds and when the user interacts with it. However, this is spamming my access log with entries: one for each refresh. Is there any way to prevent this from occurring? That is...

too long processes - Hello, My server is running apache 1.3 and for severals weeks some processes don't want to stop. When i send a 'top' command i have more than 18 processes running and all are httpd. moreover this processes are running during long long time and my whole....

Long domain names - Hi, I've got URLs like this one: users.mem.domain.com . I've created a virtualhost with the serveralias *.mem.domain.com . I want to map * to a seperate dir. I've tried to use mod_vhosts, but it won't see the very first part of it. And now I'm..

Error 414 Request URL too long with Phpmyadmin - when trying to modify some data in a Mysql table with PHPMyAdmin, i got this Apache error System : Linux Redhat 7.x Apache 1.3.x Mysql 3.23 PHPMyAdmin 2.2.3 Any help would be appreciated

mod_perl vs. cgi, suid-perl (long) - hi, i'm in need of some help because i am a bit confused about some apache features i need or believe to need. actually, the problem is occuring to a friend of mine, he needs to execute scripts in a suid-user manner. a script in a /cgi-bin/ with 4755...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]