Thanks for your help. At 2021-12-04 19:00:01, freeradius-users-request@lists.freeradius.org wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Re: Multiple NAS-IP-Address check attributes in FreeRadius 3.x (Alan DeKok)
----------------------------------------------------------------------
Message: 1 Date: Fri, 3 Dec 2021 11:48:22 -0500 From: Alan DeKok <aland@deployingradius.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Multiple NAS-IP-Address check attributes in FreeRadius 3.x Message-ID: <D3CB53D5-31E9-4C89-9CC7-F6188CD67D66@deployingradius.com> Content-Type: text/plain; charset=us-ascii
On Dec 3, 2021, at 10:55 AM, Jackie <dark17@126.com> wrote:
In 2.x I can add a attributes in radcheck table use the =~ operator, and a regex xxx.xxx.xxx.1|xxx.xxx.xxx.2 ... but in 3.x it failed, follow is error message
(1) sql: ERROR: Error parsing value: Failed resolving "=xxx.xxx.xxx.1|=xxx.xxx.xxx.2" to IPv4 address: Name or service not known
Yes. That functionality was removed in 3.0
what can I do?
Rewrite the rules in `unlang`. Unfortunately, in order to support new features in v3, it was hard to keep the regex support in SQL.
Alan DeKok.
------------------------------
Subject: Digest Footer
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------
End of Freeradius-Users Digest, Vol 200, Issue 11 *************************************************