Bug on Accouting-Requests proxying

Alan DeKok aland at deployingradius.com
Sun Oct 29 16:14:03 CET 2006


Geoffroy Arnoud <garnoud at yahoo.co.uk> wrote:
> In the case of an accounting request (request->proxy->code == 
> PW_ACCOUNTING_REQUEST), FreeRADIUS adds to the proxied packet the 
> attribute "Acct-Delay-Time" (or updates it, if it was present in 
> previous emission) with value set to the time difference between current 
> time and time of initial proxied request.

  Ok...

> FreeRADIUS updates the content of the packet when reemitting the 
> accounting request, but does not change the Identifier. Thus, those 
> packets sent after the first one are *not* true reemissions.

  The solution is simple.  The server SHOULD NOT retransmit accounting
packets.  I will delete the code in the next release.

> I don't know if Acct-Delay-Time attribute is really useful to someone, 
> I've never seen it used in any implementation of a RADIUS server. 

  It's useful.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list