Hello SQUID users,
I am trying to configure my cache for next thing:
All downloads from nets of our city are unlimited.
All another downloads mast be limited by delay pool.
###############################################################
acl all src 0.0.0.0/0.0.0.0
acl localnet1 src 192.168.1.0/255.255.255.0
acl city_nets dst "/etc/squid/city.nets"
#city.nets is the file containing list with one net per line
#in next form:
#123.123.123.0/24
#234.234.234.0/19
#etc
http_access allow localnet1
delay_pools 1
delay_pool 1 2
delay_parameters 1 -1/-1 3000/3000
delay_access 1 allow localnet1 !city_nets
delay_access 1 deny all
################################################################
As i read many tims - it is must work.
Where is mistake?
I tryied many variations of this delay pool.
I checked acl city_nets - its works. (http_access deny city_nets is work
perfect)
After reading this mail list, i know - pools works only with "fast"
acl. But dst acl is fast - no need some axtra doing for this acls.
I used only one dst IP in delay_pool but it has not works any way!
Delay pools works perfect only when i used src type of acl and regexp.
My squid is 2.5 stable 5 runnig under FreeBSD 4.8.
mailto:serega@tspace.ru
Received on Tue Apr 19 2005 - 23:51:58 MDT
This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT