Proposal for online users

Matthew Newton mcn4 at leicester.ac.uk
Mon Jan 23 12:51:50 CET 2017


On Mon, Jan 23, 2017 at 01:35:04PM +0200, Haviaras Kostas wrote:
> Hello, I would like somehow to count the online users inside the
> freeradius! It is better to create my own module or to modify the exist sql
> module???

No users are online "inside FreeRADIUS". They are connected to
your NAS.

You could query your NAS to get the number of active sessions, or
use one of the database modules in FreeRADIUS (likely rlm_sql) to
keep track of the accounting data from your NAS. Which it does by
default.

Either way, there's no need to create a new module. 

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list