Filtering accounting messages

Alan DeKok aland at
Mon Jul 15 09:11:48 CEST 2019

On Jul 14, 2019, at 10:07 PM, liran kessel <lirankessel at> wrote:
> I understand what you proposed but this (my users) is a dynamic list that will grow constantly so the question is what would be the best way to keep it updated within the configuration?

This is what databases are for.

FreeRADIUS is a RADIUS server.  We don't implement internal databases.  We just use normal databases.

> As I said in the original mail , we are growing to over 150k unique calling-station-ids that around 80% should be recorded to the DB while 20% shouldn’t. 
> Maybe storing the list in a file that I can reference in the suggested “if” statement?  
> Or maybe there is way to cache the list in memory to speed it up even more? 

Use Redis.  We've tested it at 10K+ complex queries per second with FreeRADIUS.  That should be more than sufficient for your needs.

Alan DeKok.

More information about the Freeradius-Users mailing list