Freeradius COA trigger

Phil Mayers p.mayers at imperial.ac.uk
Fri Oct 8 12:40:58 CEST 2010


On 08/10/10 11:28, Johan Meiring wrote:
> Hi,
>
> I have a freeradius setup generating COA successfully (when neccesary) after
> receiving accounting packets.
>
> This works well.
>
> Now I want to also make Freeradius generate a COA by some other means.
> e.g. a tech support guy  clicking "disconnect" on a web page.
>
> I.e. I want to somehow "trigger" a coa that is not caused by an "update coa
> {}" block, but by some external trigger.
>
> Is this possible in any way?
>

You can use "radclient" to generate CoA packets; just have your script 
do that. FreeRadius can (I think) then receive and send on the CoA 
packets; I'm not sure precisely how you do that, but I think it's 
documented in the "sites-available/coa" example.



More information about the Freeradius-Users mailing list