[comp.protocols.tcp-ip] udp port numbers

cyrus@hi.unm.edu (Tait Cyrus) (04/26/88)

I asked something similar to this last week without ANY responses
so here is a rephrase....

What `rules' does "UN*X like" operating systems use when picking udp
port numbers?  

By watching packets fly around on our network it appears that if both
the source and destination ports are less than 1024, then they have
the meaning specified in RFC 1010 and /etc/services.  If one of the
ports is > 1024, then this is a generic network connect where the port
numbers have no special meaning.  This would be fine if it were not
for NFS which appears to use 1023 and 2049 as port numbers.  NFS
total breaks my idea of > 1024 numbers being generic.  Also, what
does 1022 and 2049 for ports mean?  Is this still NFS or just a
coincidence?

I am trying to `parse' packets and am having a difficult time figuring
out RFC's and UN*X source (SUN 3.2 & BSD 4.3).

Any comments would be appreciated.

-- 
    @__________@    W. Tait Cyrus   (505) 277-0806
   /|         /|    University of New Mexico
  / |        / |    Dept of Electrical & Computer Engineering 
 @__|_______@  |       Parallel Processing Research Group (PPRG)
 |  |       |  |       UNM/LANL Hypercube Project
 |  |  hc   |  |    Albuquerque, New Mexico 87131
 |  @.......|..@    
 | /        | /     e-mail:      
 @/_________@/        cyrus@hc.dspo.gov