I did not find a solution to a similar problem like yours for my proxy, to
limit the daily/monthly download limit for the users, identified with basic
auth.
I wrote a simple external helper, analyzing the access log. Every user, who
exceeds his limit, is entered into a simple textfile, which contains the
list of users, to be denied access despite being authorized.
When access is denied, a special error page is displayed.
Every update of the textfile, however, needs a "squid -k reconfigure" to be
effective.
So it depends upon number of users, exceeding their limit, whether this
might be noticable or not.
For my requirements, it can be tolerated. Otherwise, the external helper
must be smarter, to check the DB directly. Or even caching invalidated
users.
-- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Per-user-bandwidth-usage-counting-tp4659573p4659575.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Fri Apr 19 2013 - 22:42:21 MDT
This archive was generated by hypermail 2.2.0 : Sun Apr 21 2013 - 12:00:04 MDT