From owner-freebsd-bugs Wed Jan 10 4:20:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D701137B404 for ; Wed, 10 Jan 2001 04:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0ACK2f50503; Wed, 10 Jan 2001 04:20:02 -0800 (PST) (envelope-from gnats) Received: from nhj.nlc.net.au (nhj.nlc.net.au [203.24.133.1]) by hub.freebsd.org (Postfix) with SMTP id 868F237B400 for ; Wed, 10 Jan 2001 04:12:33 -0800 (PST) Received: (qmail 20718 invoked from network); 10 Jan 2001 23:12:31 +1100 Received: from pacer.nlc.net.au (HELO sentinel.pakprotector.com) (203.24.133.16) by hub.freebsd.org with SMTP; 10 Jan 2001 23:12:31 +1100 Received: (from john@localhost) by sentinel.pakprotector.com (8.11.1/8.11.1) id f0ACCLp11358; Wed, 10 Jan 2001 23:12:21 +1100 (EST) (envelope-from john) Message-Id: <200101101212.f0ACCLp11358@sentinel.pakprotector.com> Date: Wed, 10 Jan 2001 23:12:21 +1100 (EST) From: john@pakprotector.com Reply-To: john@pakprotector.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24218: Tcp_wrappers is missing some syslog facility names. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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