From owner-freebsd-questions Mon Feb 8 23:13:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16985 for freebsd-questions-outgoing; Mon, 8 Feb 1999 23:13:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta2-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16980 for ; Mon, 8 Feb 1999 23:13:05 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990209071406.DTZY678125.mta2-rme@wocker> for ; Tue, 9 Feb 1999 20:14:06 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@FreeBSD.ORG Date: Tue, 9 Feb 1999 20:13:29 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: passive ftp mode problem when running mirror Reply-to: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990209071406.DTZY678125.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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