Dear Alan, I have no idea how to do it, I have to add the filter-id attribute in the accounting-request packet by taking it from the database, I can also do it in pre-proxy but I do not know how to do it -----Messaggio originale----- Da: Freeradius-Users <freeradius-users-bounces+alessandro.romano=positivonet.it@lists.freeradius.org> Per conto di Alan DeKok Inviato: mercoledì 24 ottobre 2018 15.54 A: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Oggetto: Re: Adding Filter-Id Attribute to Accounting Requests On Oct 24, 2018, at 9:48 AM, Alessandro Romano <alessandro.romano@positivonet.it> wrote:
i need to add the attribute "Filter-ID" from database radusergroup to accounting-request packet.
At the moment i retreive the attribute only in access-accept packet
You can run the SQL "authorize" queries when the server receives an accounting packet: accounting { ... sql.authorize ... } It will run *all* of the SQL authorization queries. But it will mostly do what you want. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html