From richards@weeta.princeton.edu  Mon Nov 13 14:50:04 2000
Return-Path: <richards@weeta.princeton.edu>
Received: from weeta.princeton.edu (richards.student.Princeton.EDU [140.180.155.233])
	by hub.freebsd.org (Postfix) with ESMTP id C14BD37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 Nov 2000 14:50:03 -0800 (PST)
Received: (from richards@localhost)
	by weeta.princeton.edu (8.11.1/8.11.1) id eADMo2n07186;
	Mon, 13 Nov 2000 17:50:02 -0500 (EST)
	(envelope-from richards)
Message-Id: <200011132250.eADMo2n07186@weeta.princeton.edu>
Date: Mon, 13 Nov 2000 17:50:02 -0500 (EST)
From: Chris Richards <richards+bsd@CS.Princeton.EDU>
Sender: richards@weeta.princeton.edu
Reply-To: Chris Richards <richards+bsd@CS.Princeton.EDU>
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch to enable use of LOG_SECURITY in ipfilter
X-Send-Pr-Version: 3.2

>Number:         22828
>Category:       bin
>Synopsis:       patch to enable use of LOG_SECURITY in ipfilter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 13 15:00:01 PST 2000
>Closed-Date:    Mon Jul 30 16:02:03 PDT 2001
>Last-Modified:  Mon Jul 30 16:02:37 PDT 2001
>Originator:     Chris Richards
>Release:        FreeBSD 4.2-BETA i386
>Organization:
>Environment:

	

>Description:

	The present ipf does not recognize the LOG_SECURITY syslog facility.

>How-To-Repeat:

	Try to specify a rule using "log level security.info" or similar.

>Fix:

	Apply the following patch.

Index: facpri.c
===================================================================
RCS file: /home/ncvs/src/contrib/ipfilter/facpri.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 facpri.c
--- facpri.c	2000/05/24 02:14:11	1.1.1.2
+++ facpri.c	2000/11/13 22:40:31
@@ -55,6 +55,9 @@
 #else
 	{ "cron2", LOG_CRON2 },
 #endif
+#ifdef	LOG_SECURITY
+	{ "security", LOG_SECURITY },
+#endif
 	{ "local0", LOG_LOCAL0 },	{ "local1", LOG_LOCAL1 },
 	{ "local2", LOG_LOCAL2 },	{ "local3", LOG_LOCAL3 },
 	{ "local4", LOG_LOCAL4 },	{ "local5", LOG_LOCAL5 },

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Tue Nov 14 00:11:01 PST 2000 
Responsible-Changed-Why:  
Darren is the person in charge of ipfilter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22828 
State-Changed-From-To: open->feedback 
State-Changed-By: darrenr 
State-Changed-When: Wed Feb 21 13:15:28 PST 2001 
State-Changed-Why:  
patch applied to ipfilter, will come in with next import 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22828 
State-Changed-From-To: feedback->closed 
State-Changed-By: darrenr 
State-Changed-When: Mon Jul 30 16:02:03 PDT 2001 
State-Changed-Why:  
3.4.20 includes this patch and is now in -STABLE and -CURRENT 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22828 
>Unformatted:
