gnutls-devel
[Top][All Lists]
Advanced

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

Re: bug in 3.0.18: gnutls-cli fails to transfer data to gnutls-serv --ec


From: Nikos Mavrogiannopoulos
Subject: Re: bug in 3.0.18: gnutls-cli fails to transfer data to gnutls-serv --echo
Date: Thu, 19 Apr 2012 18:02:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

On 04/18/2012 11:06 PM, Alexandre Bique wrote:

> - start a gnutls echo server: gnutls-serv --x509keyfile=key.pem
> --x509certfile=cert.pem -p 4242 --disable-client-cert --nodb --generate
> --echo
> 
> - start a client, and copy a big file: cat /usr/include/*.h >test-file;
> gnutls-cli --insecure 0.0.0.0 -p 4242 <test-file
> 
> Then it doesn't work :^)
> You can also test with an openssl client (it will fail as well): openssl
> s_client -connect 0.0.0.0:4242 <test-file


Ok it seems it is an issue in s_client of openssl. After it transmits
some number of data it requests a rehandshake (renegotiation). It does
that by sending a client hello. If the next message it receives is
application data then it does issue the error you see. So it is no
error to worry about, just a bug in s_client.

regards,
Nikos



reply via email to

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