From owner-freebsd-stable@FreeBSD.ORG Fri Oct 17 14:23:52 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 DDED016A4B3 for ; Fri, 17 Oct 2003 14:23:52 -0700 (PDT) Received: from mailgw2a.lmco.com (mailgw2a.lmco.com [192.91.147.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B90E143FBD for ; Fri, 17 Oct 2003 14:23:51 -0700 (PDT) (envelope-from brandon.h.fosdick@lmco.com) Received: from emss01g01.ems.lmco.com (emss01g01.ems.lmco.com [129.197.181.54]) by mailgw2a.lmco.com (8.11.6p2/8.11.6) with ESMTP id h9HLNos02030; Fri, 17 Oct 2003 17:23:50 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1 #40643) id <0HMX008017FNIQ@lmco.com>; Fri, 17 Oct 2003 14:23:48 -0700 (PDT) Received: from lmco.com ([129.197.81.219]) by lmco.com (PMDF V6.1-1 #40643) with ESMTP id <0HMX000LA7FF18@lmco.com>; Fri, 17 Oct 2003 14:23:39 -0700 (PDT) Date: Fri, 17 Oct 2003 14:23:39 -0700 From: Brandon Fosdick In-reply-to: <200310172058.h9HKwV0o074263@bsdi.dv.isc.org> To: Mark.Andrews@isc.org Message-id: <3F905DDB.8050703@lmco.com> Organization: Lockheed Martin MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030817 References: <200310172058.h9HKwV0o074263@bsdi.dv.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:23:53 -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. 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>