[Gllug] netstat -pan --inet

Sean Burlington gllug at uncertainty.org.uk
Fri Feb 8 18:45:08 UTC 2002


On Friday 08 February 2002 4:26 pm, you wrote:
> > -----Original Message-----
> > From: Sean Burlington [mailto:gllug at uncertainty.org.uk]
> >
> > but you can congigure squid to filter out ads
> >
> > based on domain name, url etc
>
> I will have to have a look at this as it would be quite nice. Most
> advertisement normally come down from the website that I am in so how does
> this block the adds only.
>

most ads are coupled with some sort of adtraking setup, often hosted on 
seperate servers - this makes privacy infingments easier (tracking users 
accross sites) but also makes it easier to filter out ads

in additin a lot of ads are images named banner.gif or in a subdirectory 
called adverts.

I assume this is how junkbuster filters ads

here are my squid rules...

# advert hosting domains
acl banners dstdomain .adserve.com .adbutler.com .wtlive.com .advertising.com 
.akamai.net .tribalfusion.com .preferences.com .bfast.com .vibrantmedia.com 
.thecounter.com fmads.osdn.com lnads.osdn.com .doubleclick.net 
netadsrv.iworld.com ads.tucows.com .interadnet.com .flycast.com .adsmart.net 
.avenuea.com .valueclick.com .contentzone.com .ins1.opera.com

# common names givven to ad servers
acl regex_banners dstdom_regex ^ads.* adserver.* ^ad[0-9]+ ^ads[0-9]+  
.*adlink.*

# urls holding ads
acl regex_ban_url url_regex -i .*/bannerads?/.* .*/banners?/.* .*/ads/.* 
.*/advert/.* .*/adverts/.* .*adserver.exe.* .*adlog.pl.* .*banner.* 
.*usaribbon.gif

http_access deny banners
http_access deny regex_banners
http_access deny regex_ban_url

It's not 100% - some sites use ads - served and named in the same way as any 
other image on the site (as far as I can tell)

-- 

Sean

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list