Search squid archive

Re: blocking ads/sites not working anymore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux