delivers accounting reliably. Your reading of the RFC is correct but the RFC does not
specify what a NAS does once it reaches the end of its attempt to deliver the Accounting. It
does not even give guidance as to the extent and duration of retry attempts.
In many devices, it is simply discarded. That stinks too. Hats off to Cisco that the NAS saves "failed" accounting delivery
advice and reattempts it in the future as, yes, a NEW REQUEST.
If you want independence from the vagaries of individual devices and versions, you just have to
post-filter duplicate accounting advice. At iPass we filter with a 30-day window to deal with some
devices that do binary backoff retries.
Alexander M. Pravking wrote:
On Tue, Jun 03, 2003 at 08:16:52PM +0400, Alexander M. Pravking wrote:
Hmm... Maybe I'm wrong here, assuming that NAS should re-send
packet with the same id.
I think I'm not. Here's the PortMaster 2 example:
rad_recv: Accounting-Request packet from host pm2:1026, id=168, length=129 Sun Jun 1 13:22:57 2003 : Debug: Thread 5 assigned request 7679 Sun Jun 1 13:22:57 2003 : Debug: Waking up in 2 seconds... Sun Jun 1 13:22:57 2003 : Debug: Thread 5 handling request 7679, (1331 handled so far) Acct-Session-Id = "5B012519" User-Name = "user-name" NAS-IP-Address = ... NAS-Port = 10 NAS-Port-Type = Async Acct-Status-Type = Stop Acct-Session-Time = 1527 Acct-Authentic = RADIUS Acct-Input-Octets = 620905 Acct-Output-Octets = 3171185 Acct-Terminate-Cause = User-Request Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = ... Acct-Delay-Time = 0 ... rad_recv: Accounting-Request packet from host pm2:1026, id=168, length=129 Sun Jun 1 13:23:43 2003 : Debug: Thread 6 assigned request 7688 Sun Jun 1 13:23:43 2003 : Debug: --- Walking the entire request list --- Sun Jun 1 13:23:43 2003 : Debug: Threads: total/active/spare threads = 7/1/6 Sun Jun 1 13:23:43 2003 : Debug: Waking up in 5 seconds... Sun Jun 1 13:23:43 2003 : Debug: Thread 6 handling request 7688, (501 handled so far) Acct-Session-Id = "5B012519" User-Name = "user-name" NAS-IP-Address = ... NAS-Port = 10 NAS-Port-Type = Async Acct-Status-Type = Stop Acct-Session-Time = 1527 Acct-Authentic = RADIUS Acct-Input-Octets = 620905 Acct-Output-Octets = 3171185 Acct-Terminate-Cause = User-Request Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = ... Acct-Delay-Time = 45
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
