Blocking apache access via user agent string

Posted by Tchalvak on Server Fault See other posts from Server Fault or by Tchalvak
Published on 2011-03-25T20:51:50Z Indexed on 2012/10/28 23:06 UTC
Read the original article Hit count: 216

I've got a scripter who is using a proxy to attack a website I'm serving.

I've noticed that they tend to access the site via software with a certain common user agent string (i.e. http://www.itsecteam.com/en/projects/project1_page2.htm "Havij advanced sql injection software" with a user_agent string of Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) Havij). I'm aware that any cracking software worth it's salt will probably be able to modify it's user agent string, but I'm fine with the scripter having to deal with that feature at some point.

So, is there any software out there for automatically blocking access & permanently blacklisting by matching user agent strings?

© Server Fault or respective owner

Related posts about blacklist

Related posts about useragent