[RADIATOR] Logging of multiple instances of attribute

Jethro R Binks jethro.binks at strath.ac.uk
Mon Dec 17 09:09:19 CST 2012


I have devices which send Radiator multiple instance of a certain 
attribute in their Access-Request.  I want to print all of the values sent 
for that attribute, but using a logging clause such as:

  colubris-avp="%{Colubris-AVPAIR}"

only shows me the first of the attributes received.

I went through the reference and couldn't find any recognition of this 
issue.

Actually, I only really want one or two of the values to be honest.  So it 
would be really nice to be able to match on the A/V pair that I really 
want, so maybe something like:

  colubris-avp="%{Colubris-AVPAIR:ssid}"

which will get me the correct string from a packet that looks like this in 
part:

AVP: l=113  t=Vendor-Specific(26) v=Colubris(8744)
VSA: l=14 t=Colubris-AVPair(0): ssid=eduroam
VSA: l=23 t=Colubris-AVPair(0): incoming-vlan-id=4047
VSA: l=30 t=Colubris-AVPair(0): group=James Goold Hall (GLD)
VSA: l=17 t=Colubris-AVPair(0): vsc-unique-id=2

Any ideas?

Jethro.

.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.


More information about the radiator mailing list