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 <stud...@gorean.org>
To: Dag-Erling Smorgrav <d...@flood.ping.uio.no>
CC: freebsd-b...@freebsd.org, freebsd-gnat-sub...@freebsd.org,a...@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 <d...@flood.ping.uio.no>
> To: a...@wnm.net
> Cc: freebsd-gnats-sub...@freebsd.org
> Subject: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf
> Date: 01 Jun 1999 16:26:46 +0200
> 
>  a...@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?
>  
>  r...@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 majord...@freebsd.org
with "unsubscribe freebsd-bugs" in the body of the message


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

Reply via email to