Search squid archive

Data transfer limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've tried searching through the archives for data transfer limits but
all I can find is stuff on bandwidth limiting through the use of delay
pools to restrict users to a specific transfer rate.

Here is my situation. I have a Squid server on the internet that users
around the world can connect to but it requires that they know their
own username and password (this is not an open proxy) in order to
connect. So I have this in my squid.conf:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users

/etc/squid/passwd has a list of usernames and their associated
passwords. How can I limit each user to a specific amount of data
transfer per month such as 100GB. I do not want to limit the rate to
anything such as 64kbps. I want my users to use my full 10Mbps
connection if they can but once they reach 100GB of transferred data,
I want to disable them.

Is this possible?

Thanks

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux