Re: ad blocking squid

2010-03-29 Thread Jari Fredriksson
On 29.3.2010 8:17, Glenn English wrote:
 
 On Mar 28, 2010, at 7:42 PM, John Hasler wrote:
 
 Jozsef Vadkan wrote:
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads?

 I suggest that you try Privoxy.  No need for a HOWTO: just install the
 Debian package.
 
 ... and point your browser at port 8118...
 
 I don't remember how I did it, but I followed an instruction in either 
 squid's or privoxy's FAQ and got them daisy-chained. I go to squid's port and 
 it goes through privoxy. Works good...
 
 Oh, wait. That's not transparent. You'll need a redirect rule in the packet 
 filter on the proxy host. And make it the proxy host the default route. And 
 make the real router to the Internet the default route on the proxy host... 
 Are you sure it has to be transparent???
 

I once toyed with squid (transparent) chained with privoxy, and it
worked quite well. But I removed them, as I use Windows as my
workstation and there is Proxomitron which is better for my tastes. But,
if using Linux, the squid/privoxy might be in use.

Privoxy (I think) can not play as a transparent proxy, but Squid can,
and it can be chained with Privoxy.

-- 
http://www.iki.fi/jarif/

Today's weirdness is tomorrow's reason why.
-- Hunter S. Thompson



signature.asc
Description: OpenPGP digital signature


Re: ad blocking squid

2010-03-29 Thread Glenn English

On Mar 29, 2010, at 8:17 AM, Jari Fredriksson wrote:

 Privoxy (I think) can not play as a transparent proxy, but Squid can,
 and it can be chained with Privoxy.

 potential newbie question

Why not? If privoxy's running on a host acting as a gateway, with a redirect in 
the packet filter, what could possibly go wrong?

 /potential newbie question

-- 
Glenn English
g...@slsware.com




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/3d78e1ea-a8d3-40c9-adf8-53c0a8fce...@slsware.com



Re: ad blocking squid

2010-03-29 Thread Jari Fredriksson
On 29.3.2010 17:52, Glenn English wrote:
 
 On Mar 29, 2010, at 8:17 AM, Jari Fredriksson wrote:
 
 Privoxy (I think) can not play as a transparent proxy, but Squid can,
 and it can be chained with Privoxy.
 
 potential newbie question
 
 Why not? If privoxy's running on a host acting as a gateway, with a redirect 
 in the packet filter, what could possibly go wrong?
 
 /potential newbie question
 

Well, I Googled, and it seems that Privoxy CAN do that.

http://www.privoxy.org/faq/configuration.html#INTERCEPTING

-- 
http://www.iki.fi/jarif/

Today's weirdness is tomorrow's reason why.
-- Hunter S. Thompson



signature.asc
Description: OpenPGP digital signature


Re: ad blocking squid

2010-03-29 Thread Glenn English

On Mar 29, 2010, at 9:05 AM, Jari Fredriksson wrote:

 Well, I Googled, and it seems that Privoxy CAN do that.

Thanks, Jari. I'm getting ready to build a DIY firewall, and I've been planning 
to do exactly that.

-- 
Glenn English
g...@slsware.com




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/5c799906-f06c-40f5-97bc-0247311b8...@slsware.com



Re: ad blocking squid

2010-03-29 Thread Paul Johnson
On Sun, 28 Mar 2010 21:41:32 -0400, Andrew Winnenberg wrote:

 I haven't used it myself, but the adzapper package appears to be an
 ad-blocker for squid.

adzapper isn't bad, but it's not terribly high performance, either.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/nla787xunb@ursa-major.network.ursamundi.org



Re: ad blocking squid

2010-03-29 Thread Paul Johnson
On Sun, 28 Mar 2010 23:17:43 -0600, Glenn English wrote:

 On Mar 28, 2010, at 7:42 PM, John Hasler wrote:
 
 Jozsef Vadkan wrote:
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads?
 
 I suggest that you try Privoxy.  No need for a HOWTO: just install the
 Debian package.
 
 ... and point your browser at port 8118...
 
 I don't remember how I did it, but I followed an instruction in either
 squid's or privoxy's FAQ and got them daisy-chained. I go to squid's
 port and it goes through privoxy. Works good...

My rationale for using ufdbguard is that it uses the same rule files as 
squidguard, but has negligible impact on browsing performance.  The 
latter part was more important, since most of the adblockers, including 
browser plugins, are dog slow.  Here's the rules I've come up with so 
far, though they evolve a little bit over time:

domains:

openx.org
teljari.is
starwave.com
dolanadserver.com
openx.pmgnews.com
ads.thesmokinggun.com
awltovhc.com
buysellads.com
media.graytvinc.com
ads.nntest2.com
adtech.de
tremormedia.com
adecn.com
admanage.wescompapers.com
fwmrm.net
publicus.com
rubiconproject.com
zedo.com
ventivmedia.com
media.etology.com
ca.mybroadband.co.za
banners.moreniche.com
juicyads.com
burstnet.com
adserver.uproxx.com
banners.webmasterplan.com
snap.com
fastclick.net
dashboardad.net
infolinks.com
bidvertiser.com
blogads.com
overture.com
yieldmanager.net
us.bc.yahoo.com
adshuffle.com
chitika.com
chitika.net
3ps.go.com
hopfeed.com
clickbank.net
clickbank.com
adjuggler.com
adsys.townnews.com
banners.thestranger.com
industrybrains.com
adwhirl.com
firstlightera.com
bst.reedbusiness.com
adcontent.reedbusiness.com
admob.com
pinchmedia.com
ads11.net
mediaplex.com
adbrite.com
kontera.com
adserver.yahoo.com
projectwonderful.com
adcast.deviantart.com
questionmarket.com
safecount.net
serving-sys.com
sitestat.com
specificclick.net
trafficmp.com
travidia.com
tribalfusion.com
webtrendslive.com
wowzio.com
wunderloop.net
adblade.com
adbureau.net
addynamix.com
adfrontiers.com
adtech.com
bridgetrack.com
clearspring.com
collective-media.net
contextweb.com
eloqua.com
fathomseo.com
hubspot.com
ibatom.com
ibsys.com
loomia.com
makinglocalwork.com
rad.msn.com
newstogram.com
adlinks.startribune.com
adserv.postbulletin.com
pulse360.com
bwp.zdnetasia.com
911adnetwork.com
gcion.com
adtechus.com
yldmgrimg.net
adsonar.com
adultfriendfinder.com
aserver.serverlords.com
wsod.com
tumri.net
tumri.com
ox.furaffinity.net
googleadservices.com
adlog.com.com
advertising.com
quantserv.com
247realmedia.com
collective-media.com
admeld.com
afy11.net
pointroll.com
undertone.com
adsyndication.msn.com
tacoda.net
casalemedia.com
intellitxt.com
pagead2.googlesyndication.com
doubleclick.net
doubleclick.com
yieldmanager.com
adbasket.net
atdmt.com
2mdn.net
rmxads.com
imrworldwide.com

expressions:

.*(/||open|web)(A|a)d(1|x|s|vertorials|channel|Img)(\.|=|_|/).*
.*files\.platformnation\.com/logos/.*
.*ai\.php.*
.*banner.*
.*ads\..*


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/vga787xunb@ursa-major.network.ursamundi.org



Re: ad blocking squid

2010-03-28 Thread Paul Johnson
On Sat, 27 Mar 2010 13:53:12 +0100, Jozsef Vadkan wrote:

 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads?

While it's not in Debian, ufdbguard is a pretty reliable redirector.

 [on client side! - router isn't
 running openwrt, etc.]

That wouldn't be transparent, then.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4v8587xhi6@ursa-major.network.ursamundi.org



Re: ad blocking squid

2010-03-28 Thread A. F. Cano
On Sat, Mar 27, 2010 at 01:53:12PM +0100, Jozsef Vadkan wrote:
 I want to block ads on the client side. [i mean when the people surf the
 net, they shouldn't see any ads]
 
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads? [on client side! - router isn't
 running openwrt, etc.]

How about putting privoxy between the browser and squid?  I don't run
squid, but point my browser to privoxy, running on the same machine.

A.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100329004255.ga11...@shibaya.lonestar.org



Re: ad blocking squid

2010-03-28 Thread Andrew Winnenberg
On Saturday 27 March 2010 08:53:12 am Jozsef Vadkan wrote:
 I want to block ads on the client side. [i mean when the people surf the
 net, they shouldn't see any ads]
 
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads? [on client side! - router isn't
 running openwrt, etc.]
 
 Thank you!
 

I haven't used it myself, but the adzapper package appears to be an ad-blocker 
for squid.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003282141.32603.awinn...@gmail.com



Re: ad blocking squid

2010-03-28 Thread John Hasler
Jozsef Vadkan wrote:
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads?

I suggest that you try Privoxy.  No need for a HOWTO: just install the
Debian package.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871vf3rjhs@thumper.dhh.gt.org



Re: ad blocking squid

2010-03-28 Thread Glenn English

On Mar 28, 2010, at 7:42 PM, John Hasler wrote:

 Jozsef Vadkan wrote:
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads?
 
 I suggest that you try Privoxy.  No need for a HOWTO: just install the
 Debian package.

... and point your browser at port 8118...

I don't remember how I did it, but I followed an instruction in either squid's 
or privoxy's FAQ and got them daisy-chained. I go to squid's port and it goes 
through privoxy. Works good...

Oh, wait. That's not transparent. You'll need a redirect rule in the packet 
filter on the proxy host. And make it the proxy host the default route. And 
make the real router to the Internet the default route on the proxy host... Are 
you sure it has to be transparent???

-- 
Glenn English
g...@slsware.com




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/9b0d3db0-8d59-42cb-a460-b53f40695...@slsware.com



ad blocking squid

2010-03-27 Thread Jozsef Vadkan
I want to block ads on the client side. [i mean when the people surf the
net, they shouldn't see any ads]

Can anyone post a link to a good howto, how to set up a transparent
squid proxy, that can filter ads? [on client side! - router isn't
running openwrt, etc.]

Thank you!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1269694392.12702.19.ca...@debian



Re: ad blocking squid

2010-03-27 Thread Camaleón
On Sat, 27 Mar 2010 13:53:12 +0100, Jozsef Vadkan wrote:

 I want to block ads on the client side. [i mean when the people surf the
 net, they shouldn't see any ads]
 
 Can anyone post a link to a good howto, how to set up a transparent
 squid proxy, that can filter ads? [on client side! - router isn't
 running openwrt, etc.]

Are you sure you want take that approach?

If I were a user I would like to be able to choose what content to 
display in my browser and what don't. For that reason is browser ad-block 
extensions are for :-)

Anyway, there is some good stuff out there:

Blocking Ads in Squid
http://squidproxy.wordpress.com/2007/08/29/blocking-ads-in-squid/

Also, check that thread:

HTTP Filter Proxy
http://lists.debian.org/debian-user/2010/01/msg01472.html

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.27.15.19...@gmail.com