[squid-users] Limiting per Host/Stream

From: Marc Hansen <Marcliste_at_gmx.de>
Date: Thu, 7 May 2009 08:42:56 +0200

Hi,
I need to limit the traffic based on the stream, the way I unterstood the
delaypools, that I'm only abel to limit per IP or Network.

Now in short two questions.

- Is it possible to limit based on the stream

- In my conifg, attached, I try to limit the host do 64000Byte. Is the Limit
"Per Host" based on a special net? Maybe the subnet from the proxy?
 We use more than one subnet and I will not run in a Networkproblem.

Regards
Marc
------------------------------------------------------------------------
acl delay500kbit dst 192.168.0.0/255.255.0.0
acl delay500kbit1 dst 10.209.31.0/24
acl delay500kbit2 dst 10.209.2.0/24

http_access allow SSL_ports
http_access allow Safe_ports
http_access allow CONNECT
http_access allow all
#never_direct allow direct
always_direct allow SSL_ports
always_direct allow direct
never_direct allow all
# always_direct deny local-external
# always_direct allow local-intranet
# never_direct allow all

###################
#192.168.0.0/16
#10.209.31.0/24
#10.209.2.0/24
#acl only128kusers src 192.168.1.0/255.255.192.0
delay_pools 1
delay_class 1 2
delay_access 1 allow !delay500kbit !delay500kbit1 !delay500kbit2
delay_access 1 deny all
delay_parameters 1 9600000/15000000 64000/15000000
Received on Thu May 07 2009 - 06:43:10 MDT

This archive was generated by hypermail 2.2.0 : Thu May 07 2009 - 12:00:02 MDT