Re: [squid-users] users quotas

From: Robert Collins <[email protected]>
Date: 22 Nov 2002 21:41:44 +1100

On Fri, 2002-11-22 at 18:05, Ilya wrote:
> Hello!
>
> So, I have the LDAP server, where every user has its
> name/password/quotas. Quotas - how many Mb user can download
> from the Internet, what sites he can visets and can not, etc.
>
> How can I make squid to act, to satisfy user`s requests
> according to this quotas?
>
> As far as I understand, squid doesn`t have such built-in
> feature. You see, quotas can be changed by admin in any time,
> so it is impossible to rewrite squid.conf and restart squid
> everytime.
>
> So, probably it is necessary to write external program. What
> programming language can I use? How can I organize interaction
> between squid and such program?

Squid doesn't expose any real-time accounting information to external
programs at the moment. You need to alter squid to do so, and then can
write your external program. We've discussed the design somewhat here
and on squid-dev.

Cheers,
Rob

Received on Fri Nov 22 2002 - 04:41:03 MST

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