Hi, I have a zope site up and running which has recently had a *lots* of hits from a client (or clients) that show referers pointing at various gambling, meds, and loan sites. Requests only come in for the main page, not for the associated images, css, etc that should go with it.
The consequence is that my server is working harder to service a client that isn't interested in what it has to say, and my Z2.log is now far less useful to me as all these bogus requests drown out most of the useful information. So, I'm wondering if there's a way to blacklist those clients that I don't like based on host/ip and/or on referer. If I hook into the traversal process in the same way as the virtual host monster objects do, could I check the request against my blacklist and then do a REQUEST.close()? Would that still appear in my logs? Does that even make sense? Is there a HTTP response code that I could return to these clients that would stop them being interested in my server? Any ideas much appreciated. Tim _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )