Squid cache_peer interesting issue
Hi All
here's an interesting one for someone to grind there teeth on i have 2 squid proxy's, proxy1 and proxy2 i want all traffic to go through proxy1 except video sites like youtube the following config only 50% works with some youtube ect stuff still going through proxy1, (i.e. i see youtube data on proxy1 and proxy2) Code:
acl youtube dstdomain .carins.com.au Steve |
Should the following
Quote:
be Quote:
Quote:
Quote:
|
cache_peer
that indeed would be a much neater way of doing things
thanks :-) but it has the same result |
I did some checking and the way you have them to add individually will work.
When you get sites accessed through proxy 1 what are you getting in the log entries for proxy 1 ? |
not enough coffee
well i slept on it came in this-morning grabbed a cup of coffee
and looked at the logs and i noticed that i was missing a key detail on proxy1!! DEFAULT_PARENT/10.0.0.27 basically its working, and just logging that the parent is doing the work :-) i have simplified my config to the following acl youtube dstdomain "/etc/squid/video-domains" cache_peer 10.0.0.27 parent 8080 0 no-query default never_direct allow youtube thanks for your help, ill sleep on it next time ;-) |
I'm glad you got it working. What was the default parent option that was missing off proxy 1 ?
|
All times are GMT -5. The time now is 05:29 AM. |