]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow service alias names from /etc/services to be used when specifying
authorsheldonh <sheldonh@FreeBSD.org>
Fri, 2 Jul 1999 16:21:13 +0000 (16:21 +0000)
committersheldonh <sheldonh@FreeBSD.org>
Fri, 2 Jul 1999 16:21:13 +0000 (16:21 +0000)
commit60d229e604f6fdbe9921b44b59b82b2469286d78
tree8a077082da0e7f40743198ac8c083b46840a1cba
parent70faa23160a0584ce70fafd64bc4ab63f6b859e0
Allow service alias names from /etc/services to be used when specifying
internal services in inetd.conf .

The inetd(8) manpage used to say that the official name of a service
_must_ be used, yet inetd itself was hardcoded to used a service alias for
the auth service, namely ident!

Rather than change inetd.conf and break existing configurations on next
upgrade, we now allow service aliases as well as official names. This
allows the software to work as expected and still support existing
configurations.

This should not breaking existing wrapped configurations either and the
inetd(8) manpage already states that it is the service name specified in
inetd.conf that is used for calls to hosts_access(3).

PR: 11796
Reported by: Alex Charalabidis <alex@wnm.net>
Approved by: des
usr.sbin/inetd/inetd.8
usr.sbin/inetd/inetd.c