c module

yao guoxian yaoguoxian at gmail.com
Tue May 2 10:02:46 CEST 2006


>Please tell me, how can i write a module of my own in c.

>Also, tell me how can i compile it and use with freeradius(also say the
config file changes)

I think you should edit and compile your own program code and get the final
executable file, e.g your_own.exe.
Then edit radiusd.conf , add your own 'exec' section such as :
exec echo {
         wait = yes
         program = "/your_own.exe_path/your_own.exe %{argu1} %{augu2} ..."
         input_pairs = request
         output_pairs = reply
}
Finally, recomplie Freeradius.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060502/ebc22be3/attachment.html>


More information about the Freeradius-Users mailing list