hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know 1. is v3 reliable or i should use v2 freeradius? 2. is any material to study and learn best practices?
Ehsan Mohammadi wrote:
hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know
1. is v3 reliable or i should use v2 freeradius?
All new development is done in v3. Version 2 is stable, and has no new features.
2. is any material to study and learn best practices?
Read the source. It's heavily commented. Alan DeKok.
There is a module in the existing 'v3.0.x' and ‘master' branch that integrates with the Couchbase nosql backend. You can find it under src/modules/rlm_couchbase in either branch. — Aaron
On Oct 24, 2014, at 11:52 AM, Alan DeKok <aland@deployingradius.com> wrote:
Ehsan Mohammadi wrote:
hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know
1. is v3 reliable or i should use v2 freeradius?
All new development is done in v3. Version 2 is stable, and has no new features.
2. is any material to study and learn best practices?
Read the source. It's heavily commented.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
The existing rlm_sql and rlm_ldap modules are also very good sources to examine. You may also want to look at the rlm_rest module that allows you to integrate with RESTful web services. You may find this suits your needs and wouldn’t require writing a new module. — Aaron
On Oct 24, 2014, at 11:52 AM, Alan DeKok <aland@deployingradius.com> wrote:
Ehsan Mohammadi wrote:
hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know
1. is v3 reliable or i should use v2 freeradius?
All new development is done in v3. Version 2 is stable, and has no new features.
2. is any material to study and learn best practices?
Read the source. It's heavily commented.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
thnx alan i`ve read some of lib files is any diagram or document to show workflow of fr? i mean order of function execution when a packet arrives On Fri, Oct 24, 2014 at 8:22 PM, Alan DeKok <aland@deployingradius.com> wrote:
Ehsan Mohammadi wrote:
hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know
1. is v3 reliable or i should use v2 freeradius?
All new development is done in v3. Version 2 is stable, and has no new features.
2. is any material to study and learn best practices?
Read the source. It's heavily commented.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Ehsan Mohammadi wrote:
thnx alan i`ve read some of lib files is any diagram or document to show workflow of fr? i mean order of function execution when a packet arrives
Not really. There are automatically generated doxygen files: http://doc.freeradius.org/ Alan DeKok.
participants (3)
-
Aaron Hurt -
Alan DeKok -
Ehsan Mohammadi