REST Module vs Perl/Ruby REST
I want to handle the authentication and authorisation on Nodejs server instead of SQL. Is it better to use rlm_rest module or use Perl/Ruby script and access REST within the script? The objective here is to select the most stable method. Is rlm_rest stable enough to get into production? Thanks Mohammad Mahefooz
On May 22, 2018, at 1:37 PM, Mohammad Mahefooz <mahefooz4u@gmail.com> wrote:
I want to handle the authentication and authorisation on Nodejs server instead of SQL. Is it better to use rlm_rest module or use Perl/Ruby script and access REST within the script? The objective here is to select the most stable method. Is rlm_rest stable enough to get into production?
Yes rlm_rest is table enough to go into production, it's also significantly faster than the other two options. I'd avoid using rlm_ruby in the v3.0.x branch, it breaks the server in subtle ways and leaks memory. -Arran
Thanks Arran! Apart from authentication, authorisation and accounting, will I be able to handle dynamic_clients as well in rlm_rest? - Mohammad Mahefooz On Tue 22 May, 2018, 3:24 PM Arran Cudbard-Bell, <a.cudbardb@freeradius.org> wrote:
On May 22, 2018, at 1:37 PM, Mohammad Mahefooz <mahefooz4u@gmail.com> wrote:
I want to handle the authentication and authorisation on Nodejs server instead of SQL. Is it better to use rlm_rest module or use Perl/Ruby script and access REST within the script? The objective here is to select the most stable method. Is rlm_rest stable enough to get into production?
Yes rlm_rest is table enough to go into production, it's also significantly faster than the other two options.
I'd avoid using rlm_ruby in the v3.0.x branch, it breaks the server in subtle ways and leaks memory.
-Arran
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Would you be kind enough to share the format/schema of REST to call dynamic clients because authentication, authorisation and accounting is well documented but not this. - Mohammad Mahefooz On Tue 22 May, 2018, 5:30 PM Arran Cudbard-Bell, <a.cudbardb@freeradius.org> wrote:
On May 22, 2018, at 4:04 PM, Mohammad Mahefooz <mahefooz4u@gmail.com> wrote:
Thanks Arran!
Apart from authentication, authorisation and accounting, will I be able to handle dynamic_clients as well in rlm_rest?
If you call it from the dynamic clients virtual server, yes.
-Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On May 22, 2018, at 8:18 AM, Mohammad Mahefooz <mahefooz4u@gmail.com> wrote:
Would you be kind enough to share the format/schema of REST to call dynamic clients because authentication, authorisation and accounting is well documented but not this.
Because there is no schema for the REST module and dynamic clients. Read raddb/sites-available/dynamic_clients. Then, follow the instructions. Have the REST module return the correct attributes. It will work. Alan DeKok.
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Mohammad Mahefooz