hi


Now take the EAP-Message:
0x   02   02   000d   01 74 65 73 74 75 73 65 72
hex  code id   length data (9 octets)

Splitting done right? If so, code, id, and length are consistent with rlm_eap: EAP packet type response id 2 length 13
But why are there only 9 bytes of data -- I expect 13?
Is it truncated in some way?

not at all: the length is not the length of the data field but of the whole packet: 9 data + 2 length + 1 id + 1 code = 13.


according to RFC3748:

Length

      The Length field is two octets and indicates the length, in
      octets, of the EAP packet including the Code, Identifier, Length,
      and Data fields.  Octets outside the range of the Length field
      should be treated as Data Link Layer padding and MUST be ignored
      upon reception.  A message with the Length field set to a value
      larger than the number of received octets MUST be silently
      discarded.


hope it helps artur

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

Reply via email to