Re: naughty user

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 01 Oct 1999 14:27:30 +0200

R. Harsiandy I wrote:

> Let's just say that I want to limit his connection only as far as 1200
> kbps. I heard that delay_pools is the solution but I still do not
> understand the FAQ or the squid.conf.

acl naughty_users src 192.168.54.3
delay_pools 1
delay_class 1 2
delay_access 1 allow naughty_users
delay_parameters 1 -1/-1 150000/2000000

Will probably do what you want. It will allow naughty_user to fetch 2MB
of data and then be limited to 1200kbps (150000 bytes/sec). This would
allow him to surf normally, but be limited to 1200kbps as soon as he
tries to download things.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Fri Oct 01 1999 - 12:47:11 MDT

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