Doug <d...@gorean.org> 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.

d...@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.
d...@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
d...@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 - d...@flood.ping.uio.no


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

Reply via email to