Re: [squid-users] Single squid in a squid -> filter -> squid

This is a discussion on Re: [squid-users] Single squid in a squid -> filter -> squid within the Squid Users forums, part of the Web Server and Related Forums category; He's right, it will work but the loopback trigger will happen and be = logged,=20 What I found easier ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-28-2003
Joshua Brindle
 
Posts: n/a
Default Re: [squid-users] Single squid in a squid -> filter -> squid

He's right, it will work but the loopback trigger will happen and be =
logged,=20
What I found easier was using a simple proxy for the outer proxy so that
you don't have the caching overhead, and using squid internally using=20
ACL's.. The bigger problem is that you can't tell squid to use a certain
parent for 1 outgoing ACL and a different one for another (as far as I=20
can tell). So I have basically accomplished this (still waiting on a few =
bugs
in squid-3 that are showstoppers before I can move it to production) by
writing a patch to DansGuardian that would add an X-Naughty header
when a page is naughty, and squid uses an external ACL to check on=20
the reply header (this needed a patch) and then used deny_info on the
http_reply_access acl (which also needed a patch). Once I have this all
stable I'll send the patches upstream.. if you want them now you can=20
email me offlist or whatever, at least one of them is in squids bugzilla
but needs to be rewritten cleaner for inclusion.. Hope this helps..



Joshua Brindle
UNIX Administrator
Southern Nazarene University

>>> Robert Collins <robertc@squid-cache.org> 09/27/03 05:34PM >>>

On Sun, 2003-09-28 at 07:58, Chris Wilcox wrote:
> Hmm, apparently it is being done with one squid instance by at least =

2=20
> people I've messaged on a forum though they've yet to describe it =

fully=20
> enough for me to understand. I was kinda wondering why I can't just =

send=20
> localhost requests direct (either direct to the web or direct to a =

true=20
> parent proxy) and requests from the LAN through to the DansGuardian=20
> instances. This wouldn't loop as far as I can see?


network->squid instance X->dansguardian->squid instance X
^
loop detection will trigger here.

Please, see the FAQ on running two instances, and then setup it up.

Rob
--=20
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
=20
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0