[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: EAP Message Format



I'm confused.  Where did you get this 4-byte length field?  Current
technology does not allow 65536-byte frames, so what authentication type
would need a 4-byte length field?

To quote from -08:
   o  Length (two octets) is the length of the EAP message and MUST
      be four less than the Payload Length of the encapsulating
      payload.



-----Original Message-----
From: owner-ipsec@lists.tislabs.com
[mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Ricky Charlet
Sent: Wednesday, July 09, 2003 12:23 AM
To: ipsec mailingList
Subject: Q: EAP Message Format


Howdy,

	So, as currently specified in draft-08, the length field of the EAP
message format may be either 2 or 4 bytes depending upon the type.  If
the message does indeed have a 4 byte length and no type/type-data
fields, then what does it look like? Perhaps the following?



                             1                   2                   3
         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        !     Code      ! Identifier    !           Reserved            !
        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        !                           Length                              !
        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


                       Figure 25:  EAP Message Format




---
Ricky Charlet
rcharlet@alumni.calpoly.edu
510.324.3163