From owner-freebsd-hackers Mon Jun 21 11:32:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 1E0D614F59; Mon, 21 Jun 1999 11:32:30 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.1) id UAA58203; Mon, 21 Jun 1999 20:32:09 +0200 (CEST) (envelope-from des) To: Doug Cc: Sheldon Hearn , Doug , freebsd-hackers@FreeBSD.ORG, Dag-Erling Smorgrav , freebsd-gnats-submit@FreeBSD.ORG, alex@wnm.net Subject: Re: [Fwd: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf] References: From: Dag-Erling Smorgrav Date: 21 Jun 1999 20:32:08 +0200 In-Reply-To: Doug's message of "Mon, 21 Jun 1999 11:12:26 -0700 (PDT)" Message-ID: Lines: 31 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug writes: > In my experience, and in the experience of the PR poster it *is* > necessary to use the canonical name of the service, however if you can > check the code, test it thoroughly and determine that inetd works > perfectly well with aliases, then feel free to change the man page for > inetd. Empirical evidence as well as the source code say you're both wrong. The builtin ident service is listed as "ident" in inetd's table over internal services. des@des ~% telnet localhost auth Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. des des:ERROR:HIDDEN-USER Connection closed by foreign host. des@des ~% grep ident /etc/inetd.conf # Return error for all "ident" requests ident stream tcp nowait root internal # example entry for the optional ident server #ident stream tcp wait kmem:kmem /usr/local/sbin/identd identd -w -t120 des@des ~% grep ident /usr/src/usr.sbin/inetd/inetd.c void ident_stream __P((int, struct servtab *)); { "ident", SOCK_STREAM, 1, -1, ident_stream }, ident_stream(s, sep) /* Ident service */ DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message