Hi all,
What I'm trying to achieve should be straighforward. I want squid to redirect all requests to a "parent" proxy, except requests to local systems.
So I started by adding:
cache_peer 10.105.20.201 parent 3128 3130 no-query\
login=xxxxx:xxxxxx proxy-only
To the squid.conf file.
Redirection now works fine, and I get to access the internet.
Next I added the following to bypass the parent cache for local systems:
acl local-servers dstdomain nuon.local
never_direct allow all
always_direct allow local-servers
(Yes, we _do_ use the .local TLD internally)
The problem is that this does not work. All requests for local servers (names ending in nuon.local) get forwarded to the parent proxy nevertheless.
I enabled debugging and saw the following in the cache.log:
2002/04/02 13:25:43| aclCheck: checking 'always_direct allow local-servers'
2002/04/02 13:25:43| aclMatchAclList: checking local-servers
2002/04/02 13:25:43| aclMatchAcl: checking 'acl local-servers dstdomain nuon.local'
2002/04/02 13:25:43| aclMatchDomainList: checking 'shlv01ux001.nuon.local'
2002/04/02 13:25:43| aclMatchDomainList: 'shlv01ux001.nuon.local' NOT found
2002/04/02 13:25:43| aclMatchAclList: returning 0
2002/04/02 13:25:43| aclCheck: NO match found, returning 0
2002/04/02 13:25:43| aclCheckCallback: answer=0
Or in other words: The ACL check apears not to match nuon.local against shlv01ux001.nuon.local... This is wierd.
Does anybody know what is going on here?
TIA
Krist
Received on Tue Apr 02 2002 - 05:24:39 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:19 MST