On Jan 23, 2017, at 8:10 AM, Haviaras Kostas <[hidden email] <http://freeradius.1045715.n5.nabble.com/user/SendEmail.jtp?type=node&node=5744200&i=0>> wrote:
Thanks for your response, Alan DeKok, my point is that I want to have limit at the online users. When let's say the online users is 100, to reject every new request.
My point is that the information you need is in the SQL database. Use an SQL SELECT >statements to count the number of online users, and then reject the new one if there's more than >100 online.
FreeRADIUS does *not* provide you with a pre-packaged solution to every single thing you want >to do. It has solutions for most common cases (e.g. accounting in radacct).
If you want a custom solution, you need to understand all of the pieces, and then design / build >the solution yourself.
Alan DeKok.
I totaly agree with you, I only want your advice based on your experience, is better to develop my own module or to modify the exist (sql).
On Jan 23, 2017, at 9:23 AM, Haviaras Kostas <koshalirod@gmail.com> wrote
I totaly agree with you, I only want your advice based on your experience, is better to develop my own module or to modify the exist (sql).
Reading the messages on this list would help. You've been told 3 times now that you can just use SQL, and you don't need to write your own module. What part of that is unclear? Why do you not believe the answers we've given? Alan DeKok.
participants (2)
-
Alan DeKok -
Haviaras Kostas