From owner-freebsd-bugs Sun Feb 27 1:30: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 13CB437B5F8 for ; Sun, 27 Feb 2000 01:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA41061; Sun, 27 Feb 2000 01:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id D2C7837B5DD for ; Sun, 27 Feb 2000 01:22:35 -0800 (PST) (envelope-from doug@dt051n0b.san.rr.com) Received: (from doug@localhost) by dt051n0b.san.rr.com (8.9.3/8.9.3) id BAA18744; Sun, 27 Feb 2000 01:22:34 -0800 (PST) (envelope-from doug) Message-Id: <200002270922.BAA18744@dt051n0b.san.rr.com> Date: Sun, 27 Feb 2000 01:22:34 -0800 (PST) From: Doug@gorean.org Reply-To: Doug@gorean.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17017: [PATCH] [SMALL] Clarify inetd's logging behavior Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17017 >Category: bin >Synopsis: [PATCH] [SMALL] Clarify inetd's logging behavior >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 27 01:30:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Doug >Release: FreeBSD 3.4-STABLE-0219 i386 >Organization: AAAG >Environment: FreeBSD systems with the builtin libwrap >Description: The inetd.8 man page is not clear about how, where, and under what circumstances connections and attempts are logged. This patch clarifies it. >How-To-Repeat: man inetd >Fix: Apply the following patch. This patch applies to both -Current and -Stable, in both the CVS and reality. :) Index: inetd.8 =================================================================== RCS file: /usr/ncvs/src/usr.sbin/inetd/inetd.8,v retrieving revision 1.44 diff -u -r1.44 inetd.8 --- inetd.8 2000/01/28 10:21:19 1.44 +++ inetd.8 2000/02/27 09:15:08 @@ -505,10 +505,19 @@ .Pp When given the .Fl l -option +option, and in the absence of the +.Fl -w +and +.Fl -W +options, .Nm will log an entry to syslog each time a connection is accepted, noting the service selected and the IP-number of the remote requestor if available. +Unless otherwise specified in the configuration file +.Nm +will log to the +.Dq daemon +facility. .Pp The .Nm @@ -539,12 +548,9 @@ .Dq internal services will be wrapped. If both options are given, wrapping for both internal and external services will be enabled. -.Pp -If the -.Fl l -option is specified, all connection attempts are logged, whether they are -allowed, denied or not wrapped at all. Otherwise, only denied requests will -be logged. +Either wrapping option will cause all connections to be logged to the +.Dq auth +syslog facility. .Pp Note that .Nm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message