plug-in

Nicolas Baradakis nbk at sitadelle.com
Sun Feb 12 15:34:29 CET 2006


Pezhman Lali wrote:

> I want to install freeradius as a prepaid Radius server, with some
> special accounting methods, depends on time,and etc,(both internet
> and voice) untill now, I can not find any useful plug-ins ,so I want
> to discover freeradius as an interface between NAS and PHP scripts,
> that sends nas's port and id, username and password from nas to PHP
> and gets reply.  this will easy to me to write PHP codes, to manage
> multicost and multipurpose Radius.
>
> and my problem, I dont know how I can add PHP files to freeradius?

I'd suggest to look at the rlm_exec module: you can run a PHP scripts
(or any other program) each time FreeRADIUS receives a packet. There
are examples in radiusd.conf.

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list