Bug 186154

Summary: Error found in pf section of handbook
Product: Documentation Reporter: rsimmons0
Component: Books & ArticlesAssignee: Warren Block <wblock>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description rsimmons0 2014-01-27 03:20:00 UTC
The handbook page mentions that adding the line:
ftpproxy_flags=""
to rc.conf will enable ftpproxy. This is incorrect. The following line must be added for this to work correctly:
ftpproxy_enable="YES"

This is from the instructions in /etc/defaults/rc.conf
ftpproxy_enable="NO"            # Set to YES to enable ftp-proxy(8) for pf

Fix: patch attached

Patch attached with submission follows:
How-To-Repeat: Try each line and see if ftpproxy is enabled.
Comment 1 Warren Block freebsd_committer freebsd_triage 2014-01-27 12:22:25 UTC
Responsible Changed
From-To: freebsd-doc->wblock

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-27 12:36:21 UTC
Author: wblock
Date: Mon Jan 27 12:36:13 2014
New Revision: 43660
URL: http://svnweb.freebsd.org/changeset/doc/43660

Log:
  Correct the instructions on enabling ftp-proxy.
  
  PR:		docs/186154
  Submitted by:	Robert Simmons <rsimmons0@gmail.com>

Modified:
  head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml	Mon Jan 27 11:14:50 2014	(r43659)
+++ head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml	Mon Jan 27 12:36:13 2014	(r43660)
@@ -904,7 +904,7 @@ pass from { lo0, $localnet } to any keep
 	  <para>To enable &man.ftp-proxy.8;, add this line to
 	    <filename>/etc/rc.conf</filename>:</para>
 
-	  <programlisting>ftpproxy_flags=""</programlisting>
+	  <programlisting>ftpproxy_enable="YES"</programlisting>
 
 	  <para>Starting the proxy manually by running
 	    <command>/usr/sbin/ftp-proxy</command> allows testing of
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 3 Warren Block freebsd_committer freebsd_triage 2014-01-27 12:36:30 UTC
State Changed
From-To: open->closed

Committed, thanks!