how can I change default accounting (radacct table) update time?
aland at deployingradius.com
Sun Oct 13 14:31:39 CEST 2019
On Oct 13, 2019, at 8:27 AM, Moniruzzaman Tuhin <hmtuhinhossain at gmail.com> wrote:
> nas doesn't send any updates.
Then your NAS is garbage. Throw it away and buy one that follows the RADIUS protocol.
The NAS should also send packets when it reboots. This tells the RADIUS server that it has rebooted. Which tells the RADIUS server to clear all active sessions.
The NAS isn't sending those packets, so the RADIUS server has no idea that it rebooted.
> I used Acct-Interim-Interval = 5 .
Which will be ignored by most NASes. The minimum value is generally 5 minutes, or 300.
> I am
> getting interim update every 5 second I guess even after nas is offline or
> not connected.
No. You don't get packets from the NAS when the NAS is off-line or not connected.
> Is there any way we can end the inactive nas session means
> update the "acctstoptime" if nas is inactive? Thanks
You have access to the SQL server. Edit the SQL database.
More information about the Freeradius-Users