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

Reply via email to