[squid-users] Re: Re: Can we give different bandwidth to different users in a same group or network ??

From: Adam Aube <aaube01@dont-contact.us>
Date: Mon, 20 Dec 2004 18:41:36 -0500

Amit Khatri wrote:
> Adam Aube <aaube01@baker.edu> wrote:
>> Amit Khatri wrote:

>>> I am using Squid with Delay Pools.

>>> But I want to assign different bandwidth to different users in a same
>>> group or network.

>> Do you have some acl mechanism (such as username, IP address, etc) to
>> identify these users?

>> If so, then this is possible in Squid - take a look at the delay_access
>> settings in your squid.conf.

> Yes. I have acl mechnism (i.e IP address)
> I have aleady looked at delay_access settings.

> But still i am unable to alot different bandwidth to different users

> acl c5_76 src 192.168.2.5 192.168.2.76
> acl c153 src 192.168.2.153

> delay_access 1 allow c5_76
> delay_access 2 allow c153

> In the above code I have aloted bandwith 500/1024 to all individual
> members of group c5_76. But I want to give different bandwith to both
> individuals.

Split that acl in two and adjust your delay_access rules. Something like:

acl c5 src 192.168.2.5
acl c76 src 192.168.2.76
acl c153 src 192.168.2.153

delay_access 1 allow c5
delay_access 2 allow c76
delay_access 3 allow c153

Adjust the http_access and delay_parameters settings accordingly.

Adam
Received on Mon Dec 20 2004 - 16:41:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST