Freeradius vs bash control
Alan DeKok
aland at deployingradius.com
Mon Mar 28 16:34:32 CEST 2016
On Mar 27, 2016, at 1:21 PM, Syed Jahanzaib <aacable79 at gmail.com> wrote:
> Is it good idea to control users disconnection / coa via freeradius (via
> accounting section ) ?
Yes. That's why we have the example of sites-available/originate-coa.
> Or its better to do via bash script which pulls data from the mysql and
> take action accordingly like disconnect expired / over quota users or
> change package accordingly or aimilar actions?
You can always run radclient from a shell script.
The difference is that the originate-coa server is run ONLY when the server receives packets.
You can run radclient at any time, including from a cron job.
Alan DeKok.
More information about the Freeradius-Users
mailing list