Oops - My last reply was full of html.  I meant to ask where you can get a Linux Radius client that can send EAP messages.  (If there isnt one, I can study the rlm_eap code and see what I can do with radclient.c.)  Also, I downloaded yesterday's 11/14 CVS snapshot, and will keep my eye out for new releases.

Thanks,
Dave

Alan DeKok <[EMAIL PROTECTED]> wrote:

Dave Mason <[EMAIL PROTECTED]> wrote:

I have a couple of questions about adding a new EAP module to freeRadius. I have version 0.7.1.

 *Please* don't add new code to 0.7.1.  Use the latest CVS head,
instead.

 Why?  No one is developing new things for 0.7.1.  The latest CVS
head has many bug fixes and new features, which will probably simplify
your work in adding a new feature.


1. Easy one first: Does anybody know how to send the EAP-Message attribute with radclient?

You can't. radclient doesn't understand EAP, so it doesn't know how
to pack things into an EAP-Message attribute.

You'll have to look at the source for rlm_eap, to discover how to do
this. That code *may* be packaged into lib/radius.c, but I'm not sure
it's a good idea.

> 2. More specifically, I'm implementing EAP-SIM, which negotiates some
challenges with the client. All I've seen about how to do this is the IMPLEMENTATION section in the doc/eap file, which is rather brief. Any details or pointers to info about how to do this will help a lot. In particular, how do you maintain the session state between challenges?

That's up to the EAP module, which does some magic internally...

Alan DeKok.



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to