Re: Automatically block requests from bad IP addresses

2012-02-12 Thread Cal Leeming [Simplicity Media Ltd]
<ayeo...@gmail.com> wrote: > I was looking for a Django solution to automatically block requests from > bad IP addresses to some of my apps. > > After searching for a while without much luck, I attempted to write a > simple Python script that: > - parses my Apache access lo

Automatically block requests from bad IP addresses

2012-02-11 Thread Addy Yeow
I was looking for a Django solution to automatically block requests from bad IP addresses to some of my apps. After searching for a while without much luck, I attempted to write a simple Python script that: - parses my Apache access log - block IP that made too many requests within a set interval