W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

ssl 2.0

From: oleg oksyuk <oksyuk@yahoo.com>
Date: Thu, 23 Dec 1999 11:08:31 -0800 (PST)
Message-ID: <19991223190831.13631.qmail@web1402.mail.yahoo.com>
To: www-lib@w3.org


I am using WWWlib 5.2.8 with libwww-ssl under NT4, and
so far haven't been able to succeed in performing GET
request to https server that don't support SSL 3.0
(but only SSL 2.0). For the servers that support SSL
2.0 all work fine.

Here is trace for the server that support both SSL 2.0
and SSL 3.0

ChunkStream. Chunk 00D50570 created with max size 0
HTSimplify.. `https://www.hotmail.com' into
............ `https://www.hotmail.com'
Find Parent. 00D50420 with hash 427 and address
`https://www.hotmail.com' create
d
Auth Engine. Looking up `https://www.hotmail.com'
Auth Engine. No information
Check rules. for `https://www.hotmail.com'
PEP Engine.. Looking for info on
`https://www.hotmail.com'
PEP Engine.. No information
Looking up www.hotmail.com
HTSSLWriter. Created 00D51480
Socket...... TCP send buffer size is 8192 for socket
1264
Contacting www.hotmail.com
Buffer...... Flushing 00D51420
HTSSLWriter. SSL returned 0
HTSSLWriter. 176 bytes written to 1264
HTSSLReader. SSL returned 0
HTSSLReader. 530 bytes read from socket 1264
Reading...
MIME header. Date: Thu, 23 Dec 1999 17:34:57 GMT
MIME header. Server: Apache/1.3.6 (Unix) mod_ssl/2.2.8
SSLeay/0.9.0b
MIME header. Location:
http://lc2.law5.hotmail.passport.com/cgi-bin/login
HTSimplify..
`http://lc2.law5.hotmail.passport.com/cgi-bin/login'
into
............
`http://lc2.law5.hotmail.passport.com/cgi-bin/login'
Find Parent. 00D52410 with hash 561 and address
`http://lc2.law5.hotmail.passpor
t.com/cgi-bin/login' created
MIME header. Keep-Alive: timeout=15, max=100
MIMEParser.. Timeout after 15 secs
MIMEParser.. Max 100 requests pr connection
MIME header. Connection: Keep-Alive
MIMEParser.. HTTP/1.0 Keep Alive ignored
MIME header. Transfer-Encoding: chunked
MIME header. Content-Type: text/html
Building.... C-T stack from text/html to www/debug
BlackHole... Converter Created
Building.... Content-Decoding stack
Building.... Transfer-Decoding stack
Chunked..... Decoder stream created
Chunked..... `e6 ' chunk size: E6
Chunked..... `0' chunk size: 0
Done!
HTSSLReader. Target returns 200
Timer....... Created one shot timer 00D53ED0 with
callback 0026E770, context 00D
51C40, and relative timeout 60000
Link create. from anchor 00D50420 to 00D52410 with
type TEMPORARY_REDIRECTION, m
ethod GET
PEP Engine.. Looking for info on
`http://lc2.law5.hotmail.passport.com/cgi-bin/l
ogin'
PEP Engine.. No information
Auth Engine. Looking up
`http://lc2.law5.hotmail.passport.com/cgi-bin/login'
Auth Engine. No information
Check rules. for
`http://lc2.law5.hotmail.passport.com/cgi-bin/login'
Looking up lc2.law5.hotmail.passport.com
Reader...... Created reader stream 01A680A8
Socket...... TCP send buffer size is 8192 for socket
1248
Contacting lc2.law5.hotmail.passport.com
Buffer...... Flushing 00D52B50
Write Socket 213 bytes written to 1248
Read Socket. 760 bytes read from socket 1248
Reading...
HTAnchor.... Clear all header information
MIME header. Date: Thu, 23 Dec 1999 17:34:58 GMT
MIME header. Server: Apache/1.3.6 (Unix) mod_ssl/2.2.8
SSLeay/0.9.0b
MIME header. Cache-Control: no-cache
MIME header. Expires: Mon, 01 Jan 1999 00:00:00 GMT
MIME header. Pragma: no-cache
MIMEParser.. No-Cache Pragma
MIME header. Set-Cookie: BrowserTest=Success%3f; 
domain=.passport.com; path=/
MIME header. Keep-Alive: timeout=15, max=100
MIMEParser.. Timeout after 15 secs
MIMEParser.. Max 100 requests pr connection
MIME header. Connection: Keep-Alive
MIMEParser.. HTTP/1.0 Keep Alive ignored
MIME header. Transfer-Encoding: chunked
MIME header. Content-Type: text/html
Building.... C-T stack from text/html to */*
Building.... Content-Decoding stack
Building.... Transfer-Decoding stack
Chunked..... Decoder stream created
Chunked..... `2000' chunk size: 2000
Read Socket. 760 bytes read from socket 1248
Read 1Kbytes
Read Socket. 760 bytes read from socket 1248
Read 1Kbytes
Read Socket. 1460 bytes read from socket 1248
Read 1Kbytes
Read Socket. 60 bytes read from socket 1248
Read 1Kbytes
Read Socket. 760 bytes read from socket 1248
Read 1Kbytes
Read Socket. 1520 bytes read from socket 1248
Read 1Kbytes
Read Socket. 1460 bytes read from socket 1248
Read 1Kbytes
Read Socket. 60 bytes read from socket 1248
Read 1Kbytes
Read Socket. 760 bytes read from socket 1248
Read 1Kbytes
Read Socket. 402 bytes read from socket 1248
Read 1Kbytes
Chunked..... `b1 ' chunk size: B1
Chunked..... `0' chunk size: 0
Done!
Read Socket. Target returns 200
Timer....... Created one shot timer 00D51030 with
callback 0026E770, context 00D
522F0, and relative timeout 60000
Chunkstream. FREEING...


And here is the trace for the server that supports
only SSL 2.0 :
Auth Engine. Created module 00D432A0
Rule Add.... For `file:/icons/*' op 2
`file:/usr/local/share/w3c-icons/*'
HTEventInit. Using WinSoc version "WinSock 2.0".
Performing get Request. Uri = https://aolmail.aol.com
ChunkStream. Chunk 00D50570 created with max size 0
HTSimplify.. `https://aolmail.aol.com' into
............ `https://aolmail.aol.com'
Find Parent. 00D50420 with hash 591 and address
`https://aolmail.aol.com' create
d
Auth Engine. Looking up `https://aolmail.aol.com'
Auth Engine. No information
Check rules. for `https://aolmail.aol.com'
PEP Engine.. Looking for info on
`https://aolmail.aol.com'
PEP Engine.. No information
Looking up aolmail.aol.com
HTSSLWriter. Created 00D51490
Socket...... TCP send buffer size is 8192 for socket
1264
Contacting aolmail.aol.com
Buffer...... Flushing 00D51430
HTSSLWriter. SSL returned 1
Event....... Couldn't find socket 1264. Can't
unregister type HTEvent_READ
Event....... Couldn't find socket 1264. Can't
unregister type HTEvent_WRITE
HTSSLReader. FREEING....
HTSSLWriter. FREEING....
Fatal Error: SSLWRITE operation failed (WinSock
reported error=0)
Chunkstream. FREEING...

Moreover, in the second case the function HTSSL_write
in HTSSL works exactly the same period of time (this
period is about two minutes) as the same request in
Internet Explorer with disabled "Perform SSL 2.0" 
option. So it seems that libwww-ssl don't work for
with SSL 2.0. Maybe I mistaken. 
Is anyone have any idea about it?


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Thursday, 23 December 1999 14:09:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT