Search squid archive

Re: forcing squid to use a parent for a domain?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carl Brewer wrote:


Hello,
I've got a squid 3.0 proxy that I'm trying to force to use an upstream proxy for a specific domain to get around a path MTU problem that's proving difficult to fix.

I have the following in my squid.conf :

cache_peer proxy.xxx.yyy.zz parent 8080 7 no-query no-netdb-exchange no-digest allow-miss
cache_peer_domain       proxy.xxx.yyy.zz      clients.brokenmtu.com.au
cache_peer_domain       proxy.xxx.yyy.zz      .brokenmtu.com.au

acl brokenMTU dstdomain .brokenmtu.com.au
never_direct allow brokenMTU


It worked once :

grep -i brokenmtu access.log
1230018675.341 310 10.0.0.2 TCP_MISS/200 9480 GET http://clients.brokenmtu.com.au/ - FIRST_UP_PARENT/proxy.xxx.yyy.zz text/html

And then went direct and has been going direct ever since, and thus not working :

1230019575.025 899821 10.0.0.2 TCP_MISS/504 2538 GET http://clients.brokenmtu.com.au/lib/func_js.js - DIRECT/x.x.x.x text/html

I've misunderstood the doco for cache_peer I think, how can I force my squid to always go via this other proxy for this domain?

thankyou

Carl



Chris

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux