Need help in writing a radius client
Hi, I am planning to write an ISP billing server and gateway which communicates with a RADIUS server for AAA work. Can anybody please help me with the following: 1. I need an open source library for client. I found radiusclient-ng. Is it sufficient for work. 2. Can anybody please help me find some better documentation for working me with the library, i.e. details regarding its API, cause the docs provided with the library are minimal? 3. Can I get some sample code for client anywhere? Thanks in advance Abhinay
On December 29, 2006 2:07:09 AM +0530 Abhinay Sinha <sinhabhinay@gmail.com> wrote:
1. I need an open source library for client. I found radiusclient-ng. Is it sufficient for work.
Not sure why you are asking about non-freeradius software on a freeradius mailing list.
2. Can anybody please help me find some better documentation for working me with the library, i.e. details regarding its API, cause the docs provided with the library are minimal?
Not sure why you are asking about non-freeradius software on a freeradius mailing list. As to minimal docs, welcome to open source.
3. Can I get some sample code for client anywhere?
See radclient and radtest source in the freeradius distribution. Of course this won't help you with radiusclient-ng. -frank
On Thu 28 Dec 2006 23:02, Frank Cusack wrote:
On December 29, 2006 2:07:09 AM +0530 Abhinay Sinha <sinhabhinay@gmail.com>
wrote:
1. I need an open source library for client. I found radiusclient-ng. Is it sufficient for work.
Not sure why you are asking about non-freeradius software on a freeradius mailing list.
Actually. Alan and I have been discussing the lack of a good, clean, documented, open source radius client library for some time now. I was planning to do an initial release an announcement some time ago but have been a bit busy, so here we go. In late 2006 it was decided that the FreeRADIUS Project should adopt the latest code from radiusclient-ng cvs as the basis of a new FreeRADIUS client package. The intention is to roll some of the client functionality of the FreeRADIUS server into this separate client package and to make the FreeRADIUS suite a one stop shop for all people wishing to use and develop RADIUS related applications. Please see http://wiki.freeradius.org/Radiusclient for more information.
2. Can anybody please help me find some better documentation for working me with the library, i.e. details regarding its API, cause the docs provided with the library are minimal?
Not sure why you are asking about non-freeradius software on a freeradius mailing list.
As to minimal docs, welcome to open source.
I have started to add documentation to: http://wiki.freeradius.org/Radiusclient As usually anyone is welcome to help out. It's a bit sparse I know, but its a start.
3. Can I get some sample code for client anywhere?
See radclient and radtest source in the freeradius distribution. Of course this won't help you with radiusclient-ng.
At present which one you use depends on how complex your radius app will be. In the near future you should not have to make a choice.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Peter Nixon wrote:
Actually. Alan and I have been discussing the lack of a good, clean, documented, open source radius client library for some time now.
There are a number of organizations and/or projects who have writen their own RADIUS client implementations. Most do not have the functionality of the FreeRADIUS implementation, which limits their utility. Some people don't like the LGPL, or are unaware that the RADIUS library code in FreeRADIUS is distributed under the LGPL. Others need a different API than I believe it's useful to have a BSD licensed RADIUS client library with similar functionality to the FreeRADIUS implementation. It doesn't need to do everything that the FreeRADIUS library does, but it has to do more than existing client implementations. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (4)
-
Abhinay Sinha -
Alan DeKok -
Frank Cusack -
Peter Nixon