[squid-users] Limit bandwidth - Delay pools and ACL ...

From: Olivier BELLON <Olivier.BELLON@dont-contact.us>
Date: Wed, 10 Dec 2003 15:57:10 +0100

Hello,

I'm having some troubles about the use of "Delay pools" and "Delay Acess" ACL.
How could I limit the use of the bandwidth (64 KB per IP) if some types of
files are downloaded from a specified IP range "ip_range_1".
Other downloads from this IP range "ip_range_1" are unlimited and downloads
from an other IP range "ip_range_2" are unlimited.

So i have the following magic_words :

acl magic_words_etud url_regex -i 192.168.0
acl magic_words_perm url_regex -i 192.93.219
acl magic_words_files url_regex -i .exe .mp3 .ace .avi .mpeg .mpe .mpg .qt
.ram .rm .rvb .iso .bin .raw .wav .mov

I think I must use a class 2 of delay pool and and the delay parameters
could contain "-1/-1 64000/64000" for the limited download and "-1/-1
-1/-1" for the unlimited.
But, i'm unable to write properly the good "delay_access" acl.

Some help will greatly apreciated :o)

Best Regards
Olivier
Received on Wed Dec 10 2003 - 07:59:16 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:09 MST