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
Hello,
On Sat, Jun 26, Han Holl wrote:
> > Yes. For example as Systemvedor like Sun or as Linux Distributor you
> > should add all reserved numbers to /etc/services. What happens if
> > nearly all numbers are assigned in this range ? The system couldn't
> > boot, you couldn't make queries from a reserved port, ...
> > Your system is unuseable.
> >
> I think you exaggerate: here's the list of tcp ports from the
> /etc/services
> list that came with RedHat 6.0:
>
> npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
> npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
> hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
> kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
> webster 765/tcp # Network dictionary
> kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
> kerberos_master 751/tcp # Kerberos authentication
> krb_prop 754/tcp # Kerberos slave propagation
> krbupdate 760/tcp kreg # Kerberos registration
> kpasswd 761/tcp kpwd # Kerberos "passwd"
> supfilesrv 871/tcp # SUP server
> ssl-ldap 636/tcp # LDAP over SSL
> omirr 808/tcp omirrd # online mirror
> rsync 873/tcp # rsync
> simap 993/tcp # IMAP over SSL
> spop3 995/tcp # POP-3 over SSL
> swat 901/tcp # Add swat service used
> via inetd
>
> That 17 ports out of 424.
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.
Look at RFC 1700, nearly all ports are reserved for a service.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.