[98765] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

question on algorithm for radius based accouting

daemon@ATHENA.MIT.EDU (Joe Shen)
Thu Aug 16 23:42:41 2007

Date: Fri, 17 Aug 2007 09:53:52 +0800 (CST)
From: Joe Shen <joe_hznm@yahoo.com.sg>
To: NANGO <nanog@merit.edu>
Errors-To: owner-nanog@merit.edu


hi,

   I 'google'  algorithm for radius based accounting. 
but can't find anything. 

  My question is:  what's the best algorithm for
constrcting  broadband access record from radius
accouting packets?

  To my knowledge, some system takes:

   Record Accouting-on packet arriving time -> 
    record Accouting-Off packet's Acct-Session-Time 
and Acct-Delay-Time  ->

    The Log-off time is calculated as:

       Accouting-on time + ( Acct-Session-Time -
Acct_delay-Time) 


  But, some other takes :

   Record Accouting-off arriving time -->

     record Accouting-Off packet's Acct-Session-Time 
and Acct-Delay-Time     -->

      Log-on time is calculated as: 
  
Accouting-off arriving time - ( Acct-Session-Time -
Acct_delay-Time) 


   Are the two methods have the same effect on
calculating result?  If radius packets were sent to
two accouting systems simulataneusly, while the two
system takes the different algorithm, will there be
any difference between the result of accouting ?

regards

Joe


      
__________________________________ 
Yahoo! Movies - Search movie info and celeb profiles and photos. 
http://sg.movies.yahoo.com/

home help back first fref pref prev next nref lref last post