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