-
Notifications
You must be signed in to change notification settings - Fork 65
Description
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