cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: old topic: EPSV vs PASV

From: Guenter <lists_at_gknw.net>
Date: Wed, 05 Feb 2014 23:35:49 +0100

On 05.02.2014 00:18, Daniel Stenberg wrote:
> On Tue, 4 Feb 2014, Guenter wrote:
>
>> I can re-create the problem also with the curl commandline:
>> curl -v -O ftp://skytraq:skytraq@60.250.205.31/ephemeris/Eph.dat
>
> Is it curl's connect back to the new port that fails? When I try it, it
> connects back fine to the server but it never seems to receive any data.
>
> Can you show us a full log of the failure?
see below (ans also attached) - appologies that its an older version,
but its just what ships with the SuSE version of this box:

curl 7.28.1 (x86_64-suse-linux-gnu) libcurl/7.28.1 OpenSSL/1.0.1e
zlib/1.2.7 libidn/1.25 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps
pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL
libz TLS-SRP

#: curl -v -O ftp://skytraq:skytraq@60.250.205.31/ephemeris/Eph.dat

* About to connect() to 60.250.205.31 port 21 (#0)
* Trying 60.250.205.31...
   % Total % Received % Xferd Average Speed Time Time Time
  Current
                                  Dload Upload Total Spent Left
  Speed

   0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0* connected
* Connected to 60.250.205.31 (60.250.205.31) port 21 (#0)

   0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0< 220-FileZilla Server version 0.9.24 beta
< 220-written by Tim Kosse (Tim.Kosse_at_gmx.de)
< 220 Please visit http://sourceforge.net/projects/filezilla/
> USER skytraq
< 331 Password required for skytraq
> PASS skytraq

   0 0 0 0 0 0 0 0 --:--:-- 0:00:01
--:--:-- 0< 230 Logged on
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD ephemeris
< 250 CWD successful. "/ephemeris" is current directory.
> EPSV
* Connect data stream passively

   0 0 0 0 0 0 0 0 --:--:-- 0:00:02
--:--:-- 0< 229 Entering Extended Passive Mode (|||3113|)
* Trying 60.250.205.31...

   0 0 0 0 0 0 0 0 --:--:-- 0:00:03
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:04
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:05
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:06
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:07
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:08
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:09
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:10
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:11
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:12
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:13
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:14
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:15
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:16
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:17
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:18
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:19
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:20
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:21
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:22
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:23
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:24
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:25
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:26
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:27
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:28
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:29
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:30
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:31
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:32
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:33
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:34
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:35
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:36
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:37
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:38
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:39
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:40
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:41
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:42
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:43
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:44
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:45
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:46
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:47
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:48
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:49
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:50
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:51
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:52
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:53
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:54
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:55
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:56
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:57
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:58
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:59
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:00
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:01
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:02
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:03
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:04
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:05
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:06
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:07
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:08
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:09
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:10
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:11
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:12
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:13
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:14
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:15
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:16
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:17
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:18
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:19
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:20
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:21
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:22
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:23
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:24
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:25
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:26
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:27
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:28
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:29
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:30
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:31
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:32
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:33
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:34
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:35
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:36
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:37
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:38
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:39
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:40
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:41
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:42
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:43
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:44
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:45
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:46
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:47
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:48
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:49
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:50
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:51
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:52
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:53
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:54
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:55
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:56
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:57
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:58
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:01:59
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:00
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:01
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:02
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:03
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:04
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:05
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:06
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:07
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:08
--:--:-- 0
   0 0 0 0 0 0 0 0 --:--:-- 0:02:09
--:--:-- 0* Connection timed out
* couldn't connect to host at 60.250.205.31:21
* got positive EPSV response, but can't connect. Disabling EPSV
* Send failure: Connection reset by peer

   0 0 0 0 0 0 0 0 --:--:-- 0:02:09
--:--:-- 0
* Closing connection #0
curl: (55) Send failure: Connection reset by peer

>> also I tested with wget and no issue with the download ...
>
> Does wget even try EPSV?
no idea - I'm not familar with wget's internals, and I used no further
options ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-02-05