Re: [squid-users] Selective peering

From: <francisv@dont-contact.us>
Date: Wed, 5 Dec 2001 11:27:03 +0800

Hi,

I've told them to add:

        cache_peer_type our.squid.server parent .akamai.net .akamaitech.net

and I've added:

        acl peer1 src their.ip.address/32
        acl peer2 src their.ip.address/32
        acl akamai-dom dstdomain .akamai.net .akamaitech.net

        http_access allow peer1
        http_access allow peer2
        http_access deny all

        miss_access allow peer1 akamai-dom
        miss_access allow peer2 akamai-dom
        miss_access deny all

Date: Sat, 15 Sep 2001 02:11:28 +0200
Reply-To: Henrik Nordstrom <hno@SQUID-CACHE.ORG>
Sender: Fake list for archiving at Cineca <SQUID@LIST.CINECA.IT>
From: Henrik Nordstrom <hno@SQUID-CACHE.ORG>
Subject: Re: [squid-users] Selective peering
Comments: To: francisv@dagupan.com
Comments: cc: squid-users@squid-cache.org
Content-Type: text/plain; charset=us-ascii

francisv@dagupan.com wrote:
>
> Hi,
>
> We currently have peers pointing to our 2 squid proxies as siblings. We
have
> Akamai servers which we want them to access via our servers directly,
should
> the modification be done on our side or theirs?

???

Do you want them to access the Akamai servers, or your Squid?

> If our servers don't cache Akamai objects, the ICP request would fail (no
> object) and since the relationship is "sibling", our server will not fetch
> the object for them. What should be done?

Seems you want them to fetch the objects from your Squid. For this, they
need to use your Squid as parent for the domains in question. See the
cache_peer_type directive. This needs to be done in their Squids and you
need to allow them miss_access.

--
Henrik Nordstrom
Squid Hacker
Received on Tue Dec 04 2001 - 20:27:12 MST

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