Date: Mon, 13 Nov 2000 17:50:02 -0500 (EST) From: Chris Richards <richards+bsd@CS.Princeton.EDU> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/22828: patch to enable use of LOG_SECURITY in ipfilter Message-ID: <200011132250.eADMo2n07186@weeta.princeton.edu>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011132250.eADMo2n07186>
