cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Explicit FTP upload with encrypted data channel block on STOR

From: Denis Sacchet <ouba_at_ouba.org>
Date: Mon, 24 Aug 2009 18:12:22 +0200

> It could be. I just can't see why curl would fail to receive that
> particular response as it uses the same code to receive all the
> response codes and it works fine in all the other cases.
>
> But I realize that it doesn't help a lot, since then comes the obvious
> follow up: why would the server not respond nicely to the STOR command
> that curl sends? I have no idea...
I attach a strace of the process, and it seems to server is waiting for
input from curl ... And not the contrary.

>
>> The message in the log is showing a problem with openssl.
>
> Right, but that was after a control-c right? I mean it could be an
> effect of something (looping) that gets aborted and only because of
> that you get the error.
You are probably right on this part.
>
> Have you tried -2, -3 or -0 to enforce a particular SSL/TLS version in
> the handshaking?
>
Same thing for the three :(

Best regards

Denis

-- 
Denis Sacchet aka. Ouba                     ("`-/")_.-'"``-._
                                             . . `; -._    )-;-,_`)
"Computers are like air conditionners       (v_,)'  _  )`-.\  ``-'
They stop working properly when you        _.- _..-_/ / ((.'
open Windows !!!"                        ((,.-'   ((,/ 

[pid 31649] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
[pid 31649] setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
[pid 31649] bind(5, {sa_family=AF_INET, sin_port=htons(49153), sin_addr=inet_addr("<IP>")}, 16) = 0
[pid 31649] alarm(900) = 1800
[pid 31649] listen(5, 8) = 0
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [1], 4) = 0
[pid 31649] write(1, "\27\3\1\0PE\246\332\355\347\2\224\221h\224\203\372\370\342\273\36\220\262\245\360\267?!TR\366\211\344"..., 85) = 85
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0
[pid 31649] alarm(1800) = 900
[pid 31649] select(1, [0], NULL, NULL, {900, 0}) = 1 (in [0], left {899, 912000})
[pid 31649] read(0, "\27\3\1\0000"..., 5) = 5
[pid 31649] read(0, "\366Gh\333\306\323\202:\374U\327\303\30\341S\274\177\340\333\341\312\20\2Q\326\207\201\\\222\246\312\312u"..., 48) = 48
[pid 31649] time(NULL) = 1251130108
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [1], 4) = 0
[pid 31649] write(1, "\27\3\1\0_at_2\3\227\223{4t\32\315\355\36\306B\206\254T\246F4\345a\3115\26\35\204\266X"..., 69) = 69
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0
[pid 31649] alarm(1800) = 1800
[pid 31649] select(1, [0], NULL, NULL, {900, 0}) = 1 (in [0], left {899, 964000})
[pid 31649] read(0, "\27\3\1\0@"..., 5) = 5
[pid 31649] read(0, "\317]\335\350A\24M4'\264\332\271\207\347\3305\16\252\2022e\7 \246\2645)\36\372\10\23;\373"..., 64) = 64
[pid 31649] stat64("/srv/www/koyaba.sacchet.fr/htdocs/wp-content/uploads/2009/09/20090806-lezoo-001.jpg", {st_mode=S_IFREG|0640, st_size=312406, ...}) = 0
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [1], 4) = 0
[pid 31649] write(1, "\27\3\1\0000\316'\"\261\17\r\20y\10\3763\r\24D\244\363\215\230\356\277\311Y\235\224i\5\370G"..., 53) = 53
[pid 31649] setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0
[pid 31649] alarm(1800) = 1800
[pid 31649] select(1, [0], NULL, NULL, {900, 0}) = 1 (in [0], left {899, 964000})
[pid 31649] read(0, "\27\3\1\0000"..., 5) = 5
[pid 31649] read(0, "\306O#\36\357tt\255\371\355.\271,\272\336\275\353\343\255\317m\373%:\323\305\357)!\241\222\345\37"..., 48) = 48
[pid 31649] open("/srv/www/koyaba.sacchet.fr/htdocs/wp-content/uploads/2009/09/20090806-lezoo-001.jpg", O_RDONLY|O_LARGEFILE) = 7
[pid 31649] fstat64(7, {st_mode=S_IFREG|0640, st_size=312406, ...}) = 0
[pid 31649] alarm(900) = 1800
[pid 31649] select(6, [5], NULL, NULL, {900, 0}) = 1 (in [5], left {900, 0})
[pid 31649] accept(5, {sa_family=AF_INET, sin_port=htons(50883), sin_addr=inet_addr("88.167.233.160")}, [16]) = 8
[pid 31649] setsockopt(8, SOL_IP, IP_TOS, [8], 4) = 0
[pid 31649] setsockopt(8, SOL_SOCKET, SO_SNDBUF, [65536], 4) = 0
[pid 31649] setsockopt(8, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
[pid 31649] setsockopt(8, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 31649] time(NULL) = 1251130108
[pid 31649] brk(0x817f000) = 0x817f000
[pid 31649] read(8, ^C <unfinished ...>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-08-24