hi


    Well, i'm using exppp (http://shs.sumy.ua/, but it's in russian) on
    FreeBSD box, and exppp understands his own attributes
    (Exppp-Traffic-Limit and such), and i think it can kick user when
    traffic exceeds. How can freeradius tell exppp, how much octets
    user have for session? I mean, if all accounting information is in

by adding these specific attributes to the replies and setting them to the needed values. if these attributes are too specific, you'll probably need new dictionary files; well, read the available doc on this issue.



    mysql base, radius have to do simple SELECT to sql with sum()'s,
    then substract this value (it will be number of octets) from some
    fixed value of limit and give the result to exppp as
    Exppp-Traffic-Limit. Well, or something like that. Can it be done
    in FreeRadius? I mean, all those sql queries, substraction and all
    of that?

yes, it should be possible to do this in freeradius with sql, sqlcounter and counter modules.



    But, if i've understanded it right, this module reflects only on
    logon process, i mean, it won't pass no attributes to NAS, it just
    reject user if user's traffic is over, am i right? Still, radius
    have to return traffic limit value to NAS (exppp), how can it (or i) do this?

you can add arbitrary reply items to the access-accept. sorry, but i don't know how to set the values dynamically, but it is definitly possible in freeradius. search the archives, there are variables in FR and you can also arbitrarily process the replies (you could right a simple small module doing what you want).



ciao artur



--
__________________________________________________________
Artur Hecker                    http://www.enst.fr/~hecker
Groupe Acc�s et Mobilit�  /  Computer Science and Networks
E N S T  Paris ___________________________________________


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to