Re: [squid-users] blocking ads/sites not working anymore?

From: Andreas Westvik <andreas_at_spbk.no>
Date: Sun, 10 Mar 2013 12:45:36 +0100

So what kind of format do I have now then?
Do you have any examples?

-Andreas
On Mar 10, 2013, at 07:46 , Amos Jeffries <squid3_at_treenet.co.nz> wrote:

> On 2013-03-10 01:54, Andreas Westvik wrote:
>> Hi everyone
>>
>> Over the time I have collected a lot of sites to block.
> <snip>
>>
>> #Block
>> acl ads dstdom_regex -i "/etc/squid3/adservers"
>> http_access deny ads
>>
>>
>> cat /etc/squid3/adservers | less
>>
>> (^|\.)yieldmanager\.edgesuite\.net$
>> (^|\.)yieldmanager\.net$
>> (^|\.)yoc\.mobi$
>> (^|\.)yoggrt\.com$
>> (^|\.)yourtracking\.net$
>> (^|\.)z\.times\.lv$
>> (^|\.)z5x\.net$
>> (^|\.)zangocash\.com$
>> (^|\.)zanox-affiliate\.de$
>> (^|\.)zanox\.com$
>> (^|\.)zantracker\.com$
>> (^|\.)zde-affinity\.edgecaching\.net$
>> (^|\.)zedo\.com$
>> (^|\.)zencudo\.co\.uk$
>> (^|\.)zenzuu\.com$
>> (^|\.)zeus\.developershed\.com$
>> (^|\.)zeusclicks\.com$
>> (^|\.)zintext\.com$
>> (^|\.)zmedia\.com$
>>
>
> Besides the fix Amm already gave, you will find Squid runs a bit faster if you convert that listing to dstdomain format and use a dstdomain ACL to check it.
>
>
> Amos
Received on Sun Mar 10 2013 - 11:45:45 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 11 2013 - 12:00:05 MDT