progress of cache_peer_access

From: Masataka_Tanaka <mtanaka@dont-contact.us>
Date: Thu, 18 Nov 1999 23:36:57 +0900

Salute all !

I shall update progress of this matter.
After that, I've changed the configuration.
It works well, but not perfect.
When I sent URL request ' http://www.dom1.tanaka.co.jp ',
The requested URL could not be retrieved.
( description within access.log shows NONE )
But in the case of sending URL request by IP address
xxx.yyy.zzz.96, it succeeds.
Below is contents of squid conf.

            cache_peer_domain proxyA.tanaka.co.jp !.dom1.tanaka.co.jp
            cache_peer_domain proxyB.tanaka.co.jp .dom1.tanaka.co.jp

             acl net5 dst xxx.yyy.zzz.0-xxx.yyy.zzz.255/25
             http_access allow net5
             icp_access allow net5
             miss_access allow net5

             cache_peer_access proxyA.tanaka.co.jp deny net5
             cache_peer_access proxyB.tanaka.co.jp allow net5

             never_direct allow net5
             acl local-server dst xxx.0.0.0/255.0.0.0
             never_direct deny local-server
             never_direct allow all

[ Environment ]
  - ACL name 'net5' is the part of range of ACL name 'local-server'
  - Even domainname '.dom1.tanaka.co.jp' is also included
    within local-server (or net5).

[ Goal ]
  - I want to set squid up as follows.

     URL request FIRST_UP PARENT
----------------------------------------------------------------------------
----------

1 .dom1.tanaka.co.jp --> proxyB
2 xxx.yyy.zzz.0/25 --> proxyB
3 other of above in xxx.0.0.0/25 --> direct
4 internet (external) --> proxyA

Please give me any advise you think, even just your idea.
Thank you.

Ciao !
Sony Systems Design
Masataka Tanaka
Received on Thu Nov 18 1999 - 07:47:43 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT