Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2012 16:31:49 GMT
From:      Robert Simmons <rsimmons0@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/169377: ipmon(8) man page refers to a different facility than the one ipmon in FreeBSD logs to
Message-ID:  <201206241631.q5OGVnm0057602@red.freebsd.org>
Resent-Message-ID: <201206241640.q5OGe5Hu030792@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169377
>Category:       docs
>Synopsis:       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:
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206241631.q5OGVnm0057602>