Squid 2.0 Patch 2 - Making the Cache Fetch Directly.

From: Jamie Bekkers <JTB@dont-contact.us>
Date: Sun, 18 Oct 1998 20:47:37 +0800

Hello, I have a misunderstanding with acl and getting our cache fine tuned
to fetch our local servers and some other servers directly.

Here is what I have found so far.

Say I have 100's of domains and they all live on a web server and that the
ip range of that web server is 203.1.1.1 to 203.1.1.150, rather than
entering every domain which involved management I went

acl local-ip src 203.1.1.0/255.255.255.0
always direct local-ip

sounds good! No. What then happened was that if a client like me was on
203.1.200.1 then all my requested would be serviced by the proxy directly,
what the above is actually saying is any requests from
203.1.1.0/255.255.255.0 then fetch directly, not what I intended.

Is there a way to achieve what I want, I have also found that with
"minimum_direct_hops 6" my cache will still fetch our local servers from a
parent cache? I have all the icmp stuff turned on.

./configure --prefix=/cache --enable-icmp
 and did a make install-pinger.

Can anyone help me?

  Thanks Jamie.

---[Jamie Bekkers]--------------------------
Bekkers IT Ph: +61 8 93705611
jtb@bekkers.com.au Fx: +61 8 92726625
http://www.bekkers.com.au ICQ # 2866084
Received on Sun Oct 18 1998 - 06:32:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:33 MST