Sqlcounter fail over

Russell Mike radius.sir at gmail.com
Fri Sep 26 10:45:34 CEST 2014


Hi

this is how it should work as you explained. what is wrong ? what do you
want? please explain more. did you check if your counter does reset every
month ?

Thanks


On Thu, Sep 25, 2014 at 12:05 PM, Emanuele Fia <emanuele.fia at gmail.com>
wrote:

> Dear Freeradius Users,
>
> I need some help in my freeradius configuration.
>
> radusergroup
>
> +---------------------+---------------------+----------+
>
> | username            | groupname           | priority |
>
> +---------------------+---------------------+----------+
>
> | 1aaaaaaaaa1228721nx | offertaA_unlimited  |        1 |
>
> | 1aaaaaaaaa1228721nx | offertaA_limited    |        2 |
>
> +---------------------+---------------------+----------+
>
>
> radgroupcheck
>
> +----+---------------------+-----------------------+----+---------+
>
> | id | groupname           | attribute             | op | value   |
>
> +----+---------------------+-----------------------+----+---------+
>
> | 35 | offertaA_unlimited  | Max-Monthly-TrafficIN | := | 5000000 |
>
> +----+---------------------+-----------------------+----+---------+
>
>
> radgroupreply
>
> +-----+---------------------+---------------------+----+------------+
>
> | id  | groupname          | attribute            | op | value      |
>
> +-----+---------------------+---------------------+----+------------+
>
> | 207 | offertaA_unlimited | Fall-Through         | =  | yes        |
>
> | 205 | offertaA_unlimited | Rate-Limit           | =  | 2048k/512k |
>
> | 211 | offertaA_limited   | Fall-Through         | =  | yes        |
>
> | 209 | offertaA_limited   | Rate-Limit           | =  | 100k/100k  |
>
> +-----+---------------------+---------------------+----+------------+
>
>
>
> My goal is that user '1aaaaaaaaa1228721nx' use the group
> 'offertaA_unlimited' until the attribute 'Max-Monthly-TrafficIN' (
> sqlcounter ) reach the value  and after this radius reply with settings of
> the group 'offertaA_limited'
>
>
> Now happen that when sqlcounter 'Max-Monthly-TrafficIN' reach the value
> set in radgroupreply return auth reject.
>
>
> Probably there is something to do in policy.conf, i have done some test
> without results =(
>
>
> Thank you for help,
>
> Emanuele
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140926/4f2df191/attachment-0001.html>


More information about the Freeradius-Users mailing list