Re: ssl negotiation failed with Microsoft IIS
From: Eugene Mayevski (mayevski_at_eldos.org)
Date: 05/17/04
- Next message: Steve: "GINA DLL in windows XP home edition (Graphical Identification and Authentication DLL)"
- Previous message: Dan: "CCertAdmin.SetCertificateExtension"
- In reply to: Igor: "Re: ssl negotiation failed with Microsoft IIS"
- Next in thread: Alun Jones [MS MVP - Security]: "Re: ssl negotiation failed with Microsoft IIS"
- Reply: Alun Jones [MS MVP - Security]: "Re: ssl negotiation failed with Microsoft IIS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 18 May 2004 00:21:19 +0300
Igor wrote:
> Eugene, I have searched the newsgroup but (feel really stupid) could not find your relevant posting.
> Could you please point it out more specifically.
Did you try your implementation with Java SSL-enabled servers? They have
the same bug in more severe variant.
The bug is that some students in MS (and in Sun) didn't study well and
didn't learn that TCP is a stream protocol, not message protocol. What
they assume is that if they read the data (ssl packet) from the socket
with one call, then they either read the whole packet or they drop the
connection. They can fail when you write first ssl packet header, then
data and then MAC, with more than one send() call. In this case chances
are that the recipient (IIS) will receive one or two pieces of the three
mentioned. The solution is to write all three pieces into one buffer and
send this buffer with one send() call.
-- Eugene Mayevski EldoS Corp., CTO Networking and security solutions, custom development services http://www.eldos.com
- Next message: Steve: "GINA DLL in windows XP home edition (Graphical Identification and Authentication DLL)"
- Previous message: Dan: "CCertAdmin.SetCertificateExtension"
- In reply to: Igor: "Re: ssl negotiation failed with Microsoft IIS"
- Next in thread: Alun Jones [MS MVP - Security]: "Re: ssl negotiation failed with Microsoft IIS"
- Reply: Alun Jones [MS MVP - Security]: "Re: ssl negotiation failed with Microsoft IIS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|