Delay Pool for Direct Access, Not for Parent Access - Possible?

From: CNL Squid Users List <squid-users@dont-contact.us>
Date: Thu, 5 Aug 1999 10:18:47 +0530

David, and Other Fellow Squiddie Buddies:

        Similar scene: But another problem.

        Bruce Willis and others who save/try to save the world alway
        have problems. :-)

        I administer two proxies.

                                2 Mbps link to Mother ISP
                                        Link 1
                [ Proxy V ] ---------------------------------->
               (202.41.99.4)
                    |
                    |
                    | 128 Kbps link
                    |
                    | 2 Mbps link to Mother ISP
                    | Link 2
                [ Proxy N ]----------------------------------->
                (202.141.1.20)
                    |
                    |
                    |
                [ Client C ]
                (Huge Customer)

        I get images from Link 1
        I get non-images from Link 2
        
        At proxy N:
        1. I want to rate limit (delay pool) direct accesses on Link 2.
           to X kbps.
        2. I do not want to delay pool accesses to Proxy V (parent)
           Images can come as fast as they can.

Q1. Is this possible?
Q2. How do I do this?

        I append relevant portions of my /etc/squid.conf on Proxy N

Dinesh

-- 
acl all 		src 0.0.0.0/0.0.0.0
acl media 		urlpath_regex -i "/etc/squid/media.regex"
acl image 		urlpath_regex -i "/etc/squid/image.regex"
acl net_src_noc  	src 202.141.1.0/255.255.255.0
acl net_src_vsat_noc 	src 202.41.99.0/255.255.255.0
acl net_src_iisc 	src 144.16.64.0/255.255.224.0
acl net_dst_noc  	dst 202.141.1.0/255.255.255.0
acl net_dst_iisc 	dst 144.16.64.0/255.255.224.0
acl dom_iisc 		dstdomain iisc.ernet.in
cache_peer 202.41.99.4 parent 3128 3130
# do not query vsat-proxy for servers in the noc/iisc
# cache_peer_access 202.41.99.4 allow dom_umd
cache_peer_access 202.41.99.4 deny net_dst_noc
cache_peer_access 202.41.99.4 deny net_dst_iisc
cache_peer_access 202.41.99.4 deny dom_iisc
cache_peer_access 202.41.99.4 deny !image
# cache_peer_access 202.41.99.4 deny !chat
# delay_pools 1
# delay_class 1 1
# delay_access 1 allow net_src_noc
# delay_access 1 allow net_src_iisc
# delay_access 1 deny  all
# delay_parameters 1 12000/12000
http_access deny media
http_access allow net_src_noc
http_access allow net_src_iisc
http_access deny all
--
Received on Wed Aug 04 1999 - 22:49:46 MDT

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