Quota based on time with squid
senthilkumaar2021 at gmail.com
Tue Oct 25 11:36:46 CEST 2011
Thanks i will check in and let you know
On Sat, Oct 22, 2011 at 12:37 AM, Alan DeKok <aland at deployingradius.com> wrote:
> senthil kumar wrote:
>> I have installed free-radius in linux machine with accounting support
>> and was able to authenticate using radtest client.and also I was also
>> successfully authenticate with squid proxy server.
> That's good to hear.
>> I need to assign quota to squid users based on the weekly/hourly
>> basis. I need users radius server to return packet reject when time is
>> expired. is it possible in radius?
> Yes. See the "counter" module, or the "sqlcounter" module.
> The main issue is that they require the NAS to send accounting
> packets. I don't know if squid does that.
>> I am using only linux machine with proxy server. whether NAS is needed?
> In this case, squid is the NAS. (i.e. machine sending Access-Request)
>> If so, can anyone help me in framing the rules for quota . eg 2 hours
>> a day. I have basic configuration and now when a user authenticates
>> login time is updated in the radpostauth.
> This is documented in the sqlcounter module. Look there first.
> Alan DeKok.
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users