[gnutls-devel] [sr #108715] DTLS send does not respect MTU

Andreas Schultz INVALID.NOREPLY at gnu.org
Mon Jan 5 15:31:24 CET 2015


URL:
  <http://savannah.gnu.org/support/?108715>

                 Summary: DTLS send does not respect MTU
                 Project: GnuTLS
            Submitted by: roadrunnr
            Submitted on: Mon 05 Jan 2015 02:31:23 PM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

The DTLS send function does not respect the MTU set via gnutls_dtls_set_mtu.

DTLS does fragment the record, but it passes all fragments on to writev, which
will slap them all together into one datagram, ignoring the explicitly set
MTU.

Test case for reproduction attached.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 05 Jan 2015 02:31:23 PM GMT  Name: mini-dtls-mtu.c  Size: 8kB   By:
roadrunnr

<http://savannah.gnu.org/support/download.php?file_id=32762>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108715>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




More information about the Gnutls-devel mailing list