1 Dec 2004 04:25
Re: Issue 281: Backward compatibility problem
Bernard Aboba <aboba <at> internaut.com>
2004-12-01 03:25:25 GMT
2004-12-01 03:25:25 GMT
I have now captured a trace of an Access Point using a NULL character within the EAP-Request/Identity. The dump below is in hex, the decode is in decimal. A JPG screen capture (from Airopeek) is available at: http://www.drizzle.com/~aboba/EAP/eapreq.jpg 01 37 00 36 01 00 6E 65 74 77 6F 72 .7.6..networ 6B 69 64 3D 4D 53 46 54 57 4C 41 4E 2C 6E 61 73 kid=MSFTWLAN,nas 69 64 3D 43 55 53 52 45 44 30 34 30 43 33 34 32 id=CUSRED040C342 30 2C 70 6F 72 74 69 64 3D 30 00 00 00 00 0,portid=0 Here is a decode of the above EAP packet: Code: 1 (Request, one octet) Identifier: 55 (one octet) Length: 54 (two octets) Type: 1 (Identity, one octet) Type-Data: NULL (one octet) networkid=MSFTWLAN,nasid=CUSRED040C3420,portid=0 NULLs (4 octets) There are a number of issues brought up by this trace: a. Existing implementations place data after the NULL character within the EAP-Request/Identity packet. b. There can be multiple NULL characters in the EAP-Request/Identity packet. In this particular trace, there is one at the beginning of the Type-Data field, and four NULLs at the end. c. Existing access points place the networkid string first in the packet, with the nasid and portid strings second and third.(Continue reading)
RSS Feed