Alan DeKok wrote:
JB wrote:
I see. Since the script seems to strip my quotes when I write something like -u "test", I changed the line to: u) condition="(User-Name == '$OPTARG')" Works fine now.
I've already pushed that fix.
Hm, at least according to GitHub, the single quotes are missing: https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/scripts/raddebug...
Did some more raddebug testing with all sorts of attributes. NAS-Identifier, User-Name, NAS-IP-Address, … all work in a debug condition but Packet-Src-Ip-Address refuses to play along. If I set "(Packet-Src-IP-Address == the.ip.add.ress)", I don't see any output. If I set "(Packet-Src-IP-Address != the.ip.add.ress)", I get debugging output.
I'll take a look. It should be easy to debug.
Great, thank you! Cheers, JB