Problems using ftp to pull from Debian mirrors

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Wed, 27 Apr 2011 03:37:57



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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Wed, 27 Apr 2011 03:38:04


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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Wed, 27 Apr 2011 06:00:16



> What is going wrong here?

Huh! My newsreader sat frozen. I restarted it, and hey ... the message it
was waiting to send must have somehow gone through. Hence this is a duplicate
thread.

Mark.

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

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Richard Kettlewel » Wed, 27 Apr 2011 19:25:37



> 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.

- Show quoted text -

Quote:> 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.

- Show quoted text -

Quote:> 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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Fri, 29 Apr 2011 02:16:36



> 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.

Quote:> 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.

Quote:> 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.

Quote:> 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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Marc Habe » Mon, 02 May 2011 02:29:41




>> 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.

Quote:

>> 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

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Chris Davie » Wed, 04 May 2011 23:39:23



> 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.

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

Agreed.

Chris

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Sun, 08 May 2011 06:46:05



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

Why do you think this?

Mark.

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

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Richard Kettlewel » Sun, 08 May 2011 17:15:17




>> 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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Mark Hoble » Sun, 08 May 2011 21:42:36



> 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/

 
 
 

Problems using ftp to pull from Debian mirrors

Post by Richard Kettlewel » Sun, 08 May 2011 21:47:32




>> 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/

 
 
 

1. ftp mirror software -- ? mirror-2.3 and linux

I am looking for some FTP mirroring software that works under linux. I
have had a look at the perl package mirror-2.3, it seems to generate the
error message -

Undefined subroutine "main'__GNUC__" called at /usr/lib/perl4/sys/cdefs.ph
line 70.

When run under slackware 2.1/perl4.036. Does this package work under
linux or are there any alternatives?

Advice much  appreciated

Richard Piper

2. PS2/70, 3COM 3C523, RS6K/AIX3.2, PC-NFS hangs few times a day

3. Unable to mirror OS (Sol10) disk using BIOS Integrated Mirror on SF X4200.

4. apm + acer travelmate 212 tx

5. Unable to mirror OS disk (0) using BIOS Integrated Mirror on SF 4200.

6. HELP: Need print filter primer.

7. Debian installation via FTP using ISDN

8. Lilo does not boot win95

9. Not able to get DEBIAN packages using FTP

10. Redhat 6.1 mirror ftp://ftp.linuxnirvana.com

11. FTP problem using TIS ftp-gw

12. Smoke and Mirrors: mirrored concat / concat mirrors

13. FTP problem about using Win95 ftp