mainGnuTLS - Support: sr #106756, %SSL3_RECORD_VERSION breaks...

 
 

sr #106756: %SSL3_RECORD_VERSION breaks rehandshaking?

Submitter:  Dan Winship <danw>
Submitted:  Fri 15 May 2009 05:18:24 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  nmav
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Jul 2010 10:38:26 AM UTC, comment #2: 

This is now fixed in 2.11.x branch.

Nikos Mavrogiannopoulos <nmav>
Group administrator
Fri 05 Feb 2010 02:04:04 PM UTC, comment #1: 

Hi,
 You are right. THere is some issue with renegotiation and the SSL3_RECORD_VERSION option. I'm checking whether there can be a quick solution. Thank you for reporting it.


Nikos Mavrogiannopoulos <nmav>
Group administrator
Fri 15 May 2009 05:18:24 PM UTC, original submission:  

It seems like specifying %SSL3_RECORD_VERSION on the client causes either the client or the server to get confused when rehandshaking.

I'm attaching a test server program. (It expects files called test-cert.pem and test-key.pem in the current directory.) The server just accepts a connection, handshakes, and then immediately rehandshakes. If you connect to it with:

    gnutls-cli --insecure -p 9999 localhost

then gnutls-cli will do the two handshakes and then the server disconnects happily. But if you do:

    gnutls-cli --insecure --priority 'NORMAL:%SSL3_RECORD_VERSION' -p 9999 localhost

then the rehandshake will fail, with the server reporting

    GNUTLS ERROR: Decryption has failed.

This is with GNUTLS 2.6.6 (gnutls-2.6.6-1.fc11.i586, Fedora 11).

Dan Winship <danw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #18143:  ssl-test-server.c added by danw (3KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by danw
  • -email is unavailable- added by danw (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-03 nmav Open/ClosedOpen Closed
    2010-07-03 nmav StatusNone Done
        Assigned toNone nmav
    2009-05-15 danw Attached File- Added ssl-test-server.c, #18143
        Carbon-Copy- Added danw

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code