Re: [squid-users] forcing squid to use a parent for a domain?

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 23 Dec 2008 14:29:46 -0900

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
Received on Tue Dec 23 2008 - 23:29:28 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 24 2008 - 12:00:03 MST