Need help to test EAP-MD5

Nilanjan Sarkar nilanjans at condornetworks.com
Thu Dec 13 11:43:06 CET 2007


Hi Alan, Ivan,

Thanks for the reply. I have posted the log below.

After observing the radiusd log, I guess the authentication failed due to
this
-----------------
rlm_eap_md5: User-Password is required for EAP-MD5 authentication
 rlm_eap: Handler failed in EAP/md5
  rlm_eap: Failed in EAP select
-----------------

Do you have information about what does it mean?

Here is the full radiusd log for your reference.

Kind Regards,
Nilanjan

LOG: <./radiusd -X>
===============================================================
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.


rad_recv: Access-Request packet from host 127.0.0.1:32940, id=144, length=65
        User-Name = "bob"
        NAS-IP-Address = 255.255.255.255
        Message-Authenticator = 0xa60a0c258dad3abb53aea01bf11f49c0
        NAS-Port = 0
        EAP-Message = 0x02d2000801626f62
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_realm: No '@' in User-Name = "bob", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: EAP packet type response id 210 length 8
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 0
    users: Matched entry DEFAULT at line 156
  modcall[authorize]: module "files" returns ok for request 0
rlm_pap: WARNING! No "known good" password found for the user.
Authentication m                  ay fail because of this.
  modcall[authorize]: module "pap" returns noop for request 0
modcall: leaving group authorize (returns updated) for request 0
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
  rlm_eap: EAP Identity
  rlm_eap: processing type md5
rlm_eap_md5: Issuing Challenge
  modcall[authenticate]: module "eap" returns handled for request 0
modcall: leaving group authenticate (returns handled) for request 0
Sending Access-Challenge of id 144 to 127.0.0.1 port 32940
        EAP-Message = 0x01d300160410a3b0bad42fe0907b49b1a040d29b3f0c
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0x64c86949f0febe84aa06ac1938cb3768
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:32940, id=145, length=97
        User-Name = "bob"
        NAS-IP-Address = 255.255.255.255
        Message-Authenticator = 0x4ac0488daabee8edcd3f63f9b43131ae
        NAS-Port = 0
        State = 0x64c86949f0febe84aa06ac1938cb3768
        EAP-Message = 0x02d300160410daf91e69f62c17f3cbd3dc31ec0936b1
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
  modcall[authorize]: module "preprocess" returns ok for request 1
  modcall[authorize]: module "chap" returns noop for request 1
  modcall[authorize]: module "mschap" returns noop for request 1
    rlm_realm: No '@' in User-Name = "bob", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 1
  rlm_eap: EAP packet type response id 211 length 22
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 1
    users: Matched entry DEFAULT at line 156
  modcall[authorize]: module "files" returns ok for request 1
rlm_pap: WARNING! No "known good" password found for the user.
Authentication m                  ay fail because of this.
  modcall[authorize]: module "pap" returns noop for request 1
modcall: leaving group authorize (returns updated) for request 1
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 1
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/md5
  rlm_eap: processing type md5
rlm_eap_md5: User-Password is required for EAP-MD5 authentication
 rlm_eap: Handler failed in EAP/md5
  rlm_eap: Failed in EAP select
  modcall[authenticate]: module "eap" returns invalid for request 1
modcall: leaving group authenticate (returns invalid) for request 1
auth: Failed to validate the user.
Delaying request 1 for 1 seconds
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:32940, id=145, length=97
Sending Access-Reject of id 145 to 127.0.0.1 port 32940
        EAP-Message = 0x04d30004
        Message-Authenticator = 0x00000000000000000000000000000000
--- Walking the entire request list ---
Waking up in 3 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 144 with timestamp 47610c4b
Cleaning up request 1 ID 145 with timestamp 47610c4b
Nothing to do.  Sleeping until we see a request.
=============================================================== 




More information about the Freeradius-Users mailing list