Cache Hierarchies | _ | _ | _ |
INDEX BACK NEXT | _ | _ | _ |
Integration with other software |
Getting other software to talk to your Squid cache as a parent
Almost all software (other than the Microsoft proxy server) can talk
to a parent cache. To Squid it simply looks as if the client cache
is just a very busy browser, though in cases where the client caches are
ICP compliant it will list them in the cache manager as having sent it
ICP queries. The only thing that you have to configure in the Squid
config file is allow it to send you ICP and HTTP queries by adding the
appropriate lines as in this example (here we assume that the cache
is on a different netblock to the majority of your clients):
acl ourallowedhosts src 196.4.160.0/255.255.255.0
acl allowedcache src 196.4.161.12/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
http_access allow ourallowedhosts
http_access allow allowedcache
http_access deny all
icp_access allow allowedcache
icp_access deny deniedcache
If the client cache talks ICP the icp_access line allows
your cache to respond to queries from the machine 196.4.161.12, and
then to also answer http queries that it may send (due to the http_access
line. This config would also allow the client cache to set you as a sibling.
The Squid Users guide is copyright Oskar Pearson oskar@is.co.za
If you like the layout (I do), I can only thank William Mee and hope he forgives me for stealing it