LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   acl dst_as, problem with cache_peer_access on squid (http://www.linuxquestions.org/questions/linux-server-73/acl-dst_as-problem-with-cache_peer_access-on-squid-882098/)

arruah 05-22-2011 09:48 AM

acl dst_as, problem with cache_peer_access on squid
 
I need to send requests for certain resources through another SQUID
I have the following configuration of the SQUID

cache_peer foo.bar parent 3128 3130 proxy-only default
acl kaznet dst_as 9198
cache_peer_domain foo.bar
cache_peer_access foo.bar deny kaznet
always_direct allow kaznet

However, squid does not pay attention and sends all requests through a parent proxy.
What am I doing wrong?

arruah 05-23-2011 11:12 PM

I have that error on my cache.log
2011/05/24 09:41:22| Failed to select source for 'whois://193.0.6.135/!gAS9198'
2011/05/24 09:41:22| always_direct = 0
2011/05/24 09:41:22| never_direct = 1
2011/05/24 09:41:22| timedout = 0
2011/05/24 09:41:22| WARNING: AS 9198 whois request failed


All times are GMT -5. The time now is 08:15 AM.