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: Alexandre Bique
Subject: Re: bug in 3.0.18: gnutls-cli fails to transfer data to gnutls-serv --echo
Date: Thu, 19 Apr 2012 18:04:18 +0200

On Thu, Apr 19, 2012 at 18:02, Nikos Mavrogiannopoulos <address@hidden> wrote:
> 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.

Thanks a lot Nikos!

Is it worth to tell the OpenSSL guys?

Regards,
-- 
Alexandre Bique



reply via email to

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