egoitz@xxxxxxxxxxxxx wrote:
Hi everybody, Well I'm quite desperate and hope you could help me mates... well I have a machine in wich I run squid and dansguardian with clamav... this is running fine but now I want to enable delay_pools too... for controlling bandwith because there are some important high loads that slowdown internet connection when for example someone downloads an iso image... that's reason for I want to enable delay_pools... Ok but the problem is that I filter with dansguardian so all requesting ip is always the ip of dansguardian... so delay_pools are applying bad because only one ip asks for everybody... how could I do for enabling delay_pools with dansguardian? setting another squid before dansguardian machine and enabling delay_pools there because If I fetch slowly internet connected squid will too bring iso's (for example) slowly? any ideas please, it's quite an urgent project... thanks mates!
Recompile with "--enable-follow-x-forwarded-for", and use "delay_pool_uses_indirect_client on" in your squid.conf. See the patch page (http://devel.squid-cache.org/follow_xff/index.html) for more details.
Chris