Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 20:13:29 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        freebsd-questions@FreeBSD.ORG
Subject:   passive ftp mode problem when running mirror
Message-ID:  <19990209071406.DTZY678125.mta2-rme@wocker>

next in thread | raw e-mail | index | archive | help
I'm trying to use mirror to set up an ftp mirror.  However, I'm having 
trouble getting the data.  I'm behind a firewall so I set 
"passive_ftp=true" in mirror.defaults.  I have tried this with and without 
the firewall rules in place.  The results do not vary.

Of note is the failure to enter passive mode.  See below for "Cannot open 
pasv ftp".  This probably explains why the LIST fails.

What is causing this failure to enter passive mode?  What options do I 
have?

cheers.

Here is a slightly condensed version of what I'm getting:

[root@ns:/usr/local/mirror] # ./mirror -n packages/ftp.au.freebsd.org 
lchat.pl: using hardwired in network constantants at lchat.pl line 
90package=fb-rel ftp.au.freebsd.org:/pub/FreeBSD/releases -> 
/var/ftp/FreeBSD/releases
ftp timeout set to 300
Scanning local directory /var/ftp/FreeBSD/releases
/var/ftp/FreeBSD/releases no such directory - creating it
Connecting to ftp.au.freebsd.org
220-
220- Welcome to Mirror.AARNet.EDU.AU in Australia
220-
220 Mirror.AARNet FTP server ready.
login as anonymous
---> USER anonymous
331 Guest login ok, send your complete e-mail address as password.
---> PASS <somestring>
230-
230- Welcome to Mirror.AARNet.EDU.AU in sunny Brisbane, located at the
230- Prentice Centre, University of Queensland, Australia.
****[stuff snipped]
230 Guest login ok, access restrictions apply.
---> REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
Can do restarts
---> TYPE I
200 Type set to I.
Scanning remote directory /pub/FreeBSD/releases
---> CWD /pub/FreeBSD/releases
250-Please read the file README.TXT
250-  it was last modified on Sun Jan 17 12:42:00 1999 - 23 days ago
250 CWD command successful.
---> TYPE A
200 Type set to A.
---> PASV
227 Entering Passive Mode (203,22,86,145,205,28)
Cannot open pasv ftp to ftp.au.freebsd.org
---> LIST -lRat
****[insert long pause here]
425 Can't open data connection.
Cannot get remote directory listing because: 425 Can't open data 
connection.
Cannot get remote directory details (/pub/FreeBSD/releases)
disconnecting from ftp.au.freebsd.org
---> QUIT



--
Dan Langille
The FreeBSD Diary
http://www.FreeBSDDiary.com/freebsd

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990209071406.DTZY678125.mta2-rme>