gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #107948] DTLS handshake deadlocks on packet loss


From: anonymous
Subject: [sr #107948] DTLS handshake deadlocks on packet loss
Date: Mon, 06 Feb 2012 14:21:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

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

                 Summary: DTLS handshake deadlocks on packet loss
                 Project: GnuTLS
            Submitted by: None
            Submitted on: Mon 06 Feb 2012 02:21:05 PM UTC
                Category: Core library
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When packets in the middle of any handshake flight are lost, DTLS handshake
fails in two situations:

* in blocking mode, handshake simply deadlocks and despite all timeouts, no
progress is made.
* in nonblocking mode, handshake continues as expected, but fails on
completion with GNUTLS_E_UNEXPECTED_PACKET or through more obscure errors like
GNUTLS_E_ERROR_IN_FINISHED_PACKET on client side.

Given the rather low probability that packets are lost in exactly this manner,
this bug does not seem severe. It is rather annoying though, as it leads to
handshakes failing that should have succeeded.

A testcase (rather lengthy) is attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 06 Feb 2012 02:21:05 PM UTC  Name: handshake.cpp  Size: 4kB   By:
None

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]