SQLCounter configuration

tnt at kalik.net tnt at kalik.net
Thu Feb 26 19:56:03 CET 2009


>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.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list