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

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2004
Andreas Pettersson
 
Posts: n/a
Default Re: [squid-users] Limiting the bandwidth of certain fyles

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


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0