v3.0.x: raddebug/radmin ignore conditions

JB list.freeradius at me.com
Thu Feb 13 02:07:23 CET 2014


Arran Cudbard-Bell wrote:

> if ("%{Packet-Src-IP-Address}" == <foo>) {
> 	update {
> 		request:Tmp-Integer-0 := "%{debug:<level>}"
> 	}
> }

Ok, thanks for the tip!

I tried this, but to no avail:

authorize {
	if (request:NAS-Identifier == 'test') {
		update control {
			Tmp-String-0 := "%{debug:4}"
		}
	}
	…
}

I renamed one client to "test" but there's no debugging output in the log whatsoever.
Using global debugging I confirmed that FR indeed enters the condition.
"%{debug:4}" seems to be translated to "0".

It's 2am here, so it could be that I am missing something.
I'll try again tomorrow.

Cheers,
JB


More information about the Freeradius-Users mailing list