Change between FreeRadius 2.2.5 to 3.0.17 in Filter ?

Alan DeKok aland at deployingradius.com
Mon Jun 22 13:29:19 CEST 2020


On Jun 22, 2020, at 12:07 AM, Olivier CALVANO <o.calvano at gmail.com> wrote:
> Exemple of my config entry:
> 
>        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)) {

> they are a synthaxe change in FreeRadius 3.x ?

  v3 is more picky about what it accepts.

  Alan DeKok.




More information about the Freeradius-Users mailing list