Matching a prefix in huntgroups file

Brian Candler b.candler at
Fri Nov 4 23:02:11 CET 2016

On 04/11/2016 18:28, Alan Buxey wrote:
> whatever you do,  don't use huntgroup , it's extremely slow by many factors!

I currently only have 4 or 5 huntgroups, and I can't see how it would be 
much slower doing a linear search through huntgroups than doing the same 
4 or 5 tests sequentially in unlang.

In an ideal world I'd do a direct mapping from NAS-IP-Address to nas 
type, but given the large blocks (e.g. /16) I don't really want to 
populate a table with 65,536 entries.

More information about the Freeradius-Users mailing list