Forging a RADIUS request within a module

Alan DeKok aland at deployingradius.com
Fri Dec 12 15:45:02 CET 2008


Geoffroy Arnoud wrote:
> Is it possible to create the Accounting-Request from inside a module and "post it" as an event, to let FreeRADIUS core manage processing/sending?

  Yes.  See src/main/session.c, session_zap() for a function that does this.

  But if you plan on sending a packet to another box, the best approach
is to use radclient.  Posting "internal" packets that get forwarded off
of the box is likely not to work.

  Alan DeKok.



More information about the Freeradius-Users mailing list