Skip to content

Fragment Length, Fragment Offset Non-conformance bug #73

@bathooman

Description

@bathooman

Description

  • Type: Non-conformance Bug
  • Priority: Minor

Non-conformance Bug

Version: development branch

Expected behavior
The DTLS RFC specifies the following requirement regarding the fragment offset and fragment length when fragmentation is not present:

An unfragmented message is a degenerate case with fragment_offset=0 and fragment_length=length

Actual behavior
One can complete a handshake with the following values for the fragment_offset and fragment_length:

CKE.message_length = 17
CKE.fragment_length = 16777198
CKE.fragment_offset = 255

The problem also exists when the server sends records with non-compliant Fragment_offset and fragment_length.

I have attached the handshake trace for the mentioned non-conformance. You clearly see that the handshake proceeds while the Fragment_offset and fragment_length are invalid.
capture.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions