On 14 Apr 2015, at 11:42, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
I have configuration file (huntgroup):
LNS NAS-IP-Address =~ /^213\.151\.231\./ LNS NAS-IP-Address =~ /^213\.151\.232\./ LNS NAS-IP-Address == 213.151.235.230
regex is huntgroups doesnt operate 100% like elsewhere.....and they are going.
use unlang to define a policy instead...not only can you use all the usual regex but doing it that way is a lot lot fster than huntgroup method
Support for regular expressions in users files and huntgroups, on non string attributes was removed in v3.0.x (it never worked properly). It may reappear in v3.1.x if they get converted to use the template and map APIs. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2