20 Dec
2005
20 Dec
'05
5:47 a.m.
Damjan wrote:
I limit users by bytes transfered, so I need to sum AcctInputOctets and AcctOutputOctets, compare that sum to a check attribute (let's call it Max-All-Transfer) and return a coresponding ChilliSpot-Max-Total-Octets.
I beleive this is not configurable in rlm_sqlcounter?
Indeed.
I could try to make a patch if someone is willing to help me and guide me a bit.
I'd suggest to make the reply attribute user-defined (like the check attribute). You might add an option "reply-name" with "Session-Timeout" as the default value, so it doesn't break someone else's setup. -- Nicolas Baradakis