From owner-freebsd-bugs Wed Jan 24 11:40:21 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 6C97537B402 for ; Wed, 24 Jan 2001 11:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0OJe2I81541; Wed, 24 Jan 2001 11:40:02 -0800 (PST) (envelope-from gnats) Date: Wed, 24 Jan 2001 11:40:02 -0800 (PST) Message-Id: <200101241940.f0OJe2I81541@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/24610: [PATCH] make inetd log hostnames when specifying -l twice Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24610; it has been noted by GNATS. From: David Malone To: Andre Albsmeier Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24610: [PATCH] make inetd log hostnames when specifying -l twice Date: Wed, 24 Jan 2001 19:11:43 +0000 On Wed, Jan 24, 2001 at 04:20:17PM +0100, Andre Albsmeier wrote: > >Description: > > When specifying -l inetd logs the IP address of succesful connections. > With this patch, the hostname is logged instead of the IP address > when -l is specified twice. I didn't want to do this because it means looking up a hostname in inetd before forking - this can block for some time, which would prevent inetd from starting any more services. You can already look up host names and log them by turning on wrappers with -Ww. If you don't want to do restrict the services available then you can do something like: ALL: UNKNOWN : severity local0.info : allow ALL: ALL : severity local0.info : allow The "UNKNOWN" should force tcpd to look up the host name - otherwise it won't bother. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message