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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to