Hi ppl,


i have problem with implementing of EAP/TTLS on freeradius, i have setup auth in EAP/TTLS to EAP/MD5 and this is my error:

>>modcall: group authorize returns updated
>>  rad_check_password:  Found Auth-Type EAP
>>auth: type "EAP"
>>modcall: entering group authenticate
>>  rlm_eap: EAP Identity
>> rlm_eap: No such EAP type 4
>>  rlm_eap: Failed in EAP select
>>  modcall[authenticate]: module "eap" returns invalid
>>modcall: group authenticate returns invalid
>>auth: Failed to validate the user.

looking at the source i have seen that the problem is in following lines:

#eap.c

        if ((default_eap_type < PW_EAP_MD5) ||
            (default_eap_type > PW_EAP_MAX_TYPES) ||
            (inst->types[default_eap_type] == NULL)) {
                DEBUG2(" rlm_eap: No such EAP type %d",
                       default_eap_type);
                        return EAP_INVALID;
                }

looking at eap.h have seen that PW_EAP_MD5 value is 4.

Anyone has some idea?



Sergio,
FutureBrain







<<<<<<<<< follows freeradius log >>>>>>>>>>>>>
rad_recv: Access-Request packet from host 192.168.2.254:2051, id=0, length=193
User-Name = "tobi"
NAS-IP-Address = 192.168.2.254
Called-Station-Id = "0030bd96618f"
Calling-Station-Id = "0030bd97d2f8"
NAS-Identifier = "0030bd96618f"
NAS-Port = 189
Framed-MTU = 1400
State = 0x52c82cce680f4e775d5e00ab17705d2f
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0204003f1580000000351703010030d38d75a57f3413419cb84a5afea774b0c58547ba2544163213b71c06082b522a18d5f79ea4d77e85ffc94fe8069de8ff
Message-Authenticator = 0xfaf781eca6accfb78d59d841524e9f7d
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type response id 4 length 63
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "tobi", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 152
users: Matched tobi at 215
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - ttls
rlm_eap: processing type ttls
rlm_eap_ttls: Authenticate
rlm_eap_tls: processing TLS
rlm_eap_tls: Length Included
eaptls_verify returned 11
eaptls_process returned 7
rlm_eap_ttls: Session established. Proceeding to decode tunneled attributes.


  TTLS: Got tunneled request
        EAP-Message = 0x0200000901746f6269
        Freeradius-Proxied-To = 127.0.0.1
  TTLS: Got tunneled identity of tobi
  TTLS: Setting default EAP type for tunneled EAP session.
  TTLS: Sending tunneled request
        EAP-Message = 0x0200000901746f6269
        Freeradius-Proxied-To = 127.0.0.1
        User-Name = "tobi"
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "chap" returns noop
  rlm_eap: EAP packet type response id 0 length 9
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "tobi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop
    users: Matched DEFAULT at 152
    users: Matched tobi at 215
  modcall[authorize]: module "files" returns ok
  modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
  rlm_eap: EAP Identity
 rlm_eap: No such EAP type 4
  rlm_eap: Failed in EAP select
  modcall[authenticate]: module "eap" returns invalid
modcall: group authenticate returns invalid
auth: Failed to validate the user.
  TTLS: Got tunneled reply RADIUS code 3
        EAP-Message = 0x04000004
        Message-Authenticator = 0x00000000000000000000000000000000
  TTLS: Rejecting tunneled user
 rlm_eap: Handler failed in EAP type 21
  TTLS: Freeing handler for user tobi
  rlm_eap: Failed in EAP select
  modcall[authenticate]: module "eap" returns invalid
modcall: group authenticate returns invalid
auth: Failed to validate the user.
Delaying request 4 for 1 seconds
Finished request 4
Going to the next request
rl_next:  returning NULL
Waking up in 6 seconds...



--




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

Reply via email to