Re: Limiting Bandwidth usage for each user

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 02 Oct 1999 14:41:39 +0200

Sajjad Ahmad wrote:

> I have Linux Redhat 6.0 and squid 2.2.stable5 and I want my users
> to limit 1 KB/s for http,ftp etc each user . I am using Squid as
> a transparent Proxy. Would any body help me setting it up.

See delay pools in the Squid FAQ, and comments in squid.conf.default

One example on how it can be done:

acl all src 0.0.0.0/0
delay_pools 1
delay_class 1 2
delay_access 1 allow all
delay_parameters 1 -1/-1 1024/32768

--
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Oct 02 1999 - 06:53:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:42 MST