Automatically block requests from bad IP addresses
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
I have made the script with the associated Django app available on Github for those who may find it useful:
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home