Hi everybody. Well i'm very new to squid but i have finished installing
and configuring
a Squid server with delay pools that is working with my transperant
proxy configuration.
But i have a problem with more then one pool. I have 3 networks that i
whant to limit.
This is my configuration (Of course it could be wrong) :
As i am not familiar with delay pools.
acl network_1 url_regex -i 10.100.0
acl network_2 url_regex -i 10.100.2
acl network_3 url_regex -i 10.100.4
acl network_1_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
.ram ... and so on
acl network_2_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
.ram ... and so on but diffrent.
acl network_3_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
.ram ... and so on but diffrent.
delay_pools 3
# ==== 1 ====
delay_class 1 2
delay_parameters 5000/150000 5000/120000
delay_access 1 allow network_1
# ==== 1 ====
# ==== 2 ====
delay_class 2 2
delay_parameters 5000/150000 5000/120000
delay_access 1 allow network_1
# ==== 2 ====
# ==== 3 ====
delay_class 3 2
delay_parameters 5000/150000 5000/120000
delay_access 1 allow network_1
# ==== 3 ====
Is this incorrect or what? any suggestions appreciated.
And also, when i shutdown my squid server with "service squid stop" it
allways comes
with the following message and in random time it finally quites :
/etc/init.d/squid: [: 0: unary operator expected
/etc/init.d/squid: [: 2: unary operator expected
/etc/init.d/squid: [: 4: unary operator expected
/etc/init.d/squid: [: 6: unary operator expected
/etc/init.d/squid: [: 8: unary operator expected
/etc/init.d/squid: [: 10: unary operator expected
/etc/init.d/squid: [: 12: unary operator expected
Cheers, and thanks for your time.
Best regards,
Svavar Orn
svavar@fiton.is
Reykjavik - ICELAND
Received on Fri Aug 31 2001 - 08:35:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:57 MST