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

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Tue, 16 Apr 2002 21:45:54 +0200

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 Tue Apr 16 2002 - 13:46:05 MDT

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