Change between FreeRadius 2.2.5 to 3.0.17 in Filter ?

Olivier CALVANO o.calvano at gmail.com
Tue Jun 23 06:49:45 CEST 2020


Le lun. 22 juin 2020 à 13:29, Alan DeKok <aland at deployingradius.com> a
écrit :

> On Jun 22, 2020, at 12:07 AM, Olivier CALVANO <o.calvano at gmail.com> wrote:
> >        if ((Tunnel-Server-Endpoint:0[0] != '192.168.1.96') && (User-Name
> > =~ /\\.internal-lan\\.ftth/) && ("%{Packet-Src-IP-Address}" ==
> > "192.168.90.58")) {
>
>   You should just use:
>
>         if ((Tunnel-Server-Endpoint:0[0] != 192.168.1.96) && (User-Name =~
> /\\.internal-lan\\.ftth/) && (Packet-Src-IP-Address == 192.168.90.58)) {
>
>
Same erreors :

(0)       if ((Tunnel-Server-Endpoint:0[0] != '192.168.1.96') && (User-Name
=~ /\\.internal-lan\\.ftth/) && (Packet-Src-IP-Address == 192.168.90.58))
(0)       ERROR: Failed retrieving values required to evaluate condition


when i start without ' in the IP, that don't start


More information about the Freeradius-Users mailing list