Alternative for rlm_attr_filter for filtering vsa

Alan DeKok aland at deployingradius.com
Tue Jan 22 19:23:01 CET 2019


On Jan 22, 2019, at 1:13 PM, Thor Spruyt <thor.spruyt at telenet.be> wrote:
> Ok, that's good to know, so I did some further digging to figure out what's going wrong and I may have found the issue now.

  OK.

> So I wonder why it fail if only that one attribute is added the list ?
> 
> Looking up the attribute in the dictionary yields the following:
> /opt/freeradius/share/freeradius/dictionary.alcatel.sr:ATTRIBUTE  Alc-Acct-O-Outprof-Pkts-64              26      octets
> 
> The number "26" immediately rings a bell... there's another attribute with value 26:
> /opt/freeradius/share/freeradius/dictionary.rfc2865:ATTRIBUTE     Vendor-Specific                         26      vsa
> 
> Could it be that rlm_attr_filter mistakenly treats "Alc-Acct-O-Outprof-Pkts-64 =* ANY," as "Vendor-Specific =* ANY," ?

  Yes.  I'll push a fix to the v3.0.x branch on GitHub.

  Alan DeKok.




More information about the Freeradius-Users mailing list