how can I change default accounting (radacct table) update time?
Hi, I am using Simultaneous-Use := 1 . When I disconnect wifi or in a power loss, I am facing an issue that I can't connect to the server again. I saw that after 5/6 minutes later, I can connect again that means " acctstoptime" is not null then. so I guess after 5/6 minutes later freeradius server check if the user is ideal then disconnect or send a account-stop request or fill "acctstoptime" field. Now I want to change that 5/6 minutes to seconds or at least 1 minute. How can I archive that? I used Acct-Interim-Interval which keep updating even after the user is not connected on a power loss. Thanks
Almost all the time, it's the NAS that is in control of sending accounting packets. When does the NAS send the updates? alan On Sun, 13 Oct 2019, 10:20 Moniruzzaman Tuhin, <hmtuhinhossain@gmail.com> wrote:
Hi,
I am using Simultaneous-Use := 1 . When I disconnect wifi or in a power loss, I am facing an issue that I can't connect to the server again. I saw that after 5/6 minutes later, I can connect again that means " acctstoptime" is not null then. so I guess after 5/6 minutes later freeradius server check if the user is ideal then disconnect or send a account-stop request or fill "acctstoptime" field.
Now I want to change that 5/6 minutes to seconds or at least 1 minute. How can I archive that? I used Acct-Interim-Interval which keep updating even after the user is not connected on a power loss.
Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
nas doesn't send any updates. I used Acct-Interim-Interval = 5 . I am getting interim update every 5 second I guess even after nas is offline or not connected. Is there any way we can end the inactive nas session means update the "acctstoptime" if nas is inactive? Thanks On Sun, Oct 13, 2019 at 4:42 PM Alan Buxey <alan.buxey@gmail.com> wrote: > Almost all the time, it's the NAS that is in control of sending accounting > packets. When does the NAS send the updates? > > alan > > On Sun, 13 Oct 2019, 10:20 Moniruzzaman Tuhin, <hmtuhinhossain@gmail.com> > wrote: > > > Hi, > > > > I am using Simultaneous-Use := 1 . When I disconnect wifi or in a power > > loss, I am facing an issue that I can't connect to the server again. I > saw > > that after 5/6 minutes later, I can connect again that means " > > acctstoptime" is not null then. > > so I guess after 5/6 minutes later freeradius server check if the user is > > ideal then disconnect or send a account-stop request or fill > "acctstoptime" > > field. > > > > Now I want to change that 5/6 minutes to seconds or at least 1 minute. > How > > can I archive that? I used Acct-Interim-Interval which keep updating even > > after the user is not connected on a power loss. > > > > Thanks > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html
On Oct 13, 2019, at 8:27 AM, Moniruzzaman Tuhin <hmtuhinhossain@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. Alan DeKok.
participants (3)
-
Alan Buxey -
Alan DeKok -
Moniruzzaman Tuhin