I have a client and server that I’m attempting to complete a handshake with.

The client connects to the server and initiates the handshake. The server 
detects it does not have an existing session with the client and then sends a 
cookie back to the client. I see the client receive the 44 byte message in my 
pull function, but after receiving the cookie it never sends a packet back to 
the server via subsequent calls to gnutls_handshake().

Here’s the client log:

[DEBUG] [2014-04-02 12:16:13 -0700] [67118:5953] [audio-mixer] Pushing a 
message of size 271 to 127.0.0.1:40103 
[DEBUG] [2014-04-02 12:16:13 -0700] [67118:5953] [audio-mixer] Received no data 
on call to readDatagram 
[DEBUG] [2014-04-02 12:16:13 -0700] [67118:5953] [audio-mixer] GnuTLS handshake 
return is -28 
[DEBUG] [2014-04-02 12:16:13 -0700] [67118:5953] [audio-mixer] Direction return 
is 0 
[DEBUG] [2014-04-02 12:16:14 -0700] [67118:5953] [audio-mixer] 0 
[DEBUG] [2014-04-02 12:16:14 -0700] [67118:5953] [audio-mixer] Received 44 on 
DTLS socket from 127.0.0.1:40103 
[DEBUG] [2014-04-02 12:16:14 -0700] [67118:5953] [audio-mixer] Received no data 
on call to readDatagram 
[DEBUG] [2014-04-02 12:16:14 -0700] [67118:5953] [audio-mixer] GnuTLS handshake 
return is -28 
[DEBUG] [2014-04-02 12:16:14 -0700] [67118:5953] [audio-mixer] Direction return 
is 0 
[DEBUG] [2014-04-02 12:16:15 -0700] [67118:5953] [audio-mixer] 0 
[DEBUG] [2014-04-02 12:16:15 -0700] [67118:5953] [audio-mixer] Received no data 
on call to readDatagram 
[DEBUG] [2014-04-02 12:16:15 -0700] [67118:5953] [audio-mixer] GnuTLS handshake 
return is -28 
[DEBUG] [2014-04-02 12:16:15 -0700] [67118:5953] [audio-mixer] Direction return 
is 0 
[DEBUG] [2014-04-02 12:16:16 -0700] [67118:5953] [audio-mixer] 0 
[DEBUG] [2014-04-02 12:16:16 -0700] [67118:5953] [audio-mixer] Received no data 
on call to readDatagram 
[DEBUG] [2014-04-02 12:16:16 -0700] [67118:5953] [audio-mixer] GnuTLS handshake 
return is -28 
[DEBUG] [2014-04-02 12:16:16 -0700] [67118:5953] [audio-mixer] Direction return 
is 0 

All the server indicates is that it is sending out the cookie.

[DEBUG] [2014-04-02 12:16:13 -0700] [67085:5660] Pushing a message of size 44 
to 127.0.0.1:57809 

What do I need to do to get the client to continue the handshake after 
receiving the cookie?


_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to