[squid-users] Re: Re: delay pools help

This is a discussion on [squid-users] Re: Re: delay pools help within the Squid Users forums, part of the Web Server and Related Forums category; Payal Rathod wrote: > Luckily it the software company which will enforce through their > router. > >> > ...


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-17-2004
Adam Aube
 
Posts: n/a
Default [squid-users] Re: Re: delay pools help

Payal Rathod wrote:

> Luckily it the software company which will enforce through their
> router.
>
>> > I want to allow only few IPs (192.168.1.1 and 192.168.1.11) full use of
>> > bandwidth, the rest should use only 64 KBps.

>>
>> If the software company enforces the limit, then it's easy. Just create a
>> single class 1 delay pool with a 64 Kbps limit. Deny delay pool access to
>> the IP's that you want to have full speed, and allow everything else.

>
> Can you give some example here please. I am pretty much confused with
> the usage of delay pools.


Just remember that speed settings in delay pools are bytes per second, not
bits per second, and that delay_access lines work just like http_access
lines - the first matching rule is applied.

acl full_speed src 192.168.1.1 192.168.1.11
acl all src 0.0.0.0/0.0.0.0
delay_pools 1
delay_class 1 1
delay_parameters 1 8000/12000 #64 Kbps sustained; 96 Kbps burst
delay_access 1 deny full_speed
delay_access 1 allow all

The above was adapted from the Delay Pools FAQ:

http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.8

Adam

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 02:57 AM.


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