25 Jun
2021
25 Jun
'21
1:45 p.m.
On Jun 25, 2021, at 12:39 PM, Paul Moser via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
Is it possible to remove all attributes of a specific vendor from a request/reply?
I'm currently doing
update request { <attribute_name_1> !* ANY <attribute_name_2> !* ANY ... }
which works, but does mean I need to make sure I keep my code in sync with any attributes that get added to that vendor.
Unfortunately, there's no easy way to do this in v3. You could write a simple C module to do it. It might be possible to fix the attr_filter module to do this. Right now you can filter on Vendor-Specific, but not on a vendor. Let me take a look. Alan DeKok.