<div dir="ltr"><div><div><div>Hi<br><br></div>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 ? <br><br></div>Thanks<br></div><br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 12:05 PM, Emanuele Fia <span dir="ltr"><<a href="mailto:emanuele.fia@gmail.com" target="_blank">emanuele.fia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:13px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">Dear Freeradius Users,</font></span><div style="font-size:13px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">I need some help in my freeradius configuration.</font></span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></div><div style="font-size:13px"><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">radusergroup</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+---------------------+---------------------+----------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| username            | groupname           | priority |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+---------------------+---------------------+----------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 1aaaaaaaaa1228721nx | offertaA_unlimited  |        1 |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 1aaaaaaaaa1228721nx | offertaA_limited    |        2 |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+---------------------+---------------------+----------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">radgroupcheck</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+----+---------------------+-----------------------+----+---------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| id | groupname           | attribute             | op | value   |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+----+---------------------+-----------------------+----+---------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 35 | offertaA_unlimited  | Max-Monthly-TrafficIN | := | 5000000 |</font></span></p><p style="margin:0px;font-size:12px"></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+----+---------------------+-----------------------+----+---------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">radgroupreply</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+-----+---------------------+---------------------+----+------------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| id  | groupname          | attribute            | op | value      |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+-----+---------------------+---------------------+----+------------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 207 | offertaA_unlimited | Fall-Through         | =  | yes        |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 205 | offertaA_unlimited | Rate-Limit           | =  | 2048k/512k |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 211 | offertaA_limited   | Fall-Through         | =  | yes        |</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">| 209 | offertaA_limited   | Rate-Limit           | =  | 100k/100k  |</font></span></p><p style="margin:0px;font-size:12px"></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">+-----+---------------------+---------------------+----+------------+</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">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'</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">Now happen that when sqlcounter 'Max-Monthly-TrafficIN' reach the value set in radgroupreply return auth reject.</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">Probably there is something to do in policy.conf, i have done some test without results =(</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">Thank you for help,</font></span></p><p style="margin:0px;font-size:12px"><span style="background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif" color="#000000">Emanuele</font></span></p></div></div>
<br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div></div></div></div></div></div>