eap md5 problem

Muhammad Nadeem mnadeem8327 at gmail.com
Fri Feb 15 13:25:55 CET 2013


hi everybody,,
I am trying to learn and test EAP. So i started with simple md5. I
have defined packets in a file. like following.

User-Name=bob
Cleartext-Password=hello
EAP-Code = Response
EAP-Id = 210
EAP-Type-Identity = bob
Message-Authenticator = 0x00

and it is repeated around 100 times (to make 100 eap packets).

Now I issued the following command to send packets to server.
 radeapclient -x  -f eap.txt 192.168.0.112 auth testing123

,Now i am facing a major problem, around first 5 to 6 requests are
entertained normally, and access-accept is returned. But after some
requests a strange behavior is found.
When client sends its request to server, a message is shown (rlm_eap:
EAP-Message not found), And Access-Reject packet is received from
server. But after this the client keep sending Access-Requets (which
are actually the response of the challenge) to the server. could you
please tell me whts the probelm. Here is some debug output.

Received Access-Accept packet from host 192.168.0.112 port 1812,
id=131, length=49
        EAP-Message = 0x03d30004
        Message-Authenticator = 0x34208362152e1e801e6547a2a453764f
        User-Name = "bob"
        EAP-Id = 211
        EAP-Code = Success
Sending Access-Request packet to host 192.168.0.112 port 1812, id=132, length=85
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
rlm_eap: EAP-Message not found
Received Access-Reject packet from host 192.168.0.112 port 1812,
id=132, length=20
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=25
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00
        EAP-Message = 0x02d2000801626f62
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=71
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        EAP-Message = 0x02d2000801626f62
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=71
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        EAP-Message = 0x02d2000801626f62
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=71
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        EAP-Message = 0x02d2000801626f62
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=71
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        EAP-Message = 0x02d2000801626f62
Sending Access-Request packet to host 192.168.0.112 port 1812, id=133, length=71
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "bob"
        Cleartext-Password = "hello"
        EAP-Code = Response
        EAP-Id = 210
        EAP-Type-Identity = 0x626f62
        Message-Authenticator = 0x00000000000000000000000000000000
        EAP-Message = 0x02d2000801626f62


Thanks in advance


More information about the Freeradius-Users mailing list