Greetings. I need some recommendation. Is it good idea to control users disconnection / coa via freeradius (via accounting section ) ? 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 mean sending coa via bash? In that case radius would not know(has the client been disconnected or not etc) what you are doing via bash so it wud be better to use radius for coa BR, Anirudh Malhotra 8zero2 Mail: 8zero2.in@gmail.com Facebook: www.facebook.com/8zero2 Twitter: @8zero2_in Blog: blog.8zero2.in On 28 Mar 2016, 01:22 +0530, Syed Jahanzaib<aacable79@gmail.com>, wrote:
Greetings. I need some recommendation. Is it good idea to control users disconnection / coa via freeradius (via accounting section ) ?
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? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Mar 27, 2016, at 1:21 PM, Syed Jahanzaib <aacable79@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.
participants (3)
-
Alan DeKok -
Anirudh Malhotra -
Syed Jahanzaib