From owner-freebsd-bugs Mon Nov 13 15: 0: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E733F37B4C5 for ; Mon, 13 Nov 2000 15:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA97539; Mon, 13 Nov 2000 15:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from weeta.princeton.edu (richards.student.Princeton.EDU [140.180.155.233]) by hub.freebsd.org (Postfix) with ESMTP id C14BD37B479 for ; 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 Reply-To: Chris Richards To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/22828: patch to enable use of LOG_SECURITY in ipfilter Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22828 >Category: bin >Synopsis: patch to enable use of LOG_SECURITY in ipfilter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 13 15:00:01 PST 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message