Date: Sun, 27 Feb 2000 01:22:34 -0800 (PST) From: Doug@gorean.org To: FreeBSD-gnats-submit@freebsd.org Subject: bin/17017: [PATCH] [SMALL] Clarify inetd's logging behavior Message-ID: <200002270922.BAA18744@dt051n0b.san.rr.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002270922.BAA18744>