[squid-users] Delay pools per user?

From: Niksa Franceschi <n.franceschi@dont-contact.us>
Date: Mon, 28 May 2001 11:53:10 +0200

I've got running squid 2.5 DEVEL, with NTLM authorization, and basic auth
for ones who arent using IE.
Also, what is set is delay pools, so every user can get max bandwidth of
4kbytes/sec.
However, what I would need, is to allow some users to have larger bandwidth.
Previously (and currently), this works OK per IP basis, but what I would
like
to use is per user basis (so, the one authenticates via NTLM, or basic auth,
and that with that info, if he's in list, gets larger bandwidth than
others).
What I've tried is:

acl friends proxy_auth mydomain\someuser someuser
acl username proxy_auth REQUIRED

http_access allow friends
http_access allow username
http_access deny all

delay_pools 2
delay_class 1 3
delay_class 2 3
delay_parameters 1 10000/10000 -1/-1 10000/10000
delay_parameters 2 4000/4000 -1/-1 4000/4000

delay_access 1 allow friends
delay_access 1 deny all
delay_access 2 allow all

However, this doesn't work. All users go into 2nd pool.
Seems like per user delay pools aint working.
Also, one note, if I set in 'friends' my IP with acl src, than
I do end up in pool 1.

Any suggestions?
Received on Mon May 28 2001 - 03:53:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:19 MST