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

From: Peter Persson <peter.persson@dont-contact.us>
Date: Wed, 17 Apr 2002 09:56:13 +0200

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."

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Wed Apr 17 2002 - 01:56:23 MDT

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