Re: [squid-users] Delay pool doubts

From: maes <maes@dont-contact.us>
Date: Thu, 15 Jul 2004 10:52:31 +0300

Hello Johnson,

Wednesday, July 14, 2004, 8:06:02 AM, you wrote:

[cut]

JJA> acl default src 192.168.0.234
JJA> acl 32klink src 192.168.0.234
JJA> acl 16klink src 192.168.0.223

JJA> acl magic_words2 url_regex -i ftp .exe .mp3 .vqf
JJA> .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt
JJA> .ram .rm .iso .raw .wav .mov .bz2 .mp3 .html .htm .asp
acl magic_words2 urlpath_regex -i \.exe$ \.mp3$ #etc

JJA> delay_pools 2
#here you're declare how many delay pools you'd like to have
delay_pools 3

JJA> #First delay pool We don't want to delay our local
JJA> traffic.
what does local traffic mean?

#delay_class delaypoolnumber delaypoolclass
delay_class 1 2
# -1/-1 means unlimited
delay_parameters 1 -1/-1 -1/-1
#you probably don't want permit full speed download:
delay_access 1 deny magic_words2
delay_access 1 allow magic_words1
delay_access 1 deny all

JJA> #Second delay pool.want to delay downloading files
JJA> mentioned in magic_words2.
delay_class 2 2
delay_parameters 2 4096/4096 4096/4096
delay_access 2 deny 32klink
delay_access 2 allow magic_words2
delay_access 2 deny all

JJA> #Second delay pool.want to delay downloading files
JJA> mentioned in magic_words2.
delay_classs 3 2
delay_parameters 3 2048/2048 2048/2048
delay_access 3 deny 16klink
delay_access 3 allow magic_words2
delay_access 3 deny all

JJA> delay_classs 2 3
                  ^ ^
                  | |_ class :)
                  |_just delay pool number
delay_parameters 3 2048/2048 2048/2048
                    ^ ^ ^ ^
                    | | | |_particular host maximum speed
                    | | |_______particular host restore (fill) speed
                    | |____________whole delay pool(agregate)max speed
                    |__________________agregate restore speed

sorry for my english
hope it will help

Best regards,
 maes mailto:maes@pfu.dp.ua
Received on Thu Jul 15 2004 - 01:52:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT