Python Or Perl Module for Auth and Accounting
Hi All, Which module is better from perl and python if doing whole auth and accounting code in native language without using socket or any other language. like perl native code or python native code. Thanks Imdad
On Jun 18, 2023, at 11:49 AM, Imdad Hasan <imdadalikadiwala0@gmail.com> wrote:
Which module is better from perl and python if doing whole auth and accounting code in native language without using socket or any other language. like perl native code or python native code.
Better for what? If you're running all auth / acct in Perl or Python, then you don't need FreeRADIUS. If you're writing policies for FreeRADIUS, then it is very rare to need Perl or Python. The main reasons people use them are (a) unfamiliarity with "unlang", and (b) using Perl / Python modules to access external APIs not supported directly by FreeRADIUS. So you don't usually need them. If you want to use them, pick whichever one you're most familiar with. But using them can *drastically* slow down the server. i.e. drop performance by 90% or more. If you want a more detailed answer, then please ask a question with more content. Vague questions can only be answered with vague answers. Alan DeKok.
participants (2)
-
Alan DeKok -
Imdad Hasan