From nobody@FreeBSD.org  Sun Jun 24 16:31:50 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3C0E9106567E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2012 16:31:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id E0AE98FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2012 16:31:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5OGVnV0057603
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2012 16:31:49 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5OGVnm0057602;
	Sun, 24 Jun 2012 16:31:49 GMT
	(envelope-from nobody)
Message-Id: <201206241631.q5OGVnm0057602@red.freebsd.org>
Date: Sun, 24 Jun 2012 16:31:49 GMT
From: Robert Simmons <rsimmons0@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipmon(8) man page refers to a different facility than the one ipmon in FreeBSD logs to
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169377
>Category:       docs
>Synopsis:       [patch] ipmon(8) man page refers to a different facility than the one ipmon in FreeBSD logs to
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 16:40:04 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Jun 24 17:36:25 UTC 2012
>Originator:     Robert Simmons
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD test 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
In the man page, it says that ipmon logs to the facility "security", but in the Handbook it says that ipmon logs to the facility local0.

Testing shows that the Handbook is correct.
>How-To-Repeat:

>Fix:
Here is a patch for the man page.

An alternative fix would be to change the facility in the ipmon code, and change the Handbook.  I chose the path of least resistance.

Patch attached with submission follows:

--- src/contrib/ipfilter/man/ipmon.8.old	2012-06-24 12:25:10.647292853 -0400
+++ src/contrib/ipfilter/man/ipmon.8	2012-06-24 12:25:57.059291939 -0400
@@ -136,8 +136,8 @@
 .TP
 .B \-s
 Packet information read in will be sent through syslogd rather than
-saved to a file.  The default facility when compiled and installed is
-\fBsecurity\fP.  The following levels are used:
+saved to a file.  The default facility in FreeBSD is
+\fBlocal0\fP.  The following levels are used:
 .IP
 .B LOG_INFO
 \- packets logged using the "log" keyword as the action rather


>Release-Note:
>Audit-Trail:
>Unformatted:
