From owner-freebsd-bugs Thu Aug 29 13: 0:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8716637B408 for ; Thu, 29 Aug 2002 13:00:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19A743E4A for ; Thu, 29 Aug 2002 13:00:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7TK0FJU036887 for ; Thu, 29 Aug 2002 13:00:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7TK0F2P036886; Thu, 29 Aug 2002 13:00:15 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F19FB37B401 for ; Thu, 29 Aug 2002 12:51:10 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90BD743E86 for ; Thu, 29 Aug 2002 12:51:03 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7TJn3OT026752 for ; Thu, 29 Aug 2002 12:49:03 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7TJn3J2026751; Thu, 29 Aug 2002 12:49:03 -0700 (PDT) Message-Id: <200208291949.g7TJn3J2026751@www.freebsd.org> Date: Thu, 29 Aug 2002 12:49:03 -0700 (PDT) From: Ted Mittelstaedt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/42172: ftp and fetch client needs an active command line option now Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42172 >Category: misc >Synopsis: ftp and fetch client needs an active command line option now >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 29 13:00:15 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: 4.6-RELEASE >Organization: Cool Dudes Inc. >Environment: N/A >Description: Several FreeBSD versions ago the ftp client in FreeBSD was modified to default to Passive mode, rather than active mode. This was a good thing because so many FTP sites these days are behind restrictive firewalls that don't permit active FTP. However, the problem is that nobody thought about the -p option. According to the manual, -p means "start in passive mode" This is now unnecessary. Instead, we need an option, such as -c, that makes FTP start in active mode. I'd assume that we want to leave -p in there just to keep anyone's scripts from breaking, even though it now does nothing. Now, I know that most people are going to be saying "so what, all FTP servers support passive mode" but au-contraire, that is not true. I ran across one that ONLY supports ACTIVE mode FTP - it is a network storage device called a "Snap!" server, manufactured by Quantum. The lack of an active switch makes it rather difficult to write scripts that deal with this device. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message