The Mothership

4/25/2004

Logs (Big and Heavy, But Not Wood)

Filed under: Geek — heide @ 2:09 pm

Today’s Tip:

One of the Windows worms currently running amok is annoying in that it uses a buffer overrun exploit via a very long URL. Not a problem for a Linux system, but this makes the web server logs balloon in size and makes them a pain to browse manually.

Fortunately, it can be mitigated a bit. Changing the “%r” in any LogFormat lines in Apache’s httpd.conf to “%!414r” completely trims out any URLs which are considered too long.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment