Bug 16134

Summary: Command line FTP clients should default to PASV transfers not PORT transfers
Product: [Retired] Red Hat Linux Reporter: Chris Evans <chris>
Component: ftpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: notting, pbrown, rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-17 08:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Evans 2000-08-14 00:21:06 UTC
The subject says it all really.
Both /usr/bin/ftp and /usr/kerberos/bin/ftp are affected.
I guess I'd better explain why I'd like this changed ;-)
Check out http://cr.yp.to/ftp/security.html for a succint summary of the
relevant details.
.
NOTE that most other RedHat shipped FTP clients pick the better PASV
default. Some examples are: gFTP, Netscape, NcFTP

Comment 1 Phil Knirsch 2000-08-16 10:11:21 UTC
As of RFC1123 (Requirements for Internet Hosts -- Application and Support,
October 1989) every FTP MUST implement the PASV command, and as pointed out,
PORT is really not save.

Therefore i've changed the default behaviour of the command line ftp client to
be in passive mode and the -p option will still work, although won't do much
anymore.

The change is reflected in the usage and manpages as well.

Comment 2 Nalin Dahyabhai 2000-08-16 19:54:53 UTC
The version of ftp from /usr/kerberos/bin has now had its behavior changed as
well.

Comment 3 Chris Evans 2000-08-16 23:16:48 UTC
Guys, superb effort and turnaround time.
One clarification to make
It seems Netscape defaults to PORT not PASV.
I think the "PASV default" is Mozilla.
gFTP and NcFTP use PASV default as I said.

Comment 4 Bill Nottingham 2000-08-16 23:21:20 UTC
Oh well. Netscape is netscape, and there isn't anything we
can do about it. :(

Comment 5 Chris Evans 2001-02-08 15:22:52 UTC
Actually.. it looks like even netscape defaults to PASV

All the important FTP clients now default to PASV. This is
very cool in combination with the new "high security" firewall option.