How to limit the number of active uers
Hello guys, I am wondering if there is anyway for freeradius to reject auth requests based on the number of active (connected) users. For example, I would like to limit the number of active (authorized) users to 50 in my radius+CoovaChilli deployment, so that connection speed doesn't become very poor. I am very new freeradius user. So, any hints/suggestions will be highly appreciated. Yours, Thura Hlaing
Thura Hlaing wrote:
I am wondering if there is anyway for freeradius to reject auth requests based on the number of active (connected) users. For example, I would like to limit the number of active (authorized) users to 50 in my radius+CoovaChilli deployment, so that connection speed doesn't become very poor.
Use a database. Store all of the active users in a database, such as SQL. The server comes with examples of how to do this. This assumes that the client is sending accounting requests. Then, simply select on the number of active users. If more than N, reject. Alan DeKok.
participants (2)
-
Alan DeKok -
Thura Hlaing