logo       

Re: firestarter and squid: msg#00015

security.firewalls.firestarter.user

Subject: Re: firestarter and squid

On Mon, 2005-11-07 at 21:03 -0500, Ryan wrote:
> On Mon, 2005-07-11 at 19:05 -0400, David Niemi wrote:
> > On Thu, 2005-21-04 at 17:19 -0400, ryan wrote:
> > > Try something like (all on one line) the below entered
> > > in /etc/firestarter/user-pre
> > >
> > > On Thu, 2005-04-21 at 12:49 +0200, marcantonio wrote:
> > > > hi,
> > > >
> > > > I would like to setup Squid (http proxy) as a transparent HTTP
> > > > accelerator on the same linux box where firestarter resides.
> > > >
> Try
>
> $IPT -t nat -A PREROUTING -i $IF -p tcp --dport 80 -j REDIRECT --to-port
> 3128
>
> (all on one line)
>
> If that doesn't work, please email me back and I'll re-setup squid on
> this machine and try it again.
>
> The command makes some assumptions:
> -Squid is running on port 3128 (default)
> -Squid is running ("service squid start" as root)
> -You've configured Squids ACLs correctly.

Thanks, that worked. Now to find out if squid is actually doing it's
job. I am trying to run adzapper through a transparent squid. I used
most of the default settings except for the following:

http_access deny to_localhost

acl mynetwork.private src 192.168.0.170/27
http_access allow mynetwork.private

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

redirect_program /usr/local/bin/squid_redirect

The store.log and access.log remain empty at the moment and still
getting ads. I'll contact the Adzapper author to see what he has to
say.

Thanks again
Dave



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise