From nobody@FreeBSD.org  Mon Jan 27 03:18:34 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id EBDB5A00
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jan 2014 03:18:34 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id D9A3317E9
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jan 2014 03:18:34 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0R3IYdi002806
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jan 2014 03:18:34 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0R3IYwk002802;
	Mon, 27 Jan 2014 03:18:34 GMT
	(envelope-from nobody)
Message-Id: <201401270318.s0R3IYwk002802@oldred.freebsd.org>
Date: Mon, 27 Jan 2014 03:18:34 GMT
From: Robert Simmons <rsimmons0@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Error found in pf section of handbook
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186154
>Category:       docs
>Synopsis:       Error found in pf section of handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wblock
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 27 03:20:00 UTC 2014
>Closed-Date:    Mon Jan 27 12:36:46 UTC 2014
>Last-Modified:  Mon Jan 27 12:40:00 UTC 2014
>Originator:     Robert Simmons
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD example 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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
>How-To-Repeat:
Try each line and see if ftpproxy is enabled.
>Fix:
patch attached

Patch attached with submission follows:

--- chapter.xml.old	2014-01-27 03:08:11.000000000 +0000
+++ chapter.xml	2014-01-27 03:09:10.000000000 +0000
@@ -904,7 +904,7 @@
 	  <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


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->wblock 
Responsible-Changed-By: wblock 
Responsible-Changed-When: Mon Jan 27 12:22:25 UTC 2014 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186154 
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Mon Jan 27 12:36:30 UTC 2014 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186154 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/186154: commit references a PR
Date: Mon, 27 Jan 2014 12:36:21 +0000 (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"
 
>Unformatted:
