Looking for abusive clients in your web server logs

//Looking for abusive clients in your web server logs

Looking for abusive clients in your web server logs

Here’s a quick tip on how to find IPs that may be hammering on your web server:

[plain] cat access.log |cut -d ‘ ‘ -f 2 |sort|uniq -c | sort -nk 1[/plain]

Run that against your Apache access log and you’ll find out hits/IP address. Just check to be sure they aren’t Google before you block them!

By |2009-07-13T09:43:54+00:00July 13th, 2009|Linux|0 Comments

About the Author:

Devon is a husband, amateur photographer, avid reader, and motorcycle enthusiast.

Leave A Comment