Cast type user-name

Bassem Mettichi mettichi at gmail.com
Sun Apr 17 09:31:48 UTC 2022


Hello,

i have used this regex for ipv4addr


if (User-Name =~ \^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$\)

{

}


but when i try to start freeradius i get this error message:


default[424]: Failed to find "{" as a module or policy.
default[424]: Failed to parse "{" entry.

How could I resolve this?

Thanks


Le sam. 16 avr. 2022 à 20:00, Matthew Newton <mcn at freeradius.org> a écrit :

> On 16/04/2022 19:50, Bassem Mettichi wrote:
> > Thanks a lot Alan please could you give me an example for regexp that
> match
> > ipv4 and ipv
>
> https://duckduckgo.com/?q=regex+to+match+ip+address
>
> --
> Matthew
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list