Debugging RLM modules

Ali Majdzadeh ali.majdzadeh at
Sun Feb 3 16:51:19 CET 2008

Hello Doug
Thanks a lot for your usefull points. I am going to give it a try.

Kind Regards

2008/2/3, Doug Hardie <bc979 at>:
> On Feb 2, 2008, at 01:14, Alan DeKok wrote:
> > Ali Majdzadeh wrote:
> >> Is there any way to debug an RLM module using gdb?
> >
> >  Yes.  The modules are just shared libraries.  See the gdb manual for
> > how to deal with shared libraries.
> Some additional info may be helpful.  You can attach to a running
> radiusd with gdb and the -i option and set breakpoints for the module
> you want to debug.  However, if this is an operational server you will
> quickly get into big issues.  You really ought to get either another
> instance running or use a test server and start it with gdb -i radiusd
> -X. Then set your breakpoints and run the test.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list