Re: [squid-users] Limiting the bandwidth of certain fyles

From: Andreas Pettersson <[email protected]>
Date: Tue, 27 Apr 2004 23:28:36 +0200

You seem to have get yourself tangled in some delay hell ;-)
These lines should do what you want:

delay_pools 1
delay_class 1 2
delay_parameters 1 -1/-1 1250/1250
delay_access 1 allow badinternet time
delay_access 1 deny all

You only need a delay pool to slow down traffic, not to give your users full
speed.
Btw, you _really_ should use a src acl to identify your local network
(socceraccess) instead of a regex..

/Andreas

----- Original Message -----
From: "Xavier Baez" <tech@socceraccess.net>

> acl socceraccess url_regex -i 192.168
> acl badinternet url_regex -i ftp \.exe \.zip \.rar \.r01 \.r02 \.r03
> \.r04 \.r05
> acl day time 09:00-23:59
> delay_pools 2
> delay_class 1 2
> delay_parameters 1 -1/-1 -1/-1
> delay_access 1 allow socceraccess
> delay_class 2 1
> delay_parameters 2 1250/1250 1250/1250
> delay_access 2 allow day
> delay_access 2 deny !day
> delay_access 2 allow badintern
Received on Tue Apr 27 2004 - 15:27:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:03 MDT