<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Sorry to spam you, but we have  <span style="font-size: 12pt; ">#radtest user1 password 127.0.0.1:1812 0 testing1234  and </span></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span style="font-size: 12pt; ">#radtest user1 password 127.0.0.1:18120 0 testing1234 </span></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span style="font-size: 12pt; ">and we have got the same result for the client</span></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif;
 font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">De :</span></b> arnauld ndefo <ndefo2002@yahoo.fr><br> <b><span style="font-weight: bold;">À :</span></b> alan buxey <A.L.M.Buxey@lboro.ac.uk>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org>; Arran Cudbard-Bell <a.cudbardb@freeradius.org> <br><b><span style="font-weight: bold;">Cc :</span></b> Alan DeKok <aland@deployingradius.com>; tatiana dibanda <tdibanda31@yahoo.fr>; "tdibanda2005@yahoo.fr" <tdibanda2005@yahoo.fr> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Mardi 18 septembre 2012 23h38<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: error of segmentation during the implementation of eap2<br> </font> </div> <br><div id="yiv1147832776"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);
 font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi, </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Concerning the error of segmentation, we have removed in the section authorize the part <span style="font-weight:bold;">e</span><span style="font-weight:bold;">ap2{ ok = return}</span> in the default and inner-server file. After that we have got the output of the radiusd -X which is in the attached file radiusd.txt. Normally we think that it is fine because the eap2 module has been loaded and we have at the end the line </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; "><br></div><div style="background-color:transparent;"><div
 style="background-color:transparent;"> ... adding new socket proxy address * port 52902</div><div style="background-color:transparent;">Listening on authentication address * port 1812</div><div style="background-color:transparent;">Listening on accounting address * port 1813</div><div style="background-color:transparent;">Listening on command file /usr/local/var/run/radiusd/radiusd.sock</div><div style="background-color:transparent;">Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel</div><div style="background-color:transparent;">Listening on proxy address * port 1814</div><div style="background-color:transparent;">Ready to process requests.</div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; background-color: transparent; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; background-color: transparent; ">For the test of the
 eap2 module, we have put in the users file the line <span style="font-weight:bold;">user1 Auth-Type :=eap2, Cleartext-Password :="password"</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; background-color: transparent; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; background-color: transparent; "><span style="font-weight:bold;">On the client, we have got </span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; background-color: transparent; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; "><div style="background-color:transparent;">#radtest user1 password 127.0.0.1:18120 0 testing1234</div><div style="background-color:transparent;">sh: getcwd() failed:
 No such file or directory</div><div style="background-color:transparent;">Sending Access-Request of id 217 to 127.0.0.1 port 18120</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>User-Name = "user1"</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">  </span>User-Password = "password"</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>NAS-IP-Address = 127.0.1.1</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">     </span>NAS-Port = 0</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>Message-Authenticator = 0x00000000000000000000000000000000</div><div style="background-color:transparent;">rad_recv: Access-Reject
 packet from host 127.0.0.1 port 18120,
 id=217, length=20</div><div style="background-color:transparent;"><br></div><div style="background-color:transparent;font-size:16px;"><span style="font-weight:bold;">And on the server we have got</span> </div><div style="background-color:transparent;font-size:16px;"><br></div><div style="background-color:transparent;"><div style="background-color:transparent;">rad_recv: Access-Request packet from host 127.0.0.1 port 53591, id=217, length=75</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">        </span>User-Name = "user1"</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">  </span>User-Password = "password"</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>NAS-IP-Address = 127.0.1.1</div><div style="background-color:transparent;"><span
 class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>NAS-Port = 0</div><div style="background-color:transparent;"><span class="yiv1147832776Apple-tab-span" style="white-space:pre;">   </span>Message-Authenticator = 0xd755b04bec06d6babdc5c934be2aae5a</div><div style="background-color:transparent;">server inner-tunnel {</div><div style="background-color:transparent;"># Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel</div><div style="background-color:transparent;">+- entering group authorize {...}</div><div style="background-color:transparent;">++[chap] returns noop</div><div style="background-color:transparent;">++[mschap] returns noop</div><div style="background-color:transparent;">[suffix] No '@' in User-Name = "user1", looking up realm NULL</div><div style="background-color:transparent;">[suffix] No such realm "NULL"</div><div style="background-color:transparent;">++[suffix] returns noop</div><div
 style="
background-color:transparent;">++[control] returns noop</div><div style="background-color:transparent;">[files] users: Matched entry user1 at line 204</div><div style="background-color:transparent;">++[files] returns ok</div><div style="background-color:transparent;">++[expiration] returns noop</div><div style="background-color:transparent;">++[logintime] returns noop</div><div style="background-color:transparent;">[pap] WARNING: Auth-Type already set.  Not setting to PAP</div><div style="background-color:transparent;">++[pap] returns noop</div><div style="background-color:transparent;">Found Auth-Type = eap2</div><div style="background-color:transparent;"># Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel</div><div style="background-color:transparent;">+- entering group authenticate {...}</div><div style="background-color:transparent;"><span style="font-weight:bold;">[eap2] No EAP-Message.  Not doing
 EAP.</span></div><div style="background-color:transparent;"><span style="font-weight:bold;">++[eap2] returns fail</span></div><div style="background-color:transparent;"><span style="font-weight:bold;">Failed to authenticate the user.</span></div><div style="background-color:transparent;">} # server inner-tunnel</div><div style="background-color:transparent;">Using Post-Auth-Type REJECT</div><div style="background-color:transparent;"># Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel</div><div style="background-color:transparent;">+- entering group REJECT {...}</div><div style="background-color:transparent;">[attr_filter.access_reject] <span class="yiv1147832776Apple-tab-span" style="white-space:pre;">     </span>expand: %{User-Name} -> user1</div><div style="background-color:transparent;">attr_filter: Matched entry DEFAULT at line 11</div><div style="background-color:transparent;">++[attr_filter.access_reject]
 returns updated</div><div style="background-color:transparent;">Delaying reject of request 1 for 1 seconds</div><div style="background-color:transparent;">Going to the next request</div><div style="background-color:transparent;">Waking up in 0.9 seconds.</div><div style="background-color:transparent;">Sending delayed reject for request 1</div><div style="background-color:transparent;">Sending Access-Reject of id 217 to 127.0.0.1 port 53591</div><div style="background-color:transparent;">Waking up in 4.9 seconds.</div><div style="background-color:transparent;">Cleaning up request 1 ID 217 with timestamp +96</div><div style="background-color:transparent;"><br></div><div style="font-size:16px;background-color:transparent;">I have checked all the file and everything is Ok. Then i dont know why the server doesnt success to authenticate the user??? As you see, we have a failed to authenticate the user.</div><div
 style="font-size:16px;background-color:transparent;">Do you have an ideas or suggestions please??</div><div style="font-size:16px;background-color:transparent;"><br></div><div style="font-size:16px;background-color:transparent;">Thank you</div><div style="font-size:16px;background-color:transparent;"><br></div></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; "><br class="yiv1147832776Apple-interchange-newline"></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif;
 font-size: 12pt; ">
 <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">De :</span></b> alan buxey <A.L.M.Buxey@lboro.ac.uk><br> <b><span style="font-weight:bold;">À :</span></b> arnauld ndefo <ndefo2002@yahoo.fr>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org> <br><b><span style="font-weight:bold;">Cc :</span></b> Alan DeKok <aland@deployingradius.com>; tatiana dibanda <tdibanda31@yahoo.fr>; "tdibanda2005@yahoo.fr" <tdibanda2005@yahoo.fr> <br> <b><span style="font-weight:bold;">Envoyé le :</span></b> Mardi 18 septembre 2012 17h57<br> <b><span style="font-weight:bold;">Objet :</span></b> Re: error of segmentation during the implementation of eap2<br> </font> </div> <br>Hi,<br>>    My project is to authenticate a client openpana with my radius server. The<br>>    authentication method used by the client is based on the
 EAP-PSK, which is<br>>    why I would have a radius server with authtentification method as EAP-PSK.<br>>    After apply the instruction of doc/bugs, i have got a file gdb-radiusd.log<br>>    which i have attached to the mail.<br><br>I take it that you've tried removing eap2 call from authorize and only have it in the authentication<br>section?<br><br>alan<br><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></body></html>