I’m developing a hotspot system with authentication on a radius server (freeradius 3.0 with mysql) and I was doing some tests with the return of attributes by the server.
In one test I enabled the bandwidth limit and it worked correctly, in the other I tried to change the idle-timeout attribute but the server returns an error saying that the data format is incorrect.
I tried 01:00:00, 1h, 3600, but none of them work and in the manual you only have the names of the supported attributes and their explanation.
So I would like to know what formats are allowed and if I find that information for the other properties somewhere.
See https://wiki.mikrotik.com/wiki/Manual:RADIUS_Client/reference_dictionary, and https://tools.ietf.org/html/rfc2865#page-49 for that particular attribute.
I looked at links and did a test with the session-timeout attribute and it worked. So I just changed the attribute name to idle-timeout, it did not give an error on the server, but it also didn’t apply the settings on the router.
Does idle-timeout under /ip hotspot active change when you send that attribute? If not you will likely have to report it as a bug, if it does it may be that background traffic from the device is more frequent than the timeout - you can check the idle-time value.
Does idle-timeout under /ip hotspot active change when you send that attribute?
It does not change.
How do I report this bug?
See ‘Support request instructions’ under https://mikrotik.com/support, as you have a reproducible bug you can skip 1 & 2.
Thanks.