wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

DTLS bugfixes

Open mattia-moffa opened this issue 5 months ago • 1 comments

Description

  • 4b7e8cc: Previously, when DTLS CID was enabled and an app used wolfSSL_dtls_set_pending_peer(), dtlsProcessPendingPeer() promoted the pending peer without checking that the record is newer than the newest already received. RFC 9146 § 6 requires to check this (second condition in the list). Without the check, a reordered or replayed CID record could cause an erroneous migration of the active peer. Fixes #10609
  • d71c3b7: Allow WOLFSSL_DTLS_CID with WOLFSSL_DTLS (not just WOLFSSL_DTLS13). Fixes #10610
  • f495200: implement receive-side handling of DTLS 1.3 new_connection_id and request_connection_id messages.
    • Fixes #10612;
    • Fixes #10613;
    • Fixes #10621.

Testing

./configure --enable-all && make && make check

Checklist

  • [x] added tests

mattia-moffa avatar Jun 05 '26 18:06 mattia-moffa

Jenkins retest this please

Frauschi avatar Jul 02 '26 06:07 Frauschi

the tiny-tls13 failures are unrelated and will be fixed by #10835

Frauschi avatar Jul 02 '26 08:07 Frauschi

Jenkins retest this please

mattia-moffa avatar Jul 02 '26 14:07 mattia-moffa