accounting & Interim-Update's on freeradius
Phil Mayers
p.mayers at imperial.ac.uk
Fri Feb 15 12:53:27 CET 2008
Joao Miguel Ferreira wrote:
> Hello all,
>
> I'm a bit confuse here.....
>
> 1)
> --------------------------------------------
> is it possible for a freeradius setup,
> runnging on a NAS system, via some authentication module,
> determine the
> traffic produced by a given user and autonomouslly send the
> Start,
> Interim-Update and Stop records to some _other_ Accounting
> Radius
> server ?
>
>
>
> Something like this:
>
> user1 --\
> user2 ------<-->--|NAS w/ freeradius|-<------>-[Internet,
> www, ...]
> user3 --/ \
> \
> \ traffic records
> \
> \
> |freeradius accounting|
> --------------------------------------------------------------------
>
> 2) if that is not possible, is there any kind of freeradius API
> for Linux (C++/Perl... ?!) that one can use in order to send
> such traffic accounting records ?
I think you're a bit confused. FreeRadius does not run on the NAS. The
NAS talks to FreeRadius.
Of course if the NAS is e.g. ChilliSpot then one could, in theory, run
FreeRadius on the same Linux host, but they're conceptually different
systems.
The answers is no. FreeRadius can't generate your accounting records for
you. There are many ways you could do this:
* script from cron e.g. shell script running radclient, python+pyrad
* plugins on the NAS (what is your NAS?)
* use non-radius accounting e.g. pmacct, softflowd
> ---------------------------------------------
>
>
> Cheers
> joao
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list