SQL Custom - MySQL

Alan DeKok alan.dekok at inkbridge.io
Fri Sep 12 14:43:23 UTC 2025


On Sep 12, 2025, at 9:24 AM, Rodrigo Prazim <rodrigoprazim at hotmail.com> wrote:
> However, FreeRadius interprets the curly braces "}" as the end of the statement.
> 
> REGEXP '^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2}
> 
> Is there any way for FreeRadius to understand that this does not close the instruction?

  This is hard to fix in v3.  The issue is that it would have to parse all of the contents of the SQL query, and there's no real way to do that correctly.

  The correct fix is to use v4, which solves all of the issues by making the expansions into real functions, with function-style arguments.

  Alan DeKok.




More information about the Freeradius-Users mailing list