2.1.6 Segfault (unlang: if (NAS-Port == 0) { reject }

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Mon Aug 10 18:43:17 CEST 2009


Hi,

> Reproducible on 2.1.6, default config with:
> These lines in the authorize section:
>        if (NAS-Port == 0) {
>                 reject
>         }

are you checking to see if the value exists (and is 0, or if the value
is null or not present?  be aware that remote requests arriving your way
may not have details such as NAS-IP-Address or NAS-Port.....

does this exhibit the same bahaviour (at this point in time dont have a
box to take down... ;-) )?


if ("%{NAS-Port}" == "0") {
		reject
	}

alan




More information about the Freeradius-Users mailing list