Bug 47093

Summary: FTP(1) man page correction
Product: Documentation Reporter: Mike Erickson <mee>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mike Erickson 2003-01-15 03:10:01 UTC
        The man page for FTP says that it is not in passive mode by default.
        This is incorrect. the client defaults to passive mode operation.

Fix: 

Change the above so say that the default is on.
How-To-Repeat:         Lines 620-1 of ftp.1 read:

     passive     Toggle passive mode.  If passive mode is turned on (default
                 is off), the ftp client will send a PASV command for all data
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2003-01-15 08:32:11 UTC
On 2003-01-14 19:09, mee@invert.com (Mike Erickson) wrote:
> The man page for FTP says that it is not in passive mode by default.
> This is incorrect. The client defaults to passive mode operation.

This is partly correct.  In /etc/login.conf FTP_PASSIVE_MODE is set to
YES, but running ftp(1) without changes in the environment shows that:

	giorgos@gothmog[10:27]/home/giorgos$ ftp
	ftp> pass
	Passive mode: off; fallback to active mode: off.
	ftp> epsv4
	EPSV/EPRT on IPv4 off.

It seems off by default :-(
Comment 2 mee 2003-01-15 08:36:24 UTC
* Giorgos Keramidas (keramida@freebsd.org) wrote:
> On 2003-01-14 19:09, mee@invert.com (Mike Erickson) wrote:
> > The man page for FTP says that it is not in passive mode by default.
> > This is incorrect. The client defaults to passive mode operation.
> 
> This is partly correct.  In /etc/login.conf FTP_PASSIVE_MODE is set to
> YES, but running ftp(1) without changes in the environment shows that:
> 
> 	giorgos@gothmog[10:27]/home/giorgos$ ftp
> 	ftp> pass
> 	Passive mode: off; fallback to active mode: off.
> 	ftp> epsv4
> 	EPSV/EPRT on IPv4 off.
> 
> It seems off by default :-(

Ah, That explains the behavior. I forgot to check my environment first.

Sorry about that.

mike
Comment 3 dannyboy freebsd_committer freebsd_triage 2003-02-08 15:33:44 UTC
State Changed
From-To: open->closed

Manpage seems to be correct.