Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #234 > unrolled thread

Problems using ftp to pull from Debian mirrors

Started byMark Hobley <markhobley@yahoo.donottypethisbit.co>
First post2011-04-25 18:37 +0000
Last post2011-05-07 13:47 +0100
Articles 9 — 4 participants

Back to article view | Back to comp.os.linux.networking


Contents

  Problems using ftp to pull from Debian mirrors Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-04-25 18:37 +0000
    Re: Problems using ftp to pull from Debian mirrors Richard Kettlewell <rjk@greenend.org.uk> - 2011-04-26 11:25 +0100
      Re: Problems using ftp to pull from Debian mirrors Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-04-27 17:16 +0000
        Re: Problems using ftp to pull from Debian mirrors Marc Haber <mh+usenetspam1002@zugschl.us> - 2011-04-30 19:29 +0200
          Re: Problems using ftp to pull from Debian mirrors Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-03 15:39 +0100
          Re: Problems using ftp to pull from Debian mirrors Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-06 21:46 +0000
            Re: Problems using ftp to pull from Debian mirrors Richard Kettlewell <rjk@greenend.org.uk> - 2011-05-07 09:15 +0100
              Re: Problems using ftp to pull from Debian mirrors Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-07 12:42 +0000
                Re: Problems using ftp to pull from Debian mirrors Richard Kettlewell <rjk@greenend.org.uk> - 2011-05-07 13:47 +0100

#234 — Problems using ftp to pull from Debian mirrors

FromMark Hobley <markhobley@yahoo.donottypethisbit.co>
Date2011-04-25 18:37 +0000
SubjectProblems using ftp to pull from Debian mirrors
Message-ID<ip4f23$r7r$1@dont-email.me>
Here are two attempts from a UK debian mirror:

ftp ftp.uk.debian.org
Connected to debian.hands.com.
220 (vsFTPd 2.0.7)
Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd debian/pool
250 Directory successfully changed.
ftp> ls
500 Illegal PORT command.
ftp: bind: Address already in use
ftp> ls
421 Service not available, remote server has closed connection ftp> quit

I'll try again:

ftp ftp.uk.debian.org
Connected to debian.hands.com.
220 (vsFTPd 2.0.7)
Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd debian/pool
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV. 150 Here comes the
directory listing.

The computer sits waiting at this point and the directory listing never
appears.

I try a third time. The results are the same as above.

As a forth attempt, I try things differently:

ftp ftp.uk.debian.org
Connected to debian.hands.com.
220 (vsFTPd 2.0.7)
Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> passive
Passive mode on.
ftp> cd /debian/pool
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (83,142,228,128,159,5) 150 Here comes the
directory listing. 
drwxr-xr-x   38 1069     1072         4096 Dec 15  2009 contrib 
drwxr-xr-x   62 1069     1072         4096 Apr 14 22:32 main
drwxr-xr-x   40 1069     1072         4096 Feb 14 23:03 non-free
226 Directory send OK.
ftp> cd main
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (83,142,228,128,28,92) ftp: connect: Connection
timed out

What is going wrong here?

Mark.

-- 
Mark Hobley
Linux User: #370818  http://markhobley.yi.org/

[toc] | [next] | [standalone]


#238

FromRichard Kettlewell <rjk@greenend.org.uk>
Date2011-04-26 11:25 +0100
Message-ID<87zkndpavy.fsf@araminta.anjou.terraraq.org.uk>
In reply to#234
Mark Hobley <markhobley@yahoo.donottypethisbit.co> writes:

> Here are two attempts from a UK debian mirror:
>
> ftp ftp.uk.debian.org
> Connected to debian.hands.com.
> 220 (vsFTPd 2.0.7)
> Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
> Password:
> 230 Login successful.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> cd debian/pool
> 250 Directory successfully changed.
> ftp> ls
> 500 Illegal PORT command.
> ftp: bind: Address already in use
> ftp> ls
> 421 Service not available, remote server has closed connection ftp> quit

You can probably use 'debug' to get the client to report the commands
it's sending to the server.

> I'll try again:
>
> ftp ftp.uk.debian.org
> Connected to debian.hands.com.
> 220 (vsFTPd 2.0.7)
> Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
> Password:
> 230 Login successful.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> cd debian/pool
> 250 Directory successfully changed.
> ftp> ls
> 200 PORT command successful. Consider using PASV. 150 Here comes the
> directory listing.
>
> The computer sits waiting at this point and the directory listing never
> appears.

At a guess you have a firewall blocking the connection back from the
server.

> I try a third time. The results are the same as above.
>
> As a forth attempt, I try things differently:
>
> ftp ftp.uk.debian.org
> Connected to debian.hands.com.
> 220 (vsFTPd 2.0.7)
> Name (ftp.uk.debian.org:mark): anonymous 331 Please specify the password.
> Password:
> 230 Login successful.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> passive
> Passive mode on.
> ftp> cd /debian/pool
> 250 Directory successfully changed.
> ftp> ls
> 227 Entering Passive Mode (83,142,228,128,159,5) 150 Here comes the
> directory listing. 
> drwxr-xr-x   38 1069     1072         4096 Dec 15  2009 contrib 
> drwxr-xr-x   62 1069     1072         4096 Apr 14 22:32 main
> drwxr-xr-x   40 1069     1072         4096 Feb 14 23:03 non-free
> 226 Directory send OK.
> ftp> cd main
> 250 Directory successfully changed.
> ftp> ls
> 227 Entering Passive Mode (83,142,228,128,28,92) ftp: connect: Connection
> timed out
>
> What is going wrong here?

Perhaps the server is broken or overloaded, or perhaps your firewall is
so strict it won't even allow some outbound connections.

If you just wanted a particular file, rather than to debug insane file
transfer protocols from the dawn of time, use http instead.

-- 
http://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#241

FromMark Hobley <markhobley@yahoo.donottypethisbit.co>
Date2011-04-27 17:16 +0000
Message-ID<ip9j1i$edm$1@dont-email.me>
In reply to#238
On Tue, 26 Apr 2011 11:25:37 +0100, Richard Kettlewell wrote:

> You can probably use 'debug' to get the client to report the commands
> it's sending to the server.

Ok. I will look at that.

> At a guess you have a firewall blocking the connection back from the
> server.

I am connected via routers that utilize network address translation
technology.

> Perhaps the server is broken or overloaded, or perhaps your firewall is
> so strict it won't even allow some outbound connections.

I don't know. The external router is an Edimax 3G-6200n, if that matters.

> If you just wanted a particular file, rather than to debug insane file
> transfer protocols from the dawn of time, use http instead.

I can do that, but I actually prefer ftp, and I would like to try and get
ftp working.

Mark.

-- 
Mark Hobley
Linux User: #370818  http://markhobley.yi.org/

[toc] | [prev] | [next] | [standalone]


#245

FromMarc Haber <mh+usenetspam1002@zugschl.us>
Date2011-04-30 19:29 +0200
Message-ID<iphgu5$e3q$1@news1.tnib.de>
In reply to#241
Mark Hobley <markhobley@yahoo.donottypethisbit.co> wrote:
>On Tue, 26 Apr 2011 11:25:37 +0100, Richard Kettlewell wrote:
>> At a guess you have a firewall blocking the connection back from the
>> server.
>
>I am connected via routers that utilize network address translation
>technology.

That "technology" is a quirk which needs special support for ftp.
Which is not present in most el cheapo routers.

>
>> If you just wanted a particular file, rather than to debug insane file
>> transfer protocols from the dawn of time, use http instead.
>
>I can do that, but I actually prefer ftp, and I would like to try and get

ftp refuses to die. But is should. Quickly.

Greetings
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

[toc] | [prev] | [next] | [standalone]


#246

FromChris Davies <chris-usenet@roaima.co.uk>
Date2011-05-03 15:39 +0100
Message-ID<rlg598x8rv.ln2@news.roaima.co.uk>
In reply to#245
Marc Haber <mh+usenetspam1002@zugschl.us> wrote:
> That "technology" [NAT] is a quirk which needs special support for ftp.
> Which is not present in most el cheapo routers.

Unfortunately I've found enough of the "special support" in many cheapo
routers for them to comprehensively mangle the protocol beyond use.

> ftp refuses to die. But is should. Quickly.

Agreed.

Chris

[toc] | [prev] | [next] | [standalone]


#251

FromMark Hobley <markhobley@yahoo.donottypethisbit.co>
Date2011-05-06 21:46 +0000
Message-ID<iq1q6s$kjb$1@dont-email.me>
In reply to#245
On Sat, 30 Apr 2011 19:29:41 +0200, Marc Haber wrote:
> 
> ftp refuses to die. But is should. Quickly.

Why do you think this?

Mark.

-- 
Mark Hobley
Linux User: #370818  http://markhobley.yi.org/

[toc] | [prev] | [next] | [standalone]


#252

FromRichard Kettlewell <rjk@greenend.org.uk>
Date2011-05-07 09:15 +0100
Message-ID<87bozfsz8q.fsf@araminta.anjou.terraraq.org.uk>
In reply to#251
Mark Hobley <markhobley@yahoo.donottypethisbit.co> writes:
> On Sat, 30 Apr 2011 19:29:41 +0200, Marc Haber wrote:

>> ftp refuses to die. But is should. Quickly.
> Why do you think this?

Because other protocols achieve the same ends more simply, efficiently,
securely and reliably.

-- 
http://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#253

FromMark Hobley <markhobley@yahoo.donottypethisbit.co>
Date2011-05-07 12:42 +0000
Message-ID<iq3en9$g1v$1@dont-email.me>
In reply to#252
On Sat, 07 May 2011 09:15:17 +0100, Richard Kettlewell wrote:

> Because other protocols achieve the same ends more simply, efficiently,
> securely and reliably.

I have used ftp for years without a problem. It is only this last year that
things have become broken.

Either something has happened to apt-get or a server side bug has been
introduced into vsftpd.

I wonder if there is a Debian mirror that uses different ftp software server
side.

Mark.

-- 
Mark Hobley
Linux User: #370818  http://markhobley.yi.org/

[toc] | [prev] | [next] | [standalone]


#254

FromRichard Kettlewell <rjk@greenend.org.uk>
Date2011-05-07 13:47 +0100
Message-ID<87aaeyy8wr.fsf@araminta.anjou.terraraq.org.uk>
In reply to#253
Mark Hobley <markhobley@yahoo.donottypethisbit.co> writes:
> On Sat, 07 May 2011 09:15:17 +0100, Richard Kettlewell wrote:

>> Because other protocols achieve the same ends more simply, efficiently,
>> securely and reliably.
>
> I have used ftp for years without a problem. It is only this last year
> that things have become broken.

"unreliably" doesn't mean "it never works", it means "it sometimes
fails".  Evidently you've lately run into the 'sometimes'!

-- 
http://www.greenend.org.uk/rjk/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web