13 Feb
2014
13 Feb
'14
9:10 a.m.
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.
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. Alan DeKok.