We're evaluating RadiusDesk for use in a hotel system and need to restrict the number of devices per voucher. I've found various articles that relate to bandwidth per device but nothing that will count the number of devices used and prevent the voucher being used when a pre-defined count is met.
If anybody knows of a way to achieve this id appreciate a steer in the right direction.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a FreeRADIUS internal check attribute which you can add to a profile component called Simultaneous-Use and then you can specify a value to prevent the voucher to be used simultaneously by multiple users.
We are also in the process of adding this and another enhancement to the profile wizard screen and plan to be done with it by the end of this week. This will take care of the technical aspects and FreeRADIUS Attributes for you behind the scenes.
Will this meet your requirement or do you want the limit to be imposed even when the other users are not online ... e.g. if you specify 2 devices then only two unique MAC addresses are allowed to use that voucher and the third one will be rejected even if the other two are not connected at that time.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just been playing with the Simultaneous-Use check and it will do the trick for now. If we specify 5 and set the session length correctly then I assume it would block any other devices until the session expired anyway so this is fine.
On a similar note I also noticed that if a voucher is set to expire say on the 1st January and the profile is set for 7 days then the return session timeout does not take the expiration date of the voucher into account so somebody could use the voucher on 31st December and get 7 days use. Is there a way to have the session timeout take the expiration date into account?
basically session timeout should = voucher expiration - current time
Last edit: Dave smith 2022-05-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We're evaluating RadiusDesk for use in a hotel system and need to restrict the number of devices per voucher. I've found various articles that relate to bandwidth per device but nothing that will count the number of devices used and prevent the voucher being used when a pre-defined count is met.
If anybody knows of a way to achieve this id appreciate a steer in the right direction.
Thanks
Hi Dave,
There is a FreeRADIUS internal check attribute which you can add to a profile component called Simultaneous-Use and then you can specify a value to prevent the voucher to be used simultaneously by multiple users.
We are also in the process of adding this and another enhancement to the profile wizard screen and plan to be done with it by the end of this week. This will take care of the technical aspects and FreeRADIUS Attributes for you behind the scenes.
Will this meet your requirement or do you want the limit to be imposed even when the other users are not online ... e.g. if you specify 2 devices then only two unique MAC addresses are allowed to use that voucher and the third one will be rejected even if the other two are not connected at that time.
Regards
Hi,
Thanks for the quick response!
I have just been playing with the Simultaneous-Use check and it will do the trick for now. If we specify 5 and set the session length correctly then I assume it would block any other devices until the session expired anyway so this is fine.
On a similar note I also noticed that if a voucher is set to expire say on the 1st January and the profile is set for 7 days then the return session timeout does not take the expiration date of the voucher into account so somebody could use the voucher on 31st December and get 7 days use. Is there a way to have the session timeout take the expiration date into account?
basically session timeout should = voucher expiration - current time
Last edit: Dave smith 2022-05-17
Hi Dave,
It is suppose to take the expiry date in account and whichever one is the smallest it will honor .
I've did a test with a voucher which has a value of 7 days after first login but an expiry date of the 19th May 2022.
I then used the session timeout values to compare ...
With the expiry date I get
Session-Timeout = 142646
(Which is about 1.6 days which makes sense since the server is on UTC)
When I change it to Never Expire and do the test again I get
604800 (7days)
Also make sure you used the very latest Github code since there was an Activate Upon First Login bug we fixed last week.
Thanks for the info I will give it a go. Do you offer any premium / paid support options?
You're welcome.
There is paid for support available yes:
http://radiusdesk.com/docuwiki/services
Regards