yes, my customer use my application but for this test, i use
OverbyteIcsSslFtpTst.exe on the customer's pc.

Is it the _same_ OverbyteIcsSslFtpTst.exe?

No,
i've compiled OverbyteIcsSslFtpTst and OverbyteIcsSslFtpTst and i make a test. now i've copy SslContext from HTTP and past into Ftp but i've already the error.
at the end i past the log.



I'm asking because your client_hello size is 90 bytes
however my test with the original OverbyteIcsSslFtpTst demo and
OSSL 0.9.8e sent a 88 bytes client_hello, this looks like a different
different option set in SslContext.

can you send me your compiled demo and dll?
i hope that i can solve the problem because i need to work on ssl layer.

best regards
daniele barbato

PS: i send you an email.


12.29.18.266 ! HighLevelAsync 0
12.29.18.276 TWSocket will connect to xxxxxx:21
12.29.18.306 00A7A350 TryToSend 232
12.29.18.306 00A7A350 TriggerDataSent 232
12.29.18.547 >|220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------|

12.29.18.547 >|220-You are user number 73 of 80 allowed.|

12.29.18.547 >|220-Local time is now 12:29. Server port: 21.|

12.29.18.547 >|220-IPv6 connections are also welcome on this server.|

12.29.18.547 >|220 You will be disconnected after 20 minutes of inactivity.|

12.29.18.557 ! HighLevelAsync 0
12.29.18.557 00A7A350 PutDataInSendBuffer 232  len 10 [1]
12.29.18.557 00A7A350 TryToSend 232
12.29.18.557 00A7A350 TryToSend 232
12.29.18.557 00A7A350 TriggerDataSent 232
12.29.18.667 >|234 AUTH TLS OK.|

12.29.18.667 00A7A350 StartSslHandshake 232
12.29.18.867 00A7A350 InitSSLConnection 232
12.29.18.867 00A7A350 BIO_ctrl(sslbio, BIO_C_SET_SSL, BIO_NOCLOSE, 0x11952B0) = 1 [2]
12.29.18.867 ICB> SSL_CB_HANDSHAKE_START
12.29.18.867 ICB> SSL_connect: before/connect initialization
12.29.18.867 ICB> SSL_connect: SSLv2/v3 write client hello A
12.29.18.867 ICB> SSL_connect: error in SSLv2/v3 read server hello A
12.29.18.867 00A7A350 BIO_read(sslbio, 0x1, 0) = -1   [3]
12.29.18.867 00A7A350 BIO_should_retry(sslbio) = 1   [4]
12.29.18.867 00A7A350 TriggerEvent sslFdRead 232
12.29.18.867 00A7A350 TriggerEvent sslFdWrite 232
12.29.18.877 SslAsyncSelect 232, 1 FD_READ
12.29.18.877 00A7A350 TCustomSslWSocket.Do_FD_READ 232
12.29.18.877 00A7A350 BIO_ctrl_get_read_request(nbio) = 7   [5]
12.29.18.877 00A7A350 Winsock recv( 232, 0x12DD1C, 7, 0) = -1   [6]
12.29.18.877 00A7A350 TriggerEvents 232 SslState: SSL_ST_INIT // MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0 bAllSent=-1
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 90   [7]
12.29.18.877 00A7A350 BIO_ctrl_get_write_guarantee(nbio) = 4096   [8]
12.29.18.877 SslAsyncSelect 232, 2 FD_WRITE
12.29.18.877 00A7A350 TCustomSslWSocket.Do_FD_WRITE 232
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 90   [9]
12.29.18.877 00A7A350 BIO_read(nbio, 0x12BD3C, 90) = 90   [10]
12.29.18.877 00A7A350 my_RealSend (0xE8, 1228092, 90) = 90   [11]
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [12]
12.29.18.877 00A7A350 TriggerEvents 232 SslState: SSL_ST_INIT // MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0 bAllSent=-1
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [13]
12.29.18.877 00A7A350 BIO_ctrl_get_write_guarantee(nbio) = 4096   [14]
12.29.18.877 00A7A350 TCustomSslWSocket.Do_FD_WRITE 232
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [15]
12.29.18.877 00A7A350 BIO_read(nbio, 0x12BD3C, 0) = 0   [16]
12.29.18.877 00A7A350 TriggerEvents 232 SslState: SSL_ST_INIT // MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0 bAllSent=-1
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [17]
12.29.18.877 00A7A350 BIO_ctrl_get_write_guarantee(nbio) = 4096   [18]
12.29.18.877 00A7A350 TCustomSslWSocket.Do_FD_WRITE 232
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [19]
12.29.18.877 00A7A350 BIO_read(nbio, 0x12BD3C, 0) = 0   [20]
12.29.18.877 00A7A350 TriggerEvents 232 SslState: SSL_ST_INIT // MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0 bAllSent=-1
12.29.18.877 00A7A350 BIO_ctrl_pending(nbio) = 0   [21]
12.29.18.877 00A7A350 BIO_ctrl_get_write_guarantee(nbio) = 4096   [22]
12.29.18.987 00A7A350 TCustomSslWSocket.Do_FD_READ 232
12.29.18.987 00A7A350 BIO_ctrl_get_read_request(nbio) = 7   [23]
12.29.18.987 00A7A350 Winsock recv( 232, 0x12DD38, 7, 0) = 7   [24]
12.29.18.987 00A7A350 BIO_write(nbio, 0x12DD38, 7) = 7   [25]
12.29.18.987 00A7A350 BIO_ctrl(nbio, BIO_CTRL_FLUSH, 0, 0x0) = 1   [26]
12.29.18.987 ICB> SSL3 alert read fatal unknown
12.29.18.987 ICB> SSL_connect: error in SSLv2/v3 read server hello A
12.29.18.987 00A7A350 BIO_read(sslbio, 0x1, 0) = -1   [27]
12.29.18.987 00A7A350 BIO_should_retry(sslbio) = 0   [28]
12.29.18.987 00A7A350 232 [29] error:14077447:SSL routines:SSL23_GET_SERVER_HELLO:reason(1095)
12.29.18.987 00A7A350 TriggerEvent sslFdClose 232
12.29.18.987 00A7A350 NetworkError #10053
12.29.18.987 SslAsyncSelect 232, 32 FD_CLOSE
12.29.18.987 00A7A350 TCustomSslWSocket.Do_FD_CLOSE error #0 232
12.29.18.987 00A7A350 *CloseCalled 232
12.29.18.987 00A7A350 SslHandshakeDone(1) 232. Secure connection with Unknown, cipher Unknown, 0 secret bits (0 total), session reused=False
12.29.18.987 00A7A350 FCloseInvoked=0 232
12.29.18.987 00A7A350 ResetSslSession 232


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to