Disconnect message in 2.1.7 release
Alan DeKok
aland at deployingradius.com
Tue Oct 20 08:41:36 CEST 2009
Vijay Badola wrote:
> I have seen the Changelog of release freeradiusd-2.1.7.
> It says there is full support of ‘CoA and Disconnect messages’.
> My question is:
>
> (i) Is it possible to send disconnect/COA message
> internally from code?
From C? Yes. The rest of the code does it.
From "unlang", yes, too.
> (ii) If yes then how?
See src/main/util.c, request_alloc_coa(). See also the code in
evaluate.c, and event.c that deals with it.
See also raddb/sites-available/originate-coa. This is in the
ChangeLog file.
> (iii) If not then how can I send the disconnect message from
> outside? I have also seen your documents to send disconnect message
> using radclient(externally).but I have doubt how I will get trigger to
> send Disconnect/COA message if I am doing prepaid accounting.
FreeRADIUS can run external programs. Just run radclient.
Alan DeKok.
More information about the Freeradius-Users
mailing list