[squid-users] using both havp and dansguardian as cache_peer

2011-08-30 Thread webmas...@ch-lons.fr
Hi all,
I'd like to use squid with both havp and dansguardian as cache_peer.
It seems I have only one cache_peer working at time.
How can I use 2 cache_peer ?



Re: [squid-users] using both havp and dansguardian as cache_peer

2011-08-30 Thread Henrik Nordström
tis 2011-08-30 klockan 14:40 +0200 skrev webmas...@ch-lons.fr:
 I'd like to use squid with both havp and dansguardian as cache_peer.
 It seems I have only one cache_peer working at time.
 How can I use 2 cache_peer ?

You need to chain them together. You can place them in pretty much any
order you prefer except that DG can't be the last as it needs a full
blown proxy to forward requests to.

Havp - DG - Squid
Squid - DG - Havp
DG - Squid - Havp
DG - Havp - Squid

Regards
Henrik



Re: [squid-users] using both havp and dansguardian as cache_peer

2011-08-30 Thread webmas...@ch-lons.fr
Le 30/08/2011 16:36, Henrik Nordström a écrit :
 tis 2011-08-30 klockan 14:40 +0200 skrev webmas...@ch-lons.fr:
 I'd like to use squid with both havp and dansguardian as cache_peer.
 It seems I have only one cache_peer working at time.
 How can I use 2 cache_peer ?
 You need to chain them together. You can place them in pretty much any
 order you prefer except that DG can't be the last as it needs a full
 blown proxy to forward requests to.

 Havp - DG - Squid
 Squid - DG - Havp
 DG - Squid - Havp
 DG - Havp - Squid

 Regards
 Henrik

Thanks for your help Henrik.
I just made this : Squid1 - Havp - DG - Squid2.
cache_peer is calling havp.
I defined DG as Parent proxy of HAVP.
And DG finally connect to Squid2.
Is it correct ?
This is the only way I found for getting ntlm_auth working with squid.
Eric.


Re: [squid-users] using both havp and dansguardian as cache_peer

2011-08-30 Thread Henrik Nordström
tis 2011-08-30 klockan 16:45 +0200 skrev webmas...@ch-lons.fr:

 I just made this : Squid1 - Havp - DG - Squid2.
 cache_peer is calling havp.
 I defined DG as Parent proxy of HAVP.
 And DG finally connect to Squid2.
 Is it correct ?

Looks fine to me.

 This is the only way I found for getting ntlm_auth working with squid.
 Eric.

probably.

ntlm/negotiate is odd, not following basic HTTP messaging rules.

Regards
Henrik