>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






Reply via email to