Re: Acct-Delay-Time missing with RADIUS accounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 22, 2016, at 12:19 PM, Jouni Malinen <j@xxxxx> wrote:
> I don't see how one would implement a RADIUS server to do something like
> this.. Are Accounting On/Off really used to override Accounting
> Start/Stop information on a session? Is this a case for a deployed
> server today? I would have assumed the sessions would be kept separate
> and On/Off messages more or less ignored for any practical purpose..

  The accounting messages *must* have either an Event-Timestamp, or Acct-Delay-Time, or both.  Otherwise, you have race conditions:

1) NAS reboots
2) user "bob" goes online
3) server receives accounting start for user "bob"
4) server receives accounting "on" for NAS.

  Having Event-Timestamp / Acct-Delay-Time in all packets means that (3) and (4) can be correctly ordered.  Otherwise, in stage (3), the server marks "bob" online, and immediately after in stage (4), marks "bob" offline, because the NAS just rebooted.

  Alan DeKok.


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux