acctsessiontime is always zero
Alan DeKok
aland at deployingradius.com
Thu May 9 15:46:14 CEST 2013
Chris wrote:
> When NTRadping Test Utility is used, acctstarttime and acctstoptime is
> set correctly, but acctsessiontime is always zero in mySQL.
Because ntradping doesn't send it.
> I've found a detail-log from a portmaster [1]. I didn't know, that the
> NAS has to send the Acct-Session-Time with the stop-request (Newbie!).
> When I set Acct-Session-Time in NTRadping Test Utility it's working as
> expected.
Exactly.
> Is it true, that Acct-Session-Time has to be set by NAS or is it
> possible to calculate it by the difference between acctstarttime and
> acctstoptime (and write it to mySQL)?
It's possible. It requires a custom SQL query.
Alan DeKok.
More information about the Freeradius-Users
mailing list