Hello, I am a master student in KTH University, Stockholm. We are working on a project inwhich we are implementing a Darwin Streaming Server. We have to implement a custom authentication module in that in C++. We have a running Free Radius server on our platform. We need to make external connection between DSS and Radius so DSS will send user information to DSS and will get validation response. Is there any suitable library for that in C++? Best regards, Nazim Oztahtaci Diğer Windows Live™ özelliklerine göz atın. Sadece e-posta iletilerinden daha fazlası _________________________________________________________________ Windows Live tüm arkadaşlarınızla tek bir yerden iletişim kurmanıza yardımcı olur. http://www.microsoft.com/turkiye/windows/windowslive/products/social-network...
Nazim Oztahtaci wrote:
I am a master student in KTH University, Stockholm. We are working on a project inwhich we are implementing a Darwin Streaming Server. We have to implement a custom authentication module in that in C++. We have a running Free Radius server on our platform. We need to make external connection between DSS and Radius so DSS will send user information to DSS and will get validation response. Is there any suitable library for that in C++?
No. You should be able to use the libradius code, though. Alan DeKok.
Hello Alan, Do you mean the library folder inside Radius Src folder? There is a library called radius.c and I can see that there are functions to send packages to radius server. Can we add these libraries to our project cpp file and use these functions to make requests to Radius server from DSS? Or should we make another configurations or a client application on Radius server to get responses?
Date: Tue, 22 Sep 2009 16:33:23 +0200 From: aland@deployingradius.com To: freeradius-devel@lists.freeradius.org Subject: Re: FW: C++ library for Radius
Nazim Oztahtaci wrote:
I am a master student in KTH University, Stockholm. We are working on a project inwhich we are implementing a Darwin Streaming Server. We have to implement a custom authentication module in that in C++. We have a running Free Radius server on our platform. We need to make external connection between DSS and Radius so DSS will send user information to DSS and will get validation response. Is there any suitable library for that in C++?
No. You should be able to use the libradius code, though.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
_________________________________________________________________ Sadece e-posta iletilerinden daha fazlası: Diğer Windows Live™ özelliklerine göz atın. http://www.microsoft.com/turkiye/windows/windowslive/
Nazim Oztahtaci wrote:
Do you mean the library folder inside Radius Src folder?
Yes.
There is a library called radius.c
No. Do you understand how libraries work on Unix systems? radius.c is a source file. libfreeradius-radius.a is a library.
and I can see that there are functions to send packages to radius server. Can we add these libraries to our project cpp file and use these functions to make requests to Radius server from DSS?
You need to link to the libfreeradius-radius.a library. You need to include the FreeRADIUS header files. However, the library isn't intended for use with C++ applications, so you may have to do some work to fix it. You could also try the freeradius-client library. See the web page (freeradius.org) for more details.
Or should we make another configurations or a client application on Radius server to get responses?
I have no idea what that means. Alan DeKok.
On 2009-09-24, at 7:50 AM, Alan DeKok wrote:
I have no idea what that means.
How are you doing Alan?... Man I don't know how you do it but kudos to that, I imagine you blowing a gasket or something every time I see (I'm sorry) stupid questions coming from other developers and most of the time the questions are mostly due to ignorance or just plain not knowing how to even code in C. -Gabe
Hello, I didnt know that this mail list was a forum :) I dont know what kind of questions that new developers should ask to mail list Gabriel. Maybe you can give examples so next time we can use your templates and ask our questions :) because reading someone's (Im sorry) arrogant reply to mail list like this can make other people surprised :) even though they dont know how to write C ;)
Subject: Re: C++ library for Radius From: gabe@teksavvy.ca Date: Thu, 24 Sep 2009 07:54:44 -0400 To: freeradius-devel@lists.freeradius.org
On 2009-09-24, at 7:50 AM, Alan DeKok wrote:
I have no idea what that means.
How are you doing Alan?... Man I don't know how you do it but kudos to that, I imagine you blowing a gasket or something every time I see (I'm sorry) stupid questions coming from other developers and most of the time the questions are mostly due to ignorance or just plain not knowing how to even code in C.
-Gabe - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
_________________________________________________________________ Windows Live™ Photos ile fotoğraflarınızı kolayca paylaşımı. http://www.microsoft.com/turkiye/windows/windowslive/photos.aspx
Nothing agains't you personally like I said. Believe me, I've seen questions out of this world on this list. On 2009-09-24, at 8:09 AM, Nazim Oztahtaci wrote:
Hello,
I didnt know that this mail list was a forum :) I dont know what kind of questions that new developers should ask to mail list Gabriel. Maybe you can give examples so next time we can use your templates and ask our questions :) because reading someone's (Im sorry) arrogant reply to mail list like this can make other people surprised :) even though they dont know how to write C ;)
Subject: Re: C++ library for Radius From: gabe@teksavvy.ca Date: Thu, 24 Sep 2009 07:54:44 -0400 To: freeradius-devel@lists.freeradius.org
On 2009-09-24, at 7:50 AM, Alan DeKok wrote:
I have no idea what that means.
How are you doing Alan?... Man I don't know how you do it but kudos to that, I imagine you blowing a gasket or something every time I see (I'm sorry) stupid questions coming from other developers and most of the time! the questions are mostly due to ignorance or just plain not knowing how to even code in C.
-Gabe - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Diğer Windows Live™ özelliklerine göz atın. Sadece e-posta iletilerinden daha fazlası - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Nazim Oztahtaci wrote:
I didnt know that this mail list was a forum :)
? Do you know what mailing lists are?
I dont know what kind of questions that new developers should ask to mail list Gabriel.
They should ask questions about how to use the software. They should *not* ask questions about how to program.
Maybe you can give examples so next time we can use your templates and ask our questions :) because reading someone's (Im sorry) arrogant reply to mail list like this can make other people surprised :) even though they dont know how to write C ;)
It is presumed that developers know what libraries are, what header files are, etc. This list is not the place to learn about C programming. Asking how to use a C library in a C++ program is the kind of question that is not for this list. Any basic introduction to C++ book will answer that question. If you have questions about using the API provided by the library, fine. If you have questions about how to link to the library or how to compile it, buy a book. Alan DeKok.
? Do you know what mailing lists are?
Yeah I know what they are. They 'should' different then forums. People replies to messages to help other people, not to humiliate other people.
They should ask questions about how to use the software. They should
*not* ask questions about how to program.
In the free radius.org/maillist, it is clearly says that list is for developers and people who write code for radius. So did I make a mistake to ask a question if there is any library in C++ to have connection to Radius? I didnt expect from you or someone else to write a program for our team. I just asked previously that which library in src code might be useful and then asked if there must be a responser above Radius server to answer our requests or not. We will try to find solutions about our problem perhaps but I just wanted to say that we are surprised to your answer.
Date: Thu, 24 Sep 2009 15:04:29 +0200 From: aland@deployingradius.com To: freeradius-devel@lists.freeradius.org Subject: Re: C++ library for Radius
Nazim Oztahtaci wrote:
I didnt know that this mail list was a forum :)
? Do you know what mailing lists are?
I dont know what kind of questions that new developers should ask to mail list Gabriel.
They should ask questions about how to use the software. They should *not* ask questions about how to program.
Maybe you can give examples so next time we can use your templates and ask our questions :) because reading someone's (Im sorry) arrogant reply to mail list like this can make other people surprised :) even though they dont know how to write C ;)
It is presumed that developers know what libraries are, what header files are, etc. This list is not the place to learn about C programming.
Asking how to use a C library in a C++ program is the kind of question that is not for this list. Any basic introduction to C++ book will answer that question.
If you have questions about using the API provided by the library, fine. If you have questions about how to link to the library or how to compile it, buy a book.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
_________________________________________________________________ Teker teker mi, yoksa hepsi birden mi? Arkadaşlarınızla ilgili güncel bilgileri tek bir yerden edinin. http://www.microsoft.com/turkiye/windows/windowslive/products/social-network...
Nazim Oztahtaci wrote:
In the free radius.org/maillist, it is clearly says that list is for developers and people who write code for radius. So did I make a mistake to ask a question if there is any library in C++ to have connection to Radius?
Your question was "is radius.c a library". The answer is immediately obvious to anyone with some programming experience.
I didnt expect from you or someone else to write a program for our team. I just asked previously that which library in src code might be useful and then asked if there must be a responser above Radius server to answer our requests or not. We will try to find solutions about our problem perhaps but I just wanted to say that we are surprised to your answer.
Of course. If you think that asking basic C questions on a RADIUS list is OK, you would be surprised when people say "buy a book" Alan DeKok.
participants (3)
-
Alan DeKok -
Gabriel Blanchard -
Nazim Oztahtaci