Help(1.1.3): Access-Reject is sent by server for EAP-MD5 challenge response

Govardhana K N govardhan.nagarajaiah at gmail.com
Thu Jul 19 12:56:17 CEST 2007


Hi,

I am trying to send an Access-Request with EAP-Identity response. The
Request was successful and Server sent an Access-Challenge in response (MD5
challenge), the response to this challenge is failing (receiving
Access-Reject from Server), the Error message was "rlm_eap_md5:
User-Password is required for EAP-MD5 authentication". I have the
User-Password attribute in Access-Request. Below is the Access-Request
packet attributes,

--------------------------------------------------------------------------------
User-Name = jrc
User-Password = jrc
Nas-identifier = jrcnas
Nas-Ip-Address = 10.10.10.10
Nas-Port = 20
Nas-Port-Type = 15
CUI = 0
Service-Type = Framed-User
Framed-MTU = 1400
Calling-Station-Id = 1:1:1:1:1:1
NSP-Id = nap
BS-ID = TestBS
EAP-Code = Response
EAP-Id = 210
EAP-Type-Identity = "jrc"
EAP-MD5-Password = jrc
Message-Authenticator = 0x00
--------------------------------------------------------------------------------

am I doing any wrong here? Can Anybody help me how to solve this problem?


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
rad_recv: Access-Request packet from host 127.0.0.1:32825, id=177,
length=150
        User-Name = "jrc"
        User-Password = "jrc"
        NAS-Identifier = "jrcnas"
        NAS-IP-Address = 10.10.10.10
        NAS-Port = 20
        NAS-Port-Type = Ethernet
        CUI = "0"
        Service-Type = Framed-User
        Framed-MTU = 1400
        Calling-Station-Id = "1:1:1:1:1:1"
        NSP-ID = "nap"
        BS-ID = "TestBS"
        Message-Authenticator = 0x4cc4b9e9f807f7648ddb267ec1365cc6
        EAP-Message = 0x02d20008016a7263
  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 = "jrc", 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 jrc at line 231
  modcall[authorize]: module "files" returns ok 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 177 to 127.0.0.1 port 32825
        CUI = "TestCUI2"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Framed-IP-Address = 172.31.128.112
        Framed-IP-Netmask = 255.255.255.0
        Framed-MTU = 1400
        AAA-Session-Id = "MultiSessionId2"
        MSK = "TestMSK2"
        HA-IP-MIP4 = 1.2.3.5
        DHCPv4-Server = 5.6.7.9
        MN-HA-MIP4-KEY = "TestMIPKey2"
        MN-HA-MIP4-SPI = "TestMIPSPI2"
        DHCP-RK = "TestDHCPRK2"
        DHCP-RK-KEY-ID = "TestDHCPRKID2"
        DHCP-RK_LIFETIME = 30
        EAP-Message = 0x01d300160410f492fb48923219d8c9760b271cf4e031
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0x467be2cc5938e30e368d1633e8ebd4fd
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:32825, id=178,
length=182
        User-Name = "jrc"
        User-Password = "jrc"
        NAS-Identifier = "jrcnas"
        NAS-IP-Address = 10.10.10.10
        NAS-Port = 20
        NAS-Port-Type = Ethernet
        CUI = "0"
        Service-Type = Framed-User
        Framed-MTU = 1400
        Calling-Station-Id = "1:1:1:1:1:1"
        NSP-ID = "nap"
        BS-ID = "TestBS"
        Message-Authenticator = 0x7c3e1b2a25d10ce176811099e6ea64a3
        State = 0x467be2cc5938e30e368d1633e8ebd4fd
        EAP-Message = 0x02d300160410d879a36a071bbf8d1111a598184dbe22
  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 = "jrc", 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 jrc at line 231
  modcall[authorize]: module "files" returns ok 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.
Login incorrect: [jrc] (from client localhost port 20 cli 1:1:1:1:1:1)
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:32825, id=178,
length=182
Sending Access-Reject of id 178 to 127.0.0.1 port 32825
        EAP-Message = 0x04d30004
        Message-Authenticator = 0x00000000000000000000000000000000
--- Walking the entire request list ---
Waking up in 3 seconds...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


-- 
With Regards,
Govardhana K N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070719/f93a8cd0/attachment.html>


More information about the Freeradius-Users mailing list