[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: How to modify rlm_example to implement a new eap-type authentication
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2013-11-26 13:51:16
Message-ID: 5294A754.7070008 () deployingradius ! com
[Download RAW message or body]

Michael kevin wrote:
> I followed the site 
> http://wiki.freeradius.org/contributing/Modules2
> I tried to modify rlm_example.c to implement a new eap-type
> authentication(eg something like eap-MD5).

  It takes a significant amount of effort to implement a new EAP type.
I wouldn't suggest it as a starting project.

> I read the above site several times, but I still do not know what I
> should do for"Comfiguring the Module"in the"Compiling Your Module"
> section on the above site.

  You're reading documentation, not code.  The only way to understand
how to code is to read the code.

  I would suggest picking rlm_eap_md5, and reading all of it's source
code.  Then, read the code of the functions used by EAP-MD5.  If you
don't understand how it works, use a debugging to walk through running code.

  Once you understand EAP-MD5, you're ready to write your own EAP type.
 Until then, you won't understand the basics.  And everything needed to
write an EAP type is built on those basics.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic