From: John Hasler on 28 Mar 2010 22:00 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-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/871vf3rjhs.fsf(a)thumper.dhh.gt.org
From: Glenn English on 29 Mar 2010 01:30 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 ghe(a)slsware.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/9B0D3DB0-8D59-42CB-A460-B53F40695F43(a)slsware.com
From: Jari Fredriksson on 29 Mar 2010 10:20 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
From: Glenn English on 29 Mar 2010 11:00 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 ghe(a)slsware.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/3D78E1EA-A8D3-40C9-ADF8-53C0A8FCED9F(a)slsware.com
From: Jari Fredriksson on 29 Mar 2010 11:10
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 |