Help with adding attribute to accounting packet.

Alan DeKok aland at deployingradius.com
Wed May 30 13:25:31 CEST 2018


On May 29, 2018, at 1:44 PM, Leon Botes <leon.botes1 at gmail.com> wrote:
> 
> I have searched the net looking for a solution to add the Framed-Route
> attribute to a proxied accounting packet.

  Add it in the "pre-proxy" section.

> The attribute is sent in the standard auth packet but I to have it
> added to the accounting packets.

  This is what a database is for.  FreeRADIUS uses databases, but isn't a database.

  When the Access-Request comes in, write the Framed-Route to a DB.  Then for the accounting packet, read it from the DB.

> I am guessing it will not be added in proxy.conf but here is the file anyway.

  We already know what's in that file.  The comments in that file document what it does.  Nothing in those comments mentions editing attributes.

  PLEASE don't post configuration files to the list.  They're entirely useless.

  Alan DeKok.




More information about the Freeradius-Users mailing list