Rewriting contents of Accounting messages

Alan DeKok aland at deployingradius.com
Fri Jun 26 14:16:21 CEST 2020


On Jun 26, 2020, at 8:02 AM, Pavel Uhliar <pavel.uhliar at gmail.com> wrote:
> Now I need to change contents of the Class attribute DURING THE LIFETIME of
> the session.

  It *might* be possible to send a CoA-Request with a new Class attribute.  But that depends on the NAS.  The only way to know is to try it.

> NAS keeps sending Accounting Interim updates. The information coming from
> NAS is still the same as it was in Access-Request, but setting in local
> database changed, so my script produces another contents for Class
> attribute, and I need the change to be reflected in Accounting messsage
> proxied to the black-box.

  You're better off just updating the Class attribute before proxying the packet.

  Alan DeKok.




More information about the Freeradius-Users mailing list