VSA Processing embedded values

Ben Gatewood Ben.Gatewood at essensys.co.uk
Wed Dec 31 11:16:31 CET 2014


Hi All,

I am processing Accounting records from a vendor who overloads VSA 255 to extend the range of available attributes. For instance, they may send something like this:

VENDOR-Attr-255 = "272=Yes”

Which really means VSA 272 = “Yes”

I am struggling a bit to figure out how to process these effectively. I found rlm_attr_rewrite but I can’t see a way to make it split the string and drop the “272=“ part. Is there a way to do this in unlang at all or am I going to need to bring in rlm_python or similar?

Thanks in Advance,

Ben


More information about the Freeradius-Users mailing list