I am testing squid 3.0 on a ubuntu amd64 box. I am facing a problem with the delay pool classes when I set the delay_access parameters with multiple ACLs. Have been going through the squid wiki and nothing conclusive. Perhaps someone or a squid guru can share their experience using delay pools in squid 3.x, 2.x is slightly different i think. I am putting all into one question, since all is related to this interesting feature in squid.
A simple example:
acl workday time MTWHF acl work_time time 9:00 - 18:00 acl work_day time MTWHF 9:00 - 18:00 acl streaming_site dstdomain youtube.com hulu.com delay_pools 2 delay_class 1 2 delay_class 2 2 delay_access 1 work_day streaming_site delay_parameters 1 500000/500000 100000/100000 delay_access 1 deny all delay_access 2 !work_day delay_parameters 2 1000000/1000000 500000/500000 delay_access 2 deny all
Question 1: How do squid evaluates multiple ACLs in delay_access, is it using OR rule or AND rule. If it is using AND rule to match two or more ACLs, what do we do to achieve OR for the multiple ACLS.
Question 2: Does the parameters below give the same effect?
delay_access 1 work_day streaming_site
delay_access 1 work_day delay_access 1 streaming_site
Question 3: Once a delay pool is not being used. Will that pool affect the total bandwidth. For example delay_access 1 rule that has expired after work hours at 18:01++. Why the delay pool is not reset back to not used. Or how to reset it back to empty?
Thanks in advance for sharing your experience.
References that I have checked, read and read and test....but still interested to know some other people experience with multiple ACLs.