Do you know how to test the cache hits if its excluded from delaypools? I've create a dst type acl for my local website, but I think it doesn't work. the acl is:
# ---- subnet that will not be cached acl weblocal dst 192.168.1.16/28 no_cache deny weblocal I know it doesn't work because when I try to download a big file from anothe pc on the same subnet, I got only 10kbps. without delay_pools I got 270kbps. It is possible to fix this configuration? best regards, zulkarnain --- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > Cache hits is always excluded from delay pools. > > local web sites is best matched with a dst or > dstdomain type acl. > > Regards > Henrik > > zulkarnain wrote: > > > > The local traffic that I mean is, any object/cache > > data which resites inside the squid box and any > local > > website. > > > > Best regards, > > zulkarnain > > > > --- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > > By which criteria do you want to identify local > > > traffic? > > > > > > Regards > > > Henrik > > > > > > > > > tor 2003-01-30 klockan 13.30 skrev zulkarnain: > > > > The purpose is to unlimit local trafic, once > ACL > > > find > > > > its rule, the traffic of that ip address will > be > > > set > > > > to unlimited by delay_pools (-1/-1), I got > this > > > sample > > > > no_limit rules from Bandwidth-Limiting-HOWTO: > > > > > > > > > > > > > > http://tldp.org/HOWTO/Bandwidth-Limiting-HOWTO/install.html#AEN110 > > > > > > > > The main reason this delay_pools configuration > is > > > to > > > > configure localwebsite to be not-cache-able > and > > > set > > > > the object which resites inside the squid to > be > > > > delivered with unlimited speed. > > > > > > > > Please let me know how to configure it? > > > > > > > > Best regards, > > > > zulkarnain > > > > > > > > > > > > --- Henrik Nordstrom <[EMAIL PROTECTED]> > wrote: > > > > > What is the exact purpose of your "no_limit" > > > acl? > > > > > Which requests should > > > > > it match? As defined this acl matches > requests > > > > > having the following > > > > > sequence of characters anywhere in the URL: > > > > > > > > > > 1 9 2 [any characer] 1 6 8 [any character] > 1 > > > > > > > > > > > > > > > Regards > > > > > Henrik > > > > > > > > > > > > > > > ons 2003-01-29 klockan 11.31 skrev > zulkarnain: > > > > > > Hi, > > > > > > > > > > > > I am trying to configure delay_pools to > limit > > > > > traffic > > > > > > for the groups (admin & student) to the > > > internet > > > > > but > > > > > > unlimited for our LAN traffic. My > squid.conf > > > as > > > > > shown > > > > > > bellow. > > > > > > > > > > > > # ---- custom acl > > > > > > acl no_limit url_regex -i 192.168.1 > > > > > > acl admin_site src > > > 192.168.1.16/255.255.255.240 > > > > > > acl student_site src > > > 192.168.1.192/255.255.255.224 > > > > > > > > > > > > # ---- subnet that will not be cached > > > > > > acl weblocal dst 192.168.1.16/28 > > > > > > no_cache deny weblocal > > > > > > > > > > > > > > > > > > # ---- begin delay_pool > > > > > > delay_pools 3 > > > > > > > > > > > > delay_class 1 2 > > > > > > delay_class 2 2 > > > > > > delay_class 3 2 > > > > > > > > > > > > delay_access 1 allow student > > > > > > delay_access 1 deny all > > > > > > delay_access 2 allow admin > > > > > > delay_access 2 deny all > > > > > > delay_access 3 allow no_limit > > > > > > delay_access 3 deny all > > > > > > > > > > > > # student group > > > > > > delay_parameters 1 48000/48000 1250/3000 > > > > > > > > > > > > # admin group > > > > > > delay_parameters 2 48000/48000 3000/6000 > > > > > > > > > > > > # no limits for local traffic > > > > > > delay_parameters 3 -1/-1 -1/-1 > > > > > > > > > > > > > > > > > > When trying to download a big file on > > > admin_site > > > > > > (http://192.168.1.19/bigfile.exe) from a > PC > > > that > > > > > > belong to the student group > (192.168.1.194), I > > > got > > > > > > 10kbps or below. Without using delay_pools > I > > > got > > > > > > 270kbps. > > > > > > > > > > > > Did I miss something? Would you please > point > > > me to > > > > > > > > > > > the correct direction? Any help would be > > > great. > > > > > > > > > > > > Best regards, > > > > > > zul > > > > > > > > > > > -- > > > > > Henrik Nordstrom <[EMAIL PROTECTED]> > > > > > MARA Systems AB, Sweden > > > -- > > > Henrik Nordstrom <[EMAIL PROTECTED]> > > > MARA Systems AB, Sweden > > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
