This is a discussion on Re: [squid-users] Limiting the bandwidth of certain fyles within the Squid Users forums, part of the Web Server and Related Forums category; You seem to have get yourself tangled in some delay hell ;-) These lines should do what you want: delay_pools 1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|