Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

181 lines
5.4 KiB

  1. #
  2. # Network services, Internet style
  3. #
  4. # Note that it is presently the policy of IANA to assign a single well-known
  5. # port number for both TCP and UDP; hence, most entries here have two entries
  6. # even if the protocol doesn't support UDP operations.
  7. # Updated from RFC 1340, ``Assigned Numbers'' (July 1992). Not all ports
  8. # are included, only the more common ones.
  9. #
  10. # from: @(#)services 5.8 (Berkeley) 5/9/91
  11. # $Id: services,v 1.1.1.1 1995/10/18 08:37:57 deraadt Exp $
  12. #
  13. tcpmux 1/tcp # TCP port service multiplexer
  14. echo 7/tcp
  15. echo 7/udp
  16. discard 9/tcp sink null
  17. discard 9/udp sink null
  18. systat 11/tcp users
  19. daytime 13/tcp
  20. daytime 13/udp
  21. netstat 15/tcp
  22. qotd 17/tcp quote
  23. msp 18/tcp # message send protocol
  24. msp 18/udp # message send protocol
  25. chargen 19/tcp ttytst source
  26. chargen 19/udp ttytst source
  27. ftp-data 20/tcp # default ftp data port
  28. ftp 21/tcp
  29. # 22 - unassigned
  30. telnet 23/tcp
  31. # 24 - private
  32. smtp 25/tcp mail
  33. # 26 - unassigned
  34. time 37/tcp timserver
  35. time 37/udp timserver
  36. rlp 39/udp resource # resource location
  37. nameserver 42/tcp name # IEN 116
  38. whois 43/tcp nicname
  39. domain 53/tcp nameserver # name-domain server
  40. domain 53/udp nameserver
  41. mtp 57/tcp # deprecated
  42. bootps 67/tcp # BOOTP server
  43. bootps 67/udp
  44. bootpc 68/tcp # BOOTP client
  45. bootpc 68/udp
  46. tftp 69/udp
  47. gopher 70/tcp # Internet Gopher
  48. gopher 70/udp
  49. rje 77/tcp netrjs
  50. finger 79/tcp
  51. www 80/tcp http # WorldWideWeb HTTP
  52. www 80/udp # HyperText Transfer Protocol
  53. link 87/tcp ttylink
  54. kerberos 88/tcp krb5 # Kerberos v5
  55. kerberos 88/udp
  56. supdup 95/tcp
  57. # 100 - reserved
  58. hostnames 101/tcp hostname # usually from sri-nic
  59. iso-tsap 102/tcp tsap # part of ISODE.
  60. csnet-ns 105/tcp cso-ns # also used by CSO name server
  61. csnet-ns 105/udp cso-ns
  62. rtelnet 107/tcp # Remote Telnet
  63. rtelnet 107/udp
  64. pop2 109/tcp postoffice # POP version 2
  65. pop2 109/udp
  66. pop3 110/tcp # POP version 3
  67. pop3 110/udp
  68. sunrpc 111/tcp
  69. sunrpc 111/udp
  70. auth 113/tcp authentication tap ident
  71. sftp 115/tcp
  72. uucp-path 117/tcp
  73. nntp 119/tcp readnews untp # USENET News Transfer Protocol
  74. ntp 123/tcp
  75. ntp 123/udp # Network Time Protocol
  76. netbios-ns 137/tcp # NETBIOS Name Service
  77. netbios-ns 137/udp
  78. netbios-dgm 138/tcp # NETBIOS Datagram Service
  79. netbios-dgm 138/udp
  80. netbios-ssn 139/tcp # NETBIOS session service
  81. netbios-ssn 139/udp
  82. imap2 143/tcp # Interim Mail Access Proto v2
  83. imap2 143/udp
  84. snmp 161/udp # Simple Net Mgmt Proto
  85. snmp-trap 162/udp snmptrap # Traps for SNMP
  86. cmip-man 163/tcp # ISO mgmt over IP (CMOT)
  87. cmip-man 163/udp
  88. cmip-agent 164/tcp
  89. cmip-agent 164/udp
  90. xdmcp 177/tcp # X Display Mgr. Control Proto
  91. xdmcp 177/udp
  92. nextstep 178/tcp NeXTStep NextStep # NeXTStep window
  93. nextstep 178/udp NeXTStep NextStep # server
  94. bgp 179/tcp # Border Gateway Proto.
  95. bgp 179/udp
  96. prospero 191/tcp # Cliff Neuman's Prospero
  97. prospero 191/udp
  98. irc 194/tcp # Internet Relay Chat
  99. irc 194/udp
  100. smux 199/tcp # SNMP Unix Multiplexer
  101. smux 199/udp
  102. at-rtmp 201/tcp # AppleTalk routing
  103. at-rtmp 201/udp
  104. at-nbp 202/tcp # AppleTalk name binding
  105. at-nbp 202/udp
  106. at-echo 204/tcp # AppleTalk echo
  107. at-echo 204/udp
  108. at-zis 206/tcp # AppleTalk zone information
  109. at-zis 206/udp
  110. z3950 210/tcp wais # NISO Z39.50 database
  111. z3950 210/udp wais
  112. ipx 213/tcp # IPX
  113. ipx 213/udp
  114. imap3 220/tcp # Interactive Mail Access
  115. imap3 220/udp # Protocol v3
  116. ulistserv 372/tcp # UNIX Listserv
  117. ulistserv 372/udp
  118. #
  119. # UNIX specific services
  120. #
  121. exec 512/tcp
  122. biff 512/udp comsat
  123. login 513/tcp
  124. who 513/udp whod
  125. shell 514/tcp cmd # no passwords used
  126. syslog 514/udp
  127. printer 515/tcp spooler # line printer spooler
  128. talk 517/udp
  129. ntalk 518/udp
  130. route 520/udp router routed # RIP
  131. timed 525/udp timeserver
  132. tempo 526/tcp newdate
  133. courier 530/tcp rpc
  134. conference 531/tcp chat
  135. netnews 532/tcp readnews
  136. netwall 533/udp # -for emergency broadcasts
  137. uucp 540/tcp uucpd # uucp daemon
  138. remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
  139. #
  140. webster 765/tcp # Network dictionary
  141. webster 765/udp
  142. #
  143. # From ``Assigned Numbers'':
  144. #
  145. #> The Registered Ports are not controlled by the IANA and on most systems
  146. #> can be used by ordinary user processes or programs executed by ordinary
  147. #> users.
  148. #
  149. #> Ports are used in the TCP [45,106] to name the ends of logical
  150. #> connections which carry long term conversations. For the purpose of
  151. #> providing services to unknown callers, a service contact port is
  152. #> defined. This list specifies the port used by the server process as its
  153. #> contact port. While the IANA can not control uses of these ports it
  154. #> does register or list uses of these ports as a convienence to the
  155. #> community.
  156. #
  157. ingreslock 1524/tcp
  158. ingreslock 1524/udp
  159. prospero-np 1525/tcp # Prospero non-privileged
  160. prospero-np 1525/udp
  161. rfe 5002/tcp # Radio Free Ethernet
  162. rfe 5002/udp # Actually uses UDP only
  163. #
  164. #
  165. # Kerberos (Project Athena/MIT) services
  166. # Note that these are for Kerberos v4, and are unofficial. Sites running
  167. # v4 should uncomment these and comment out the v5 entries above.
  168. #
  169. klogin 543/tcp # Kerberos `rlogin'
  170. kshell 544/tcp krcmd # Kerberos `rsh'
  171. kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
  172. #kerberos 750/udp kdc # Kerberos (server) udp
  173. #kerberos 750/tcp kdc # Kerberos (server) tcp
  174. krbupdate 760/tcp kreg # Kerberos registration
  175. kpasswd 761/tcp kpwd # Kerberos `passwd'
  176. eklogin 2105/tcp # Kerberos encrypted `rlogin'
  177. #
  178. # Unofficial but necessary (for NetBSD) services
  179. #
  180. supfilesrv 871/tcp # SUP server
  181. supfiledbg 1127/tcp # SUP debugging