LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2004, 12:56 PM   #1
abdullahgee
Member
 
Registered: Apr 2004
Posts: 30

Rep: Reputation: 15
Question configure md5 with FreeRADIUS


1.plz tell me the steps of installing FreeRADIUS on Linux 7.3
2.and also tell me how to configure it for MD5 and EAP.
3.how to use freeRADIUS within our C program
 
Old 04-01-2004, 10:26 PM   #2
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
You install it like many apps. Get the source and then:

./configure
make
make install

You configure it by modifying a number of different config files. My install put them into /usr/local/etc/raddb. You can configure it to authenticate usernames and passwords from a number of different "realms" including users on your Linux system, or from a mysql server. I'm not quite sure what you mean by configuring it for MD5, though...

As for using it from a C program, I seem to recall there being some libraries with it, but I really haven't looked at any sort of API to interface with it. FreeRADIUS itself is a RADIUS server, so I'm not quite sure what it is you want to do to "use" it from a C program? Do you mean you want to send RADIUS authentication requests to it from your program? If that is the case, one option would be to look at the RFC. (I don't have the number offhand, do a Google search.) The RADIUS protocol is not too complex.

The best thing for more information on FreeRADIUS might be to check out the development lists for it. My own limitted knowledge of it comes from setting it up to authenticate requests from a Cisco Access Server. And I wrote a small RADIUS client to send it requests for testing purposes. I just went right to the RFC and did my test app from scratch, though.

If you need to check for error logs, FreeRADIUS logs to /usr/local/var/log/radius. You can also configure it to log all requests and responses for debugging.
 
Old 04-08-2004, 12:59 AM   #3
abdullahgee
Member
 
Registered: Apr 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Dear!
i am very thankfull to you because you have guided me even i have put worng questions.
dear i want to know details of writing client for the freeRADIUS and i hope that you will tell me more details about writing client (development details)
i have now installed freeRADIUS successfully , plz now tell what next step i have to perform, i dont know how to use it now. plz help me out.
thank you in anticipation.
 
Old 04-08-2004, 09:05 AM   #4
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
There are a number of ways you can use it. As I stated in my other post the basic RADIUS protocol is defined in RFC 2865 and the accounting stuff is defined in RFC 2866. There are also a number of RFCs that define various extensions, but 2865 should be all you need to start with. To understand the protocol, you really need to understand how to work with data on the byte and bit level, though.

Also, a lot of access points have built-in support for the RADIUS protocol, and just have to be configured appropriately.

My knowledge of RADIUS comes from the fact that we setup a Cisco Access Server to use RADIUS for authentication on inbound, and outbound calls. We wrote our own little prototype RADIUS server for this, and used FreeRADIUS as a backup to verify that we were sending back packets appropriately. I also wrote a simple RADIUS client that we used for testing the server prototype. The code I wrote is in C#, since that's what we use in our work environment, though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius Help jrmontg Linux - Networking 2 03-02-2005 10:40 AM
freeradius Jorgr Linux - Software 1 02-23-2005 02:31 AM
Freeradius Jorgr Linux - Security 0 02-23-2005 01:22 AM
How to configure freeradius on Fedora Core 2? bobier Fedora 0 10-18-2004 08:40 PM
how to configure wpa support on freeradius? ericmeng Linux - Security 1 06-19-2004 12:41 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration