Looking for abusive clients in your web server logs

Home/Linux/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:

cat access.log |cut -d ' ' -f 2 |sort|uniq -c | sort -nk 1

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 | 2017-05-18T15:16:13+00:00 July 13th, 2009|Linux|0 Comments

About the Author:

Leave A Comment