What are supported backends to store accounting data
Hi all In Freeradius whats are the supported backeds to store accounting data ?. Thank You John
On Tue, Aug 23, 2016 at 12:29 PM, val john <valjohn1647@gmail.com> wrote:
Hi all
In Freeradius whats are the supported backeds to store accounting data ?.
- text file - database, including native drivers (e.g. mysql, postgres, and others) and odbc - generic "execute this program or perl/python function when accounting data arrives" - others that I can't remember right now is there anything in particular you have in mind? -- Fajar
You can use of course a REST API (which is called by webrequest). Since Freeradius MySQL addon has no support for bcrypt() (I use bcryp() hashed passwords in my database for auth) I use a PHP script based REST API for Freeradius. All the best; Am 23. August 2016 07:40:59 MESZ, schrieb "Fajar A. Nugraha" <list@fajar.net>: On Tue, Aug 23, 2016 at 12:29 PM, val john <valjohn1647@gmail.com> wrote: Hi all In Freeradius whats are the supported backeds to store accounting data ?. - text file - database, including native drivers (e.g. mysql, postgres, and others) and odbc - generic "execute this program or perl/python function when accounting data arrives" - others that I can't remember right now is there anything in particular you have in mind?
Hi All Thanks , On 23 August 2016 at 11:16, Janis Heller <janis.heller@outlook.de> wrote:
You can use of course a REST API (which is called by webrequest). Since Freeradius MySQL addon has no support for bcrypt() (I use bcryp() hashed passwords in my database for auth) I use a PHP script based REST API for Freeradius.
Is there any document that i can fallow to setup to push accounting data to REST API
All the best;
Am 23. August 2016 07:40:59 MESZ, schrieb "Fajar A. Nugraha" < list@fajar.net>:
On Tue, Aug 23, 2016 at 12:29 PM, val john <valjohn1647@gmail.com> wrote:
Hi all
In Freeradius whats are the supported backeds to store accounting data ?.
- text file - database, including native drivers (e.g. mysql, postgres, and others) and odbc - generic "execute this program or perl/python function when accounting data arrives" - others that I can't remember right now
is there anything in particular you have in mind? -
I was wondering whether it is possible to push accounting data to API end point .
List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On Tue, Aug 23, 2016 at 12:51 PM, val john <valjohn1647@gmail.com> wrote:
Hi All
Thanks ,
On 23 August 2016 at 11:16, Janis Heller <janis.heller@outlook.de> wrote:
You can use of course a REST API (which is called by webrequest). Since Freeradius MySQL addon has no support for bcrypt() (I use bcryp() hashed passwords in my database for auth) I use a PHP script based REST API for Freeradius.
Is there any document that i can fallow to setup to push accounting data to REST API
The best one I can find is comments in the configuration https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/mods-avail... If that doesn't work, or is not suitable for your needs, you should be able to use rlm_perl (http://wiki.freeradius.org/modules/Rlm_perl) and create your own perl function to push the data -- Fajar
Hi Fajar Thank for the information URL http://freeradius.org/features.html doesn't mention anything about API support to send authentication information . Thank You John On 23 August 2016 at 11:30, Fajar A. Nugraha <list@fajar.net> wrote:
On Tue, Aug 23, 2016 at 12:51 PM, val john <valjohn1647@gmail.com> wrote:
Hi All
Thanks ,
On 23 August 2016 at 11:16, Janis Heller <janis.heller@outlook.de> wrote:
You can use of course a REST API (which is called by webrequest). Since Freeradius MySQL addon has no support for bcrypt() (I use bcryp() hashed passwords in my database for auth) I use a PHP script based REST API for Freeradius.
Is there any document that i can fallow to setup to push accounting data to REST API
The best one I can find is comments in the configuration https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/ raddb/mods-available/rest
If that doesn't work, or is not suitable for your needs, you should be able to use rlm_perl (http://wiki.freeradius.org/modules/Rlm_perl) and create your own perl function to push the data
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On Aug 30, 2016, at 12:43 AM, val john <valjohn1647@gmail.com> wrote:
URL http://freeradius.org/features.html doesn't mention anything about API support to send authentication information .
Because the REST module documents how the REST code works. So... read the REST module documentation. And you don't want to send EAP, CHAP, MS-CHAP, etc. over to another system via a REST call. It might work, but it means you're re-implementing a RADIUS server in the REST API. That's wrong. Use the REST API to get the "known good" password for the user. Let FreeRADIUS do the authentication. Alan DeKok.
participants (4)
-
Alan DeKok -
Fajar A. Nugraha -
Janis Heller -
val john