Path: utzoo!dciem!nrcaer!scs!spl1!laidbak!att!pacbell!lll-tis!lll-winken!lll-lcc!wiltzius
From: wiltzius@lll-lcc.aRpA (Dave P. Wiltzius)
Newsgroups: comp.protocols.tcp-ip
Subject: UDP reserved ports
Message-ID: <1683@lll-lcc.aRpA>
Date: 2 Jun 88 00:25:57 GMT
Article-I.D.: lll-lcc.1683
Reply-To: wiltzius@lll-crg.UUCP (Dave P. Wiltzius)
Organization: CRG, Lawrence Livermore Labs
Lines: 14


I believe this was discussed here a while back, but I would
like to know how daemons (such as TFTPD or FTPD) get their
reserved UDP or TCP port (as specified in RFC 1010 if I recall
correctly).  That is, the port for TFTP is 69 (dex) as per
RFC 1010.  The TFTP client therefore sends packets to the
destination host with UDP port number 69 - which the TFTP
daemon on that host should subsequently receive since it
listens on UDP port 69.

How does it acquire UDP port 69?  Directions to appropriate
BSD code would be most welcome.

Thank you.
  Dave (wiltzius@lll-lcc.llnl.gov)