SQLCounter configuration

Alexander Solodukhin alt at softwarium.net
Thu Feb 26 20:22:31 CET 2009


On Thu, 26 Feb 2009 20:56:03 +0200, <tnt at kalik.net> wrote:

>> I can do like this:
>>
>>         if (!reply:ChilliSpot-Max-Total-Octets) {
>>             update reply {
>>                 Reply-Message := "Traffic limit exceeded."
>>             }
>>         }
>>
>> but if user enter wrong password "Traffic limit exceeded." error message
>> will be displayed.
>>
>
> I had a look at the code and sqlcounter module sets the Reply-Message:
> "Your maximum %s usage time has been reached" when user is rejected.
> Check for that reply message and alter it.

Thank you. I see this solution in the internet, but i need configurable  
Reply-Message, becouse i want to limit not only traffic, but session time  
too.


-- 
ISP CrIS, Softwarium



More information about the Freeradius-Users mailing list