This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: [han.holl@pobox.com] libc/1172: rresvport should avoid well known ports
On Mon, Jun 28, 1999 at 09:34:39AM +0200, Thorsten Kukuk wrote:
>
> You make one mistake: You looked at the RedHats /etc/services version.
> This means, on RedHat 17 ports out of 424 are used. But RedHats
> version is not an official one.
>
Of course each system administrator _knows_ which services he runs.
Systems running obscure services wil have administrators who know
how to edit /etc/services, so as to let enough port free for
dynamically assigned ports. I didn't propose to avoid all reserved ports,
but all reserved ports that are actually configured in /etc/services.
> Look at RFC 1700, nearly all ports are reserved for a service.
>
OK. Could it be that all those services are intended for inetd use ?
In that case all is fine, as long as you start inetd early enough.
If some of these are intended for standalone daemons there is
a problem indeed.
Han