regexp in huntgroup
a.cudbardb at freeradius.org
Tue Apr 14 19:06:48 CEST 2015
> On 14 Apr 2015, at 11:42, A.L.M.Buxey at lboro.ac.uk wrote:
>> I have configuration file (huntgroup):
>> LNS NAS-IP-Address =~ /^213\.151\.231\./
>> LNS NAS-IP-Address =~ /^213\.151\.232\./
>> LNS NAS-IP-Address == 188.8.131.52
> 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 at freeradius.org>
FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Freeradius-Users