Re: [squid-users] trying to use a parent....

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Wed, 17 Apr 2002 10:07:46 +0200

You don't configure proxy2 to use proxy1 as a sibling.

cache_peer relations set in squid.conf are one-way only. Two-way
relations requires both to be configured to use the other as a peer.

It does not matter if proxy1 support ICP or not if proxy2 do not have
a cache_peer relation to it for querying proxy1 using ICP..

Regards
Henrik

On Wednesday 17 April 2002 09:56, Peter Persson wrote:
> Aah, thank you for the answer and i will bother you with another
> question :)
>
> what if i want one proxy1 to check with proxy2 for an object but
> not the other way around ? i dont want proxy nr2 to check with
> proxy1 because there is a slow x-line :o) i want proxy2 to work as
> usual.
>
> proxy1 ----->(slow x-line)----> proxy2 ----> Internet
>
> do i just disable icp on proxy1 ?
>
>
> Mvh Peter Persson
> http://www.hogia.net/
> Public pgpkey: ftp://pgp.hogia.se/htd/pepe.asc
> Pgp fingerprint: 6C44 7930 3FDC 1D4E CDB3 25E8 008C 0239 A7F0 6E97
> "Si vis pacem, para bellum."
>
>
> -----Ursprungligt meddelande-----
> Från: Squid Support (Henrik Nordstrom) [mailto:hno@marasystems.com]
> Skickat: den 16 april 2002 21:46
> Till: Peter Persson; 'squid-users@squid-cache.org'
> Ämne: Re: [squid-users] trying to use a parent....
>
>
> The two needs to be siblings, and to support ICP.
>
> The definition of a sibling is "get the object from there if it has
> a copy".
>
> To tell if a cache has a copy of the object ICP is required.
>
> Regards
> Henrik
>
> Peter Persson wrote:
> > Hi all,
> >
> > i have been looking everywhere to find any information how to
> > configure squid to
> > use another proxy as a secondary target (so if my first proxy
> > doesnt have the information it will ask proxy nr2, and if proxy
> > nr2 doesnt have the information it will go directly to the final
> > site)
> >
> > i have added the following to test this:
> >
> > cache_peer proxy.domain.xx parent 8080 7 no-query default
> > prefer_direct off
> >
> > and i have also tested:
> >
> > cache_host proxy.domain.xx parent 8080 3130 no-query default
> >
> > im running Squid/2.2.STABLE5 and i have enabled the proxy on port
> > 8080 and port 3130 (icp)
> > im running this on a debian....
> >
> > and all i can see in the proxy nr 2 is this:
> >
> > 1018967734.271 0 195.xxx.xxx.xxx UDP_MISS/000 76 ICP_QUERY
> > http://proxy.domain.com:8080/squid-internal-dynamic/netdb -
> > NONE/- - 1018967734.281 7 195.xxx.xxx.xxx TCP_MISS/200 11955
> > GET http://proxy.domain.com:8080/squid-internal-dynamic/netdb -
> > NONE/- -
> >
> >
> >
> >
> >
> > Mvh Peter Persson
> > "Si vis pacem, para bellum."

-- 
MARA Systems AB, Giving you basic free Squid support
Your source of advanced web reverse proxying solutions
http://www.marasystems.com/producs/
Received on Wed Apr 17 2002 - 02:09:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:35 MST