SQLCounter configuration
Alexander Solodukhin
alt at softwarium.net
Thu Feb 26 11:12:50 CET 2009
On Thu, 26 Feb 2009 12:03:22 +0200, Alan DeKok <aland at deployingradius.com>
wrote:
> alt_ wrote:
>> Can you show some examples please? I try to do like this:
>>
>> noresetBytecounter
>>
>> if (reject) {
>> update reply {
>> Reply-Message := "Traffic limit exceeded."
>> }
>> }
>>
>> but if noresetBytecounter return reject freeradius immediatly return
>> reject
>> to user and do not process 'if' clause
>
> You need to put this in the "post-auth" section, "Reject" subsection.
> See the example configuration files.
/etc/freeradius/sites-enabled/default[412]: "SQL Counter" modules aren't
allowed in 'post-auth' sections -- they have no such method.
--
ISP CrIS, Softwarium
More information about the Freeradius-Users
mailing list