From owner-freebsd-stable@FreeBSD.ORG Fri Oct 17 14:50:04 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D7316A4B3 for ; Fri, 17 Oct 2003 14:50:04 -0700 (PDT) Received: from bsdi.dv.isc.org (c211-29-163-60.carlnfd2.nsw.optusnet.com.au [211.29.163.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 624A543FDF for ; Fri, 17 Oct 2003 14:50:03 -0700 (PDT) (envelope-from marka@isc.org) Received: from bsdi.dv.isc.org (localhost.dv.isc.org [127.0.0.1]) by bsdi.dv.isc.org (8.12.9/8.12.9) with ESMTP id h9HLo10o074631; Sat, 18 Oct 2003 07:50:02 +1000 (EST) (envelope-from marka@bsdi.dv.isc.org) Message-Id: <200310172150.h9HLo10o074631@bsdi.dv.isc.org> To: Brandon Fosdick From: Mark.Andrews@isc.org In-reply-to: Your message of "Fri, 17 Oct 2003 14:23:39 MST." <3F905DDB.8050703@lmco.com> Date: Sat, 18 Oct 2003 07:50:01 +1000 Sender: marka@isc.org cc: "Scot W. Hetzel" cc: freebsd-stable@freebsd.org Subject: Re: ftp/fetch "command not understood" on stable and current X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 21:50:04 -0000 > Mark.Andrews@isc.org wrote: > >>Why does it say "command not understood"? > > > > > > Look at both sides of the ftp transaction. > > > > e.g. > > "ftp -d" > > It seems to be entering passive mode despite the fact that > FTP_MASSIVE_MODE=NO and the non-understood commands appear to be FEAT > and EPSV, but that doesn't tell me anything. Both of these are newer ftp commands. A quick RFC search will tell you what both of these do. > 14:19 bfoz@svlw3380c0m~>ftp -d > ftp> o ftp.freebsd.org > Trying 2001:4f8:0:2::e... > Trying 204.152.184.73... > Connected to ftp.freebsd.org. > 220 freebsd.isc.org FTP server ready. > ftp_login: user `' pass `' host `ftp.freebsd.org' > Name (ftp.freebsd.org:bfoz): anonymous > ---> USER anonymous > 331 Guest login ok, send your complete e-mail address as password. > Password: > ---> PASS XXXX > 230- > 230-You have reached freebsd.isc.org/ftp.freebsd.org. > 230- > 230- > 230- > 230-This server is operated by Internet Software Consortium (ISC), > 230-on behalf of the FreeBSD Project, and is serving the full > 230-FreeBSD FTP archive via IPv4 and IPv6. > 230- > 230 Guest login ok, access restrictions apply. > ---> SYST > 215 UNIX Type: L8 Version: BSD-199506 > Remote system type is UNIX. > Using binary mode to transfer files. > ---> FEAT > 500 command not understood > features[0] = 0 > features[1] = -1 > features[2] = -1 > features[3] = -1 > features[4] = -1 > features[5] = -1 > ---> PWD > 257 "/" is current directory. > got remotepwd as `/' > ftp> ls > ---> EPSV > 500 command not understood > disabling epsv4 for this connection > ---> PASV > 227 Entering Passive Mode (204,152,184,73,148,128) > ---> PORT 129,197,81,219,192,86 > 200 PORT command successful. > ---> LIST > 150 Opening ASCII mode data connection for directory listing. > total 8 > drwxrwxr-x 3 root root 512 Apr 17 2003 pub > 226 Transfer complete. > ftp> > -- Mark Andrews, Internet Software Consortium 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org