Re: [squid-users] Mass Mailers & Spiders

From: Adam Aube <aaube@dont-contact.us>
Date: Sat, 19 Jul 2003 23:08:17 -0400

>clients that come to use the systems in the cafe do so, its used to
>do mass telemarketing in form of scam mails

>>Your best bet would be to find some unique characteristic of the
>>spider (such as the User Agent string) and setup a delay pool to
>>slow it way down. You indicated you tried this before and it didn't
>>work - what was your setup like?

>what would be the syntax in other to do so by the useragent string,
using
>delay pools?

There is a browser acl type, that matches on the browser's user agent
string. So assuming the UA string contained "SpamSpider", it would
look like this:

acl bad_user browser SpamSpider

Got that from the Configuration Guide - it's from the 2.4 series,
but it should work on 2.5. Check your default squid.conf to see
if it's mentioned.

You would then create a delay pool and add the bad_user acl to it
- see the FAQ for info on delay pools.

Adam
Received on Sat Jul 19 2003 - 21:34:44 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:12 MST