Home | History | Annotate | Line # | Download | only in etc
services revision 1.34
      1 #	$NetBSD: services,v 1.34 2000/04/26 16:28:17 tron Exp $
      2 #
      3 # Network services, Internet style
      4 #
      5 # Note that it is presently the policy of IANA to assign a single well-known
      6 # port number for both TCP and UDP; hence, most entries here have two entries
      7 # even if the protocol doesn't support UDP operations.
      8 # Updated from RFC 1340, ``Assigned Numbers'' (July 1992).  Not all ports
      9 # are included, only the more common ones.
     10 #
     11 #	from: @(#)services	8.2 (Berkeley) 3/26/95
     12 #
     13 tcpmux		1/tcp		# TCP port multiplexer (RFC1078)
     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
     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		# File Transfer Protocol
     29 ssh		22/tcp		# Secure Shell
     30 ssh		22/udp
     31 telnet		23/tcp
     32 # 24 - private
     33 smtp		25/tcp		mail
     34 # 26 - unassigned
     35 time		37/tcp		timserver
     36 time		37/udp		timserver
     37 rlp		39/udp		resource	# resource location
     38 nameserver	42/tcp		name		# IEN 116
     39 whois		43/tcp		nicname
     40 domain		53/tcp		# name-domain server
     41 domain		53/udp
     42 mtp		57/tcp				# deprecated
     43 bootps		67/tcp		# BOOTP server
     44 bootps		67/udp
     45 bootpc		68/tcp		# BOOTP client
     46 bootpc		68/udp
     47 tftp		69/udp		# Trivial File Transfer Protocol
     48 gopher		70/tcp		# Internet Gopher
     49 gopher		70/udp
     50 rje		77/tcp		netrjs
     51 finger		79/tcp
     52 www		80/tcp		http	# WorldWideWeb HTTP
     53 www		80/udp			# HyperText Transfer Protocol
     54 link		87/tcp		ttylink
     55 kerberos	88/tcp		krb5	# Kerberos v5
     56 kerberos	88/udp
     57 supdup		95/tcp
     58 # 100 - reserved
     59 hostnames	101/tcp		hostname	# usually from sri-nic
     60 iso-tsap	102/tcp		tsap		# part of ISODE.
     61 csnet-ns	105/tcp		cso-ns	# also used by CSO name server
     62 csnet-ns	105/udp		cso-ns
     63 rtelnet		107/tcp		# Remote Telnet
     64 rtelnet		107/udp
     65 pop2		109/tcp		postoffice	# POP version 2
     66 pop2		109/udp
     67 pop3		110/tcp		# POP version 3
     68 pop3		110/udp
     69 sunrpc		111/tcp		# Remote Procedure Call
     70 sunrpc		111/udp
     71 auth		113/tcp		authentication tap ident
     72 sftp		115/tcp
     73 uucp-path	117/tcp
     74 nntp		119/tcp		readnews untp	# USENET News Transfer Protocol
     75 ntp		123/tcp
     76 ntp		123/udp				# Network Time Protocol
     77 netbios-ns	137/tcp				# NETBIOS Name Service
     78 netbios-ns	137/udp
     79 netbios-dgm	138/tcp				# NETBIOS Datagram Service
     80 netbios-dgm	138/udp
     81 netbios-ssn	139/tcp				# NETBIOS session service
     82 netbios-ssn	139/udp
     83 imap	143/tcp		imap2 imap4	# Internet Message Access Protocol
     84 imap	143/udp		imap2 imap4
     85 snmp		161/udp				# Simple Net Mgmt Proto
     86 snmp-trap	162/udp		snmptrap	# Traps for SNMP
     87 cmip-man	163/tcp				# ISO mgmt over IP (CMOT)
     88 cmip-man	163/udp
     89 cmip-agent	164/tcp
     90 cmip-agent	164/udp
     91 mailq		174/tcp				# zmailer MTA
     92 xdmcp		177/tcp				# X Display Mgr. Control Proto
     93 xdmcp		177/udp
     94 nextstep	178/tcp		NeXTStep NextStep	# NeXTStep window
     95 nextstep	178/udp		NeXTStep NextStep	# server
     96 bgp		179/tcp				# Border Gateway Proto.
     97 bgp		179/udp
     98 prospero	191/tcp				# Cliff Neuman's Prospero
     99 prospero	191/udp
    100 irc		194/tcp				# Internet Relay Chat
    101 irc		194/udp
    102 smux		199/tcp				# SNMP Unix Multiplexer
    103 smux		199/udp
    104 at-rtmp		201/tcp				# AppleTalk routing
    105 at-rtmp		201/udp
    106 at-nbp		202/tcp				# AppleTalk name binding
    107 at-nbp		202/udp
    108 at-echo		204/tcp				# AppleTalk echo
    109 at-echo		204/udp
    110 at-zis		206/tcp				# AppleTalk zone information
    111 at-zis		206/udp
    112 z3950		210/tcp		wais		# NISO Z39.50 database
    113 z3950		210/udp		wais
    114 ipx		213/tcp				# IPX
    115 ipx		213/udp
    116 imap3		220/tcp				# Interactive Mail Access
    117 imap3		220/udp				# Protocol v3
    118 ulistserv	372/tcp				# UNIX Listserv
    119 ulistserv	372/udp
    120 nip		376/tcp				# Amiga Envoy Net Inquiry Prot.
    121 nip		376/udp				# Amiga Envoy Net Inquiry Prot.
    122 ldap		389/tcp			# Lightweight Directory Access Protocol
    123 ldap		389/udp			# Lightweight Directory Access Protocol
    124 
    125 #
    126 # UNIX specific services
    127 #
    128 exec		512/tcp				# Remote execution
    129 biff		512/udp		comsat		# Biff the dog
    130 login		513/tcp				# Remote login
    131 who		513/udp		whod		# Remote who
    132 shell		514/tcp		cmd		# Remote command shell
    133 syslog		514/udp				# System logger
    134 printer		515/tcp		spooler		# line printer spooler
    135 talk		517/udp				# Talk protocols
    136 ntalk		518/udp
    137 route		520/udp		router routed	# RIP
    138 timed		525/udp		timeserver
    139 tempo		526/tcp		newdate
    140 courier		530/tcp		rpc
    141 conference	531/tcp		chat
    142 netnews		532/tcp
    143 netwall		533/udp				# -for emergency broadcasts
    144 uucp		540/tcp		uucpd		# uucp daemon
    145 rdist		541/tcp		rdistd		# rdist daemon
    146 afpovertcp	548/tcp				# AppleshareIP protocol
    147 afpovertcp	548/udp				# AppleshareIP protocol
    148 remotefs	556/tcp		rfs_server rfs	# Brunhoff remote filesystem
    149 #
    150 webster		765/tcp				# Network dictionary
    151 webster		765/udp
    152 
    153 #
    154 # Various SSL services
    155 #
    156 https		443/tcp			# http protocol over TLS/SSL
    157 https		443/udp			# http protocol over TLS/SSL
    158 nntps		563/tcp			# nntp protocol over TLS/SSL (was snntp)
    159 nntps		563/udp			# nntp protocol over TLS/SSL (was snntp)
    160 ldaps		636/tcp			# ldap protocol over TLS/SSL (was sldap)
    161 ldaps		636/udp			# ldap protocol over TLS/SSL (was sldap)
    162 ftps-data	989/tcp			# ftp protocol, data, over TLS/SSL
    163 ftps-data	989/udp			# ftp protocol, data, over TLS/SSL
    164 ftps		990/tcp			# ftp protocol, control, over TLS/SSL
    165 ftps		990/udp			# ftp protocol, control, over TLS/SSL
    166 telnets		992/tcp			# telnet protocol over TLS/SSL
    167 telnets		992/udp			# telnet protocol over TLS/SSL
    168 imaps		993/tcp			# imap4 protocol over TLS/SSL
    169 imaps		993/udp			# imap4 protocol over TLS/SSL
    170 ircs		994/tcp			# irc protocol over TLS/SSL
    171 ircs		994/udp			# irc protocol over TLS/SSL
    172 pop3s		995/tcp			# pop3 protocol over TLS/SSL (was spop3)
    173 pop3s		995/udp			# pop3 protocol over TLS/SSL (was spop3)
    174 
    175 #
    176 # From ``Assigned Numbers'':
    177 #
    178 #> The Registered Ports are not controlled by the IANA and on most systems
    179 #> can be used by ordinary user processes or programs executed by ordinary
    180 #> users.
    181 #
    182 #> Ports are used in the TCP [45,106] to name the ends of logical
    183 #> connections which carry long term conversations.  For the purpose of
    184 #> providing services to unknown callers, a service contact port is
    185 #> defined.  This list specifies the port used by the server process as its
    186 #> contact port.  While the IANA can not control uses of these ports it
    187 #> does register or list uses of these ports as a convienence to the
    188 #> community.
    189 #
    190 ingreslock	1524/tcp
    191 ingreslock	1524/udp
    192 prospero-np	1525/tcp		# Prospero non-privileged
    193 prospero-np	1525/udp
    194 cvspserver	2401/tcp
    195 cvspserver	2401/udp
    196 rfe		5002/tcp		# Radio Free Ethernet
    197 rfe		5002/udp		# Actually uses UDP only
    198 
    199 #
    200 # Kerberos (Project Athena/MIT) services
    201 # Note that these are for Kerberos v4, and are unofficial.
    202 #
    203 klogin		543/tcp			# Kerberos `rlogin'
    204 kshell		544/tcp		krcmd	# Kerberos `rsh'
    205 kerberos-adm	749/tcp			# Kerberos `kadmin' (v5)
    206 kerberos4	750/udp		kdc	# Kerberos (server) udp
    207 kerberos4	750/tcp		kdc	# Kerberos (server) tcp
    208 kerberos-master	751/udp			# Kerberos admin server udp
    209 kerberos-master	751/tcp			# Kerberos admin server tcp
    210 krbupdate	760/tcp		kreg	# BSD Kerberos registration
    211 kpasswd		761/tcp		kpwd	# BSD Kerberos `passwd'
    212 eklogin		2105/tcp		# Kerberos encrypted `rlogin'
    213 
    214 #
    215 # Unofficial but necessary (for NetBSD) services
    216 #
    217 supfilesrv	871/tcp			# SUP server
    218 supfiledbg	1127/tcp		# SUP debugging
    219 
    220 #
    221 # other common ports
    222 #
    223 nfs		2049/udp	nfsd	# Sun NFS
    224 nfs		2049/tcp	nfsd	# Sun NFS
    225 X11		6000/tcp		# X Window System
    226 ircd		6667/tcp		# Often used IRC port (also see 194)
    227 hunt		26740/udp		# multi-player/multi-host maze-wars
    228 
    229 #
    230 # Netatalk (in-kernel Appletalk) services
    231 # Note: The running kernel must be configured with "options NETATALK"
    232 # and software not included in NetBSD, such as Netatalk version 1.4b2
    233 # or later, must be used to take advantage of these services.
    234 #
    235 rtmp		1/ddp			# Routing Table Maintenance Protocol
    236 nbp		2/ddp			# Name Binding Protocol
    237 echo		4/ddp			# AppleTalk Echo Protocol
    238 zip		6/ddp			# Zone Information Protocol
    239