Date: Wed, 10 Jan 2001 23:12:21 +1100 (EST) From: john@pakprotector.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/24218: Tcp_wrappers is missing some syslog facility names. Message-ID: <200101101212.f0ACCLp11358@sentinel.pakprotector.com>
next in thread | raw e-mail | index | archive | help
>Number: 24218
>Category: bin
>Synopsis: Tcp_wrappers is missing some syslog facility names.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 10 04:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: John Saunders
>Release: FreeBSD 4.2-STABLE i386
>Organization:
NORTHLINK COMMUNICATIONS
>Environment:
FreeBSD sentinel.pakprotector.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Jan 3 00:13:09 EST 2001 root@pacer.pakprotector.com:/usr/obj/usr/src/sys/SENTINEL i386
>Description:
The include file /usr/include/syslog.h defines all of the
supported syslog facilities and severity. The tcp_wrappers
package which is linked into inetd (and probably others)
contains textual strings to represent the facilities and
severities for use in the "severity [facility.]severity"
option in /etc/hosts.allow.
However the file /usr/src/contrib/tcp_wrappers/options.c,
which contains these strings, is missing a number of them.
This prevents full control over where tcp_wrapper syslog
messages are sent.
>How-To-Repeat:
N/A.
>Fix:
--- options.c.orig Wed Jan 10 23:08:07 2001
+++ options.c Wed Jan 10 23:10:59 2001
@@ -473,6 +473,18 @@
#ifdef LOG_CRON
"cron", LOG_CRON,
#endif
+#ifdef LOG_AUTHPRIV
+ "authpriv", LOG_AUTHPRIV,
+#endif
+#ifdef LOG_FTP
+ "ftp", LOG_FTP,
+#endif
+#ifdef LOG_NTP
+ "ntp", LOG_NTP,
+#endif
+#ifdef LOG_SECURITY
+ "security", LOG_SECURITY,
+#endif
#ifdef LOG_LOCAL0
"local0", LOG_LOCAL0,
#endif
>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?200101101212.f0ACCLp11358>
