Passing radius messages to script

Alan DeKok aland at deployingradius.com
Thu Aug 6 11:19:57 CEST 2009


Dejan Markic wrote:
> Hello!
> 
> Is it possible, that FreeRadius would open >n< instances of one script, which would read from stdin (or such), to which it would send it's Radius messages and script would return the Radius reply?
> I do not want to run script everytime I receive a message on Radius, I'd like to keep it open (even more instances). So, when Radius starts, it also starts this script and keeps it running and that script is waiting for input and the script would return the message that should be returned. Is that possible or should we write a module for it? Maybe it is possible through rlm_perl?

  For that, you'll have to use the Perl module.  You should be able to
keep persistent connections open.

  The server doesn't support that kind of behavior.

  Alan DeKok.



More information about the Freeradius-Users mailing list