Thanks!
I ran wireshark and it looks like at some point my client issues Encrypted Alert 21. Is it something I should be worried about? Based on my check this alert means that the decryption has failed and that could be a reason for server to terminate the connection. Is my understanding correct? The question is why would the decryption fail after it had already received and successfully decrypted previous data. Any ideas? P.A. -----Original Message----- From: Nikos Mavrogiannopoulos [mailto:[email protected]] On Behalf Of Nikos Mavrogiannopoulos Sent: Thursday, May 01, 2014 1:44 PM To: Polina Abramov Cc: [email protected] Subject: Re: [gnutls-help] GNUTLS_E_PREMATURE_TERMINATION error On Thu, 2014-05-01 at 17:10 +0000, Polina Abramov wrote: > Hi All, > I need help with GNUTLS_E_PREMATURE_TERMINATION error code that is > returned by gnutls_record_recv() function. > I have a simple smtp client that all it does is sending emails. When > I use gmail or hotmail smtp servers I keep getting > GNUTLS_E_PREMATURE_TERMINATION and I can’t figure out what causes it. > I don’t get this error with yahoo smtp server. Hello, The peer has terminated the TLS session using a TCP RST (i.e., called close()). Since gnutls cannot distinguish that termination from an attacker terminating the session it warns you with this error code. regards, Nikos
_______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
