<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>Hi
Friends,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>I want to test
radiusd with radeapclient. I am following from radeapclient man page, and using
"./radeapclient -x localhost auth testing123 <req.txt". </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>req.txt is like
this,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT
face="Times New Roman"><FONT size=3><SPAN
class=451342613-12122007>
</SPAN>User-Name = "bob"</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>EAP-MD5-Password = "hello"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>NAS-IP-Address =
marajade.sandelman.ottawa.on.c</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>EAP-Code = Response</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>EAP-Id = 210</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>EAP-Type-Identity = "bob"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>Message-Authenticator = 0x00</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"><FONT
face="Times New Roman" size=3>NAS-Port = 0</FONT></P></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>But radeapclient is
getting access-reject with Failure EAP-Code from radiusd (running like ./radiusd
-X in another console).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007>==============</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>+++> About to
send encoded packet:<BR> User-Name =
"bob"<BR> EAP-MD5-Password =
"hello"<BR> NAS-IP-Address =
255.255.255.255<BR> EAP-Code =
Response<BR> EAP-Id =
210<BR> EAP-Type-Identity =
"bob"<BR> Message-Authenticator =
0x00<BR> NAS-Port = 0<BR>Sending
Access-Request of id 116 to 127.0.0.1 port
1812<BR> User-Name =
"bob"<BR> NAS-IP-Address =
255.255.255.255<BR>
Message-Authenticator =
0x00000000000000000000000000000000<BR>
NAS-Port = 0<BR> EAP-Message =
0x02d2000801626f62<BR>rad_recv: Access-Challenge packet from host
127.0.0.1:1812, id=116, length=80<BR>
EAP-Message =
0x01d30016041066eb786fd424a0ee6f85a194ea8c9d30<BR>
Message-Authenticator =
0x323ec83f657e741fc131ba05f1bac39f<BR>
State = 0xa3e884a46fc0e687c2bce84c917cc61e<BR><+++ EAP decoded
packet:<BR> EAP-Message =
0x01d30016041066eb786fd424a0ee6f85a194ea8c9d30<BR>
Message-Authenticator =
0x323ec83f657e741fc131ba05f1bac39f<BR>
State =
0xa3e884a46fc0e687c2bce84c917cc61e<BR>
EAP-Id = 211<BR> EAP-Code =
Request<BR> EAP-Type-MD5 =
0x1066eb786fd424a0ee6f85a194ea8c9d30</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>+++> About to
send encoded packet:<BR> User-Name =
"bob"<BR> EAP-MD5-Password =
"hello"<BR> NAS-IP-Address =
255.255.255.255<BR> EAP-Code =
Response<BR> EAP-Id =
211<BR> Message-Authenticator =
0x00000000000000000000000000000000<BR>
NAS-Port = 0<BR> EAP-Type-MD5 =
0x108d31440ff81df18a9294cd9bd36bdce6<BR>
State = 0xa3e884a46fc0e687c2bce84c917cc61e<BR>Sending Access-Request of id 117
to 127.0.0.1 port 1812<BR> User-Name =
"bob"<BR> NAS-IP-Address =
255.255.255.255<BR>
Message-Authenticator =
0x00000000000000000000000000000000<BR>
NAS-Port = 0<BR> State =
0xa3e884a46fc0e687c2bce84c917cc61e<BR>
EAP-Message = 0x02d3001604108d31440ff81df18a9294cd9bd36bdce6<BR>Re-sending
Access-Request of id 117 to 127.0.0.1 port
1812<BR> User-Name =
"bob"<BR> EAP-MD5-Password =
"hello"<BR> NAS-IP-Address =
255.255.255.255<BR> EAP-Code =
Response<BR> EAP-Id =
211<BR> Message-Authenticator =
0x00000000000000000000000000000000<BR>
NAS-Port = 0<BR> EAP-Type-MD5 =
0x108d31440ff81df18a9294cd9bd36bdce6<BR>
State =
0xa3e884a46fc0e687c2bce84c917cc61e<BR>
EAP-Message = 0x02d3001604108d31440ff81df18a9294cd9bd36bdce6<BR>rad_recv:
Access-Reject packet from host 127.0.0.1:1812, id=117,
length=44<BR> EAP-Message =
0x04d30004<BR> Message-Authenticator =
0x083613356791ba254aa786ddbb62d393<BR><+++ EAP decoded
packet:<BR> EAP-Message =
0x04d30004<BR> Message-Authenticator =
0x083613356791ba254aa786ddbb62d393<BR>
EAP-Id = 211<BR> <STRONG>EAP-Code =
Failure</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007>==============</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>I have added in
radiusd.conf the following info </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman"
size=3>eap {</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN
style="mso-spacerun: yes">
</SPAN>default_eap_type = md5</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman"
size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN
style="mso-spacerun: yes">
</SPAN>md5 {</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN
style="mso-spacerun: yes">
</SPAN>}</FONT></FONT></P></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007>====================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>My queries are as
following..</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>Do I need to add any
md5 related attributes in server configuration? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>I have found in some
file like digest-auth-MD5 "<>/freeradius-1.1.7/src/tests", but not sure
how to inform radiusd server about this file. Also do not find any documentation
about usage of "digest-auth-MD5".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>Any information/help
regarding this is highly appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=451342613-12122007>Kind
Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007>Nilanjan</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=451342613-12122007></SPAN></FONT> </DIV></BODY></HTML>