Search squid archive

delay_access url_regex acl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 
I am currently facing some troubles will using Squids
feature to manage bandwidth (delay_pools, delay_access, ...)
 
I would like to apply a 50kbytes/s limitation to each
users and a global 3Mbytes/s limitation.
There is a authentication group (I am working with NTLM
authentication) for which I apply no limit.
Here is the conf :
acl InternetAdmin external InetGroup Internet_Admin
 
delay_pools 1
delay_class 1 2
delay_parameters 1 3145728/3145728 51200/51200
delay_access 1 allow !InternetAdmin
delay_access 1 deny all
 
This works fine.
Now I want to allow all user to download at normal speed
on some sites.
acl whitelist.no_limit url_regex
"/etc/squid3/etc/whitelist.no_limit" #
"/etc/squid3/etc/whitelist.no_limit contains list of sites with no BW
limit
 
delay_pools 1
delay_class 1 2
delay_parameters 1 3145728/3145728 51200/51200 
delay_access 1 allow !whitelist.no_limit !InternetAdmin
delay_access 1 deny all
 
However with such configuration all sites (even those in
whitelist.no_limit) are limited in bandwidth.
 
I also tried a second configuration with 2 delay pool
(and I have the same problem) :
delay_pools 2
 
delay_class 1 1
delay_class 2 2
delay_parameters 1 -1/-1
delay_parameters 2 3145728/3145728 51200/51200
delay_access 1 allow InternetAdmin whitelist.no_limit
delay_access 1 deny all
delay_access 2 allow !InternetAdmin !whitelist.no_limit
delay_access 2 deny all
 
Am I doing something wrong?
 
Thank in advance for your help,
Best Regards,
Marc.
 
Debian Lenny: 2.6.26-2-686
Squid Cache: Version 3.0.STABLE8



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux