[gnutls-help] DTLS Handshake not taking place as expected.
Nikos Mavrogiannopoulos
nmav at gnutls.org
Thu Jun 19 09:28:11 CEST 2014
On Thu, 2014-06-19 at 10:56 +0530, Sandeep Kumar wrote:
> Hi,
> I'm trying to simulate a DTLS client and server communication over
> SCTP as transport. I've used sample code provided by GNUTLS and
> modified it a little bit to achieve my desired result. I was referring
> to "RFC 4347 Figure 1. Message flights for full handshake" for
> verifying the Handshake procedure whether its taking place properly or
> not.
> [...]
> There is one message which is "encrypted alert". I'm not able to
> understand its role in communication. What is requirement of sending
> this message after sending encrypted data or any control message?
Hello,
The Finished messages are the messages mentioned as "Encrypted
Handshake Message", as finished is only sent encrypted. The encrypted
alert is probably the session termination alert since you call
gnutls_bye(). Except for a three times sent client hello, everything
seems fine.
regards,
Nikos
More information about the Gnutls-help
mailing list