cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl and Axtls

From: André Dantas <andre.dantas_at_lsbd.ufc.br>
Date: Mon, 24 Feb 2014 13:56:29 -0300

I built curl(7.32) with axtls( 1.4.9 ) support. After this, I tried to send
a file to my ftps server( apache with mod_fpt enabled ) using this:

curl -1 -v -T myfile ftps://user:pass_at_ipaddress

*Apache logs:*
...
[Mon Feb 24 13:50:32 2014] [debug] ssl_scache_shmcb.c(393):
ssl_scache_shmcb_retrieve (0xc9 -> subcache 9)
[Mon Feb 24 13:50:32 2014] [debug] ssl_scache_shmcb.c(680): possible match
at idx=0, data=0
[Mon Feb 24 13:50:32 2014] [debug] ssl_scache_shmcb.c(697):
shmcb_subcache_retrieve returning matching session
[Mon Feb 24 13:50:32 2014] [debug] ssl_scache_shmcb.c(408): leaving
ssl_scache_shmcb_retrieve successfully
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1732): Inter-Process
Session Cache: request=GET status=FOUND id=C93ED55836414C8B8AB4298AD3E304
2E5787B6E3B0EC0EFB2DC66C02C4E289AC (session reuse)
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1874): OpenSSL:
Loop: SSLv3 read client hello A
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1874): OpenSSL:
Loop: SSLv3 write server hello A
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1874): OpenSSL:
Loop: SSLv3 write change cipher spec A
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1874): OpenSSL:
Loop: SSLv3 write finished A
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1874): OpenSSL:
Loop: SSLv3 flush data
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1908): OpenSSL: I/O
error, 5 bytes expected to read on BIO#b7c7e210 [mem: b7c6efcb]
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1897): OpenSSL: read 5/5
bytes from BIO#b7c7e210 [mem: b7c6efcb] (BIO dump follows)
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1830):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0000: 15 03 02
00 30 ....0 |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1875):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1897): OpenSSL: read
48/48 bytes from BIO#b7c7e210 [mem: b7c6efd0] (BIO dump follows)
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1830):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0000: e0 fd 38
f0 15 02 98 e4-3e 5b 3a 64 50 83 1c 45 ..8.....>[:dP..E |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0010: 41 22 6e
04 47 7e 41 14-f8 4a ab 36 3d 96 02 42 A"n.G~A..J.6=..B |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0020: a8 96 82
aa 4a 01 2c a3-9f 1a 8e 9a 6b 22 e4 a4 ....J.,.....k".. |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1875):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1879): OpenSSL:
Read: SSL negotiation finished successfully
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1897): OpenSSL: read 5/5
bytes from BIO#b7c69180 [mem: b7c7ebe3] (BIO dump follows)
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1830):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0000: 15 03 02
00 02 ..... |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1875):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1897): OpenSSL: read 2/2
bytes from BIO#b7c69180 [mem: b7c7ebe8] (BIO dump follows)
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1830):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1869): | 0000: 02
28 .( |
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_io.c(1875):
+-------------------------------------------------------------------------+
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1879): OpenSSL:
Read: SSLv3 read finished A
[Mon Feb 24 13:50:32 2014] [debug] ssl_engine_kernel.c(1898): OpenSSL:
Exit: failed in SSLv3 read finished A
[Mon Feb 24 13:50:32 2014] [info] [client 10.102.10.35] SSL library error 1
in handshake (server 127.0.1.1:990)
[Mon Feb 24 13:50:32 2014] [info] SSL Library Error: 336151568
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
[Mon Feb 24 13:50:32 2014] [info] [client 10.102.10.35] Connection closed
to child 3 with abortive shutdown (server 127.0.1.1:990)

*Curl output:*

...150 Opening BINARY mode data connection for CMakeLists.txt
* Doing the SSL/TLS handshake on the data stream
* SSL re-using session ID
State: sending Client Hello (1)
State: receiving Server Hello (2)
Error: invalid handshake
Alert: handshake failure
* Curl_axtls_close
Alert: close notify
Error: invalid handshake
* Curl_axtls_close
  0 0 0 0 0 0 0 0 --:--:-- 0:00:02
--:--:-- 0
* Closing connection 0
* Curl_axtls_close

Can anyone help-me?

best regards,

-- 
*[image: LSBD] <http://www.lsbd.ufc.br/>André
DantasDeveloperGTalk: andre.dantas_at_lsbd.ufc.br
<rodrigo.felix_at_lsbd.ufc.br>Skype: andre.hp.dantas*

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-24