Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 1999 08:02:14 -0700
From:      Doug <Studded@gorean.org>
To:        freebsd-hackers@freebsd.org
Subject:   [Fwd: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf]
Message-ID:  <376E53F6.B12C1629@gorean.org>

next in thread | raw e-mail | index | archive | help
	Since y'all are discussing inetd.conf, here is something else to consider.

Doug

-------- Original Message --------
Subject: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf
Date: Wed, 16 Jun 1999 12:55:43 -0700 (PDT)
From: Studded <Studded@gorean.org>
To: Dag-Erling Smorgrav <des@flood.ping.uio.no>
CC: freebsd-bugs@FreeBSD.org, freebsd-gnat-submit@FreeBSD.org,alex@wnm.net

On Wed, 2 Jun 1999, Dag-Erling Smorgrav wrote:

> The following reply was made to PR misc/11796; it has been noted by GNATS.
> 
> From: Dag-Erling Smorgrav <des@flood.ping.uio.no>
> To: alex@wnm.net
> Cc: freebsd-gnats-submit@FreeBSD.ORG
> Subject: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf
> Date: 01 Jun 1999 16:26:46 +0200
> 
>  alex@wnm.net writes:
>  > The default /etc/inetd.conf contains commented out lines for enabling
>  > identd. Both relevant lines refer to the 'ident' service, which is,
>  > according to /etc/services, really 'auth', as it should be.
>  
>  Oh?
>  
>  root@des ~# grep -w 113 /etc/services  
>  auth            113/tcp    ident tap    #Authentication Service
>  auth            113/udp    ident tap    #Authentication Service

>  Works just fine, thank you very much :)

	The man page for identd says in part,

 The service-name entry is the name of a valid service in the file
/etc/services. For ``internal'' services (discussed below), the
service name must be the official name of the service (that is, the first
entry in /etc/services). 

	Therefore the first entry should definitely be changed. The second
entry in the inetd.conf file is for a non-internal identd daemon, but some
versions of the software are more picky than others, and the fact that one
of them might "work" doesn't mean that the configuration file isn't in
error. 

	At minimum the following patch should be applied. Ideally you
would add a comment to the fact that the two entries in inetd.conf are
mutually exclusive. 

Thanks,

Doug

--- inetd.conf.Dist	Sun May  9 06:31:40 1999
+++ inetd.conf	Wed Jun 16 12:49:51 1999
@@ -65,11 +65,11 @@
 #
 # Return error for all "ident" requests
 #
-#ident	stream	tcp	nowait	root	internal
+#auth	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
+#auth	stream	tcp	wait	kmem:kmem	/usr/local/sbin/identd	identd -w -t120
 #
 # example entry for the optional qmail MTA
 #



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?376E53F6.B12C1629>