I have done this but I am not sure if it will pick up the ncsa users.
This should restrict max bandwidth for any 1 user to 1024 (1Mbps)?
acl magic_words1 url_regex -i 192.168
acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar
.avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow magic_words1
delay_class 2 2
delay_parameters 2 5000/150000 5000/120000
delay_access 2 allow magic_words2
acl restuser proxy_auth ncsa_users
delay_class 1 1
# 256 Kbit/s fill rate, 1024 Kbit/s reserve
delay_parameters 1 32000/128000
delay_access 1 allow restuser
delay_access 1 deny all
--------------------------------------------------
From: "Chad Naugle" <Chad.Naugle@xxxxxxxxxxx>
Sent: Monday, November 08, 2010 3:57 PM
To: "J Webster" <webster_jack@xxxxxxxxxxx>; <squid-users@xxxxxxxxxxxxxxx>;
"Chad Naugle" <Chad.Naugle@xxxxxxxxxxx>
Subject: Re: Bandwidth split?
Anyway, I apologize for the short response, I was busy on the phone. I
would research delay_pools and try to figure out / tweak your config to
meet your needs. It's not a real straight forward config, but that's
because it is very flexible in how users are limited. The only thing
that it does not do is control uploading / POST requests.