Hmmm - heres a thought....

Your firewall does transparent redirects to your squid machine which is
internal to the network?  Try setting a web browser to use the proxy
directly, and see if you get the same behaviour. 

Also, on kernel 2.2.x redirection does not work particularly well if you
redirect to a different IP - the client starts receiving data from the wrong
IP!  Redirection only works right under 2.2.x if the transparent target and
the client are on different sides of the firewall - ie, a second segment /
another NIC in the firewall, with a web cache machine hanging out there.


> ----------
> From:         Sam Carleton[SMTP:[EMAIL PROTECTED]]
> Sent:         Friday, August 10, 2001 2:45 PM
> To:   Craig Falconer
> Cc:   '[EMAIL PROTECTED]'
> Subject:      Re: squidGuard is not doing anything, though it seems to be
> running...
> 
> Craig Falconer wrote:
> 
> > Thats weird - it appears to be stopping squidguard as soon as it is
> > started....
> 
> Thinking back on things, I recall why it stopped soon after starting.  I
> was
> trying out step 10 of the "less impatient" install, which seems to be much
> the
> same thing that you asked me to do below...
> 
> > what happens if you try running squidguard at the command
> > line, then type in
> >
> >         URL IPorFQDN ident method
> > eg
> >         http://www.good.com/     192.168.1.1/-    -    GET
> >         http://www.bad.com/     192.168.1.1/-    -    GET
> > where 192.168.1.1 is a local IP.
> >
> > If its allowed then squidguard will return nothing, else it will return
> the
> > redirection url.
> 
> Well, I tried it. Well, I tried set 10 of the "less impatient" install
> again,
> then I tried what you recommended.  Both worked the way it is suppose to
> work.
> How for the interesting part...
> 
> > Also... do a
> >         ps auxw | grep squidGuard
> > to confirm that squidGuard is still running.
> 
> Yep, squidGuard IS running
> 
> The interesting part...
> 
> After running the tests once I killed squid all together and rm'ed the
> squidGuard.log file after making sure that squidGuard was not running.
> When I
> started squid backup, the squidGuard file was NOT created, but squidGuard
> WAS
> running.  It was not until I did the tests a second time that the
> squidGuard
> file got created.
> 
> Something just popped into my head...  My squid server is on my
> gateway/firewall.  I am using IP Filter to redirect ALL traffic coming in
> on
> port 80of the internal NIC to port 3128 to send it through squid.  I had
> to make
> changes to squid to make this work correctly, some type of redirect, don't
> recall exactly.  Because squid is stealth, might there be something other
> then
> the following config line that I need to do with squid?
> 
> redirect_program /usr/local/bin/squidGuard -c
> /usr/local/squidGuard/squidGuard.conf
> 
> Sam
> 

Reply via email to