[squid-users] Delay Pools without some IPs

From: Vladimir Burciaga Aguilar <[email protected]>
Date: Fri, 16 May 2003 09:41:52 -0500

Hi again!

I finally set up Delay Pools in Proxy Server and they work so well. I'm very
grateful for all your help. Now I like to set up some IP address that ignore
Delay Pools, but they're in the range of the ournet and localnet ACLs. I
create a new acl with the list of the IPs and a new Delay Pool for them, but
when I test it doesn't work, they obey the Delay Pools for the rest of the
network. What should I do? What's wrong?

The squid.conf lines for ACL and Delay Pools are next:

======================================================
acl localnet src 10.0.0.0/255.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https, snews
acl Safe_ports port 1025-65535 # unregistered ports
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
acl ournet src 10.1.1.0/255.255.255.0
acl ourservers url_regex 10.1.1.
acl ext_deny urlpath_regex -i \.cab$ \.iso$ \.mp3$ \.mpg$
acl super_ip src 10.1.1.240 10.1.1.241 10.1.1.242 10.1.1.243 10.1.1.244
10.1.1.245

acl office_time1 time 07:00-08:59
acl office_time2 time 09:00-15:59
acl office_time3 time 16:00-16:59
acl office_time4 time 17:00-19:00

# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)

delay_pools 5

delay_class 1 2
delay_parameters 1 750000/45000000 -1/-1
delay_access 1 allow ourservers
delay_access 1 allow super_ip
delay_access 1 deny all

delay_class 2 2
delay_parameters 2 750000/45000000 10000/600000
delay_access 2 allow office_time1 localnet
delay_access 2 deny all

delay_class 3 2
delay_parameters 3 750000/45000000 4500/270000
delay_access 3 allow office_time2 localnet
delay_access 3 deny all

delay_class 4 2
delay_parameters 4 750000/45000000 7500/450000
delay_access 4 allow office_time3 localnet
delay_access 4 deny all

delay_class 5 2
delay_parameters 5 750000/45000000 12500/750000
delay_access 5 allow office_time4 localnet
delay_access 5 deny all

======================================================

Thanks again and sorry for my English!

_________________________________________________________________
MSN Fotos: la forma m�s f�cil de compartir e imprimir fotos.
http://photos.msn.es/support/worldwide.aspx
Received on Fri May 16 2003 - 08:42:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:42 MST