services revision 1.60
1#	$NetBSD: services,v 1.60 2002/12/16 10:48:59 pooka 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# The latest IANA list is available from:
11#	http://www.iana.org/assignments/port-numbers
12#
13#	from: @(#)services	8.2 (Berkeley) 3/26/95
14#
15tcpmux		1/tcp		# TCP port multiplexer (RFC1078)
16echo		7/tcp
17echo		7/udp
18discard		9/tcp		sink null
19discard		9/udp		sink null
20systat		11/tcp		users
21daytime		13/tcp
22daytime		13/udp
23netstat		15/tcp
24qotd		17/tcp		quote
25msp		18/tcp		# message send protocol
26msp		18/udp
27chargen		19/tcp		ttytst source
28chargen		19/udp		ttytst source
29ftp-data	20/tcp		# default ftp data port
30ftp		21/tcp		# File Transfer Protocol
31ssh		22/tcp		# Secure Shell
32ssh		22/udp
33telnet		23/tcp
34# 24 - private
35smtp		25/tcp		mail
36# 26 - unassigned
37time		37/tcp		timserver
38time		37/udp		timserver
39rlp		39/udp		resource	# resource location
40nameserver	42/tcp		name		# IEN 116
41whois		43/tcp		nicname
42domain		53/tcp		# name-domain server
43domain		53/udp
44mtp		57/tcp				# deprecated
45bootps		67/tcp		# BOOTP server
46bootps		67/udp
47bootpc		68/tcp		# BOOTP client
48bootpc		68/udp
49tftp		69/udp		# Trivial File Transfer Protocol
50gopher		70/tcp		# Internet Gopher
51gopher		70/udp
52rje		77/tcp		netrjs
53finger		79/tcp
54www		80/tcp		http	# WorldWideWeb HTTP
55www		80/udp			# HyperText Transfer Protocol
56link		87/tcp		ttylink
57kerberos	88/tcp		krb5	# Kerberos v5
58kerberos	88/udp
59supdup		95/tcp
60# 100 - reserved
61hostnames	101/tcp		hostname	# usually from sri-nic
62iso-tsap	102/tcp		tsap		# part of ISODE.
63csnet-ns	105/tcp		cso-ns	# also used by CSO name server
64csnet-ns	105/udp		cso-ns
65poppass		106/tcp		poppassd
66rtelnet		107/tcp		# Remote Telnet
67rtelnet		107/udp
68pop2		109/tcp		postoffice	# POP version 2
69pop2		109/udp
70pop3		110/tcp		# POP version 3
71pop3		110/udp
72sunrpc		111/tcp		rpcbind		# Remote Procedure Call
73sunrpc		111/udp		rpcbind
74auth		113/tcp		authentication tap ident
75sftp		115/tcp
76uucp-path	117/tcp
77nntp		119/tcp		readnews untp	# USENET News Transfer Protocol
78erpc		121/udp			# Encore Expedited Remote Pro.Call
79ntp		123/tcp
80ntp		123/udp				# Network Time Protocol
81netbios-ns	137/tcp				# NETBIOS Name Service
82netbios-ns	137/udp
83netbios-dgm	138/tcp				# NETBIOS Datagram Service
84netbios-dgm	138/udp
85netbios-ssn	139/tcp				# NETBIOS session service
86netbios-ssn	139/udp
87imap	143/tcp		imap2 imap4	# Internet Message Access Protocol
88imap	143/udp		imap2 imap4
89snmp		161/udp				# Simple Net Mgmt Proto
90snmp-trap	162/udp		snmptrap	# Traps for SNMP
91cmip-man	163/tcp				# ISO mgmt over IP (CMOT)
92cmip-man	163/udp
93cmip-agent	164/tcp
94cmip-agent	164/udp
95mailq		174/tcp				# zmailer MTA
96xdmcp		177/tcp				# X Display Mgr. Control Proto
97xdmcp		177/udp
98nextstep	178/tcp		NeXTStep NextStep	# NeXTStep window
99nextstep	178/udp		NeXTStep NextStep	# server
100bgp		179/tcp				# Border Gateway Proto.
101bgp		179/udp
102prospero	191/tcp				# Cliff Neuman's Prospero
103prospero	191/udp
104irc		194/tcp				# Internet Relay Chat
105irc		194/udp
106smux		199/tcp				# SNMP Unix Multiplexer
107smux		199/udp
108at-rtmp		201/tcp				# AppleTalk routing
109at-rtmp		201/udp
110at-nbp		202/tcp				# AppleTalk name binding
111at-nbp		202/udp
112at-echo		204/tcp				# AppleTalk echo
113at-echo		204/udp
114at-zis		206/tcp				# AppleTalk zone information
115at-zis		206/udp
116z3950		210/tcp		wais		# NISO Z39.50 database
117z3950		210/udp		wais
118ipx		213/tcp				# IPX
119ipx		213/udp
120imap3		220/tcp				# Interactive Mail Access
121imap3		220/udp				# Protocol v3
122rsh-spx		222/tcp				# Berkeley rshd with SPX auth
123ulistserv	372/tcp				# UNIX Listserv
124ulistserv	372/udp
125nip		376/tcp				# Amiga Envoy Net Inquiry Prot.
126nip		376/udp				# Amiga Envoy Net Inquiry Prot.
127ldap		389/tcp			# Lightweight Directory Access Protocol
128ldap		389/udp			# Lightweight Directory Access Protocol
129microsoft-ds	445/tcp			# Microsoft-DS
130microsoft-ds	445/udp			# Microsoft-DS
131isakmp		500/tcp			# IPsec Key Management (ISAKMP/Oakley)
132isakmp		500/udp			# IPsec Key Management (ISAKMP/Oakley)
133ripng		521/tcp			# RIP for IPv6
134ripng		521/udp			# RIP for IPv6
135
136#
137# UNIX specific services
138#
139exec		512/tcp				# Remote execution
140biff		512/udp		comsat		# Biff the dog
141login		513/tcp				# Remote login
142who		513/udp		whod		# Remote who
143shell		514/tcp		cmd		# Remote command shell
144syslog		514/udp				# System logger
145printer		515/tcp		spooler		# line printer spooler
146talk		517/udp				# Talk protocols
147ntalk		518/udp
148route		520/udp		router routed	# RIP
149timed		525/udp		timeserver
150tempo		526/tcp		newdate
151courier		530/tcp		rpc
152conference	531/tcp		chat
153netnews		532/tcp
154netwall		533/udp				# -for emergency broadcasts
155uucp		540/tcp		uucpd		# uucp daemon
156rdist		541/tcp		rdistd		# rdist daemon
157afpovertcp	548/tcp				# AppleshareIP protocol
158afpovertcp	548/udp				# AppleshareIP protocol
159remotefs	556/tcp		rfs_server rfs	# Brunhoff remote filesystem
160#
161webster		765/tcp				# Network dictionary
162webster		765/udp
163rsync		873/tcp				# rsync 
164rsync		873/udp				# rsync
165
166#
167# Various SSL services
168#
169https		443/tcp			# http protocol over TLS/SSL
170https		443/udp			# http protocol over TLS/SSL
171nntps		563/tcp			# nntp protocol over TLS/SSL (was snntp)
172nntps		563/udp			# nntp protocol over TLS/SSL (was snntp)
173ldaps		636/tcp			# ldap protocol over TLS/SSL (was sldap)
174ldaps		636/udp			# ldap protocol over TLS/SSL (was sldap)
175ftps-data	989/tcp			# ftp protocol, data, over TLS/SSL
176ftps-data	989/udp			# ftp protocol, data, over TLS/SSL
177ftps		990/tcp			# ftp protocol, control, over TLS/SSL
178ftps		990/udp			# ftp protocol, control, over TLS/SSL
179telnets		992/tcp			# telnet protocol over TLS/SSL
180telnets		992/udp			# telnet protocol over TLS/SSL
181imaps		993/tcp			# imap4 protocol over TLS/SSL
182imaps		993/udp			# imap4 protocol over TLS/SSL
183ircs		994/tcp			# irc protocol over TLS/SSL
184ircs		994/udp			# irc protocol over TLS/SSL
185pop3s		995/tcp			# pop3 protocol over TLS/SSL (was spop3)
186pop3s		995/udp			# pop3 protocol over TLS/SSL (was spop3)
187
188#
189# From ``Assigned Numbers'':
190#
191#> The Registered Ports are not controlled by the IANA and on most systems
192#> can be used by ordinary user processes or programs executed by ordinary
193#> users.
194#
195#> Ports are used in the TCP [45,106] to name the ends of logical
196#> connections which carry long term conversations.  For the purpose of
197#> providing services to unknown callers, a service contact port is
198#> defined.  This list specifies the port used by the server process as its
199#> contact port.  While the IANA can not control uses of these ports it
200#> does register or list uses of these ports as a convienence to the
201#> community.
202#
203ingreslock	1524/tcp
204ingreslock	1524/udp
205prospero-np	1525/tcp		# Prospero non-privileged
206prospero-np	1525/udp
207radius		1812/tcp
208radius		1812/udp
209radius-acct	1813/tcp		radacct
210radius-acct	1813/udp		radacct
211cvspserver	2401/tcp
212cvspserver	2401/udp
213iscsi		3260/tcp
214mysql		3306/tcp		# MySQL
215mysql		3306/udp		# MySQL
216rfe		5002/tcp		# Radio Free Ethernet
217rfe		5002/udp		# Actually uses UDP only
218postgresql	5432/tcp		# PostgreSQL Database
219postgresql	5432/udp		# PostgreSQL Database
220
221#
222# Kerberos (Project Athena/MIT) services
223# (note that kerberos @ port 88 is sorted in the list above)
224#
225kpasswd		464/udp			# Kerberos password changing protocol
226kpasswd		464/tcp			# Kerberos password changing protocol
227klogin		543/tcp			# Kerberos `rlogin'
228kshell		544/tcp		krcmd	# Kerberos `rsh'
229ekshell		545/tcp			# Encrypted kshell
230kerberos-adm	749/tcp			# Kerberos `kadmin' (v5)
231kerberos-iv	750/udp		kdc kerberos4	# Kerberos (server) udp
232kerberos-iv	750/tcp		kdc kerberos4	# Kerberos (server) tcp
233kerberos-master	751/udp			# Kerberos admin server udp
234kerberos-master	751/tcp			# Kerberos admin server tcp
235hprop		754/tcp			# Heimdal KDC database propagation
236krbupdate	760/tcp		kreg	# BSD Kerberos registration
237kpwd		761/tcp			# old BSD Kerberos `passwd'
238					# (formerly `kpasswd')
239kpop		1109/tcp		# Kerberos POP server
240eklogin		2105/tcp		# Kerberos encrypted `rlogin'
241ekshell2	2106/tcp		# Encrypted kshell - UColorado, Boulder
242krb524		4444/udp		# krb5 -> krb4 ticket conversion
243
244#
245# AFS services
246#
247# IANA has these registered as both UDP and TCP, but only the UDP
248# ports are used by the protocol
249#
250afs3-fileserver 7000/tcp		# file server itself
251afs3-fileserver 7000/udp		# file server itself
252afs3-callback	7001/tcp		# callbacks to cache managers
253afs3-callback	7001/udp		# callbacks to cache managers
254afs3-prserver	7002/tcp		# users & groups database
255afs3-prserver	7002/udp		# users & groups database
256afs3-vlserver	7003/tcp		# volume location database
257afs3-vlserver	7003/udp		# volume location database
258afs3-kaserver	7004/tcp		# AFS/Kerberos authentication service
259afs3-kaserver	7004/udp		# AFS/Kerberos authentication service
260afs3-volser	7005/tcp		# volume managment server
261afs3-volser	7005/udp		# volume managment server
262afs3-errors	7006/tcp		# error interpretation service
263afs3-errors	7006/udp		# error interpretation service
264afs3-bos	7007/tcp		# basic overseer process
265afs3-bos	7007/udp		# basic overseer process
266afs3-update	7008/tcp		# server-to-server updater
267afs3-update	7008/udp		# server-to-server updater
268afs3-rmtsys	7009/tcp		# remote cache manager service
269afs3-rmtsys	7009/udp		# remote cache manager service
270afs3-resserver	7010/tcp		# MR-AFS residence server
271afs3-resserver	7010/udp		# MR-AFS residence server
272afs3-remio	7011/tcp		# MR-AFS remote IO server
273afs3-remio	7011/udp		# MR-AFS remote IO server
274
275#
276# Unofficial but necessary (for NetBSD) services
277#
278supfilesrv	871/tcp			# SUP server
279supfiledbg	1127/tcp		# SUP debugging
280
281#
282# other common ports
283#
284swat		901/tcp			# Samba Web Administration Tool
285nfs		2049/udp	nfsd	# Sun NFS
286nfs		2049/tcp	nfsd	# Sun NFS
287suucp		4031/tcp		# UUCP over SSL
288suucp		4031/udp		# UUCP over SSL
289X11		6000/tcp		# X Window System
290ircd		6667/tcp		# Often used IRC port (also see 194)
291sstp-2		9801/tcp		# Sakura Script Transfer Protocol-2
292sstp-2		9801/udp		# Sakura Script Transfer Protocol-2
293amanda		10080/udp		# Amanda
294italk		12345/tcp		# Italk Chat System
295italk		12345/udp		# Italk Chat System
296hunt		26740/udp		# multi-player/multi-host maze-wars
297
298#
299# Netatalk (in-kernel Appletalk) services
300# Note: The running kernel must be configured with "options NETATALK"
301# and software not included in NetBSD, such as Netatalk version 1.4b2
302# or later, must be used to take advantage of these services.
303#
304rtmp		1/ddp			# Routing Table Maintenance Protocol
305nbp		2/ddp			# Name Binding Protocol
306echo		4/ddp			# AppleTalk Echo Protocol
307zip		6/ddp			# Zone Information Protocol
308
309# Iana registered Coda filesystem port numbers
310rpc2portmap	369/tcp
311rpc2portmap	369/udp			# Coda portmapper
312codaauth2	370/tcp
313codaauth2	370/udp			# Coda authentication server
314
315venus		2430/tcp		# codacon port
316venus		2430/udp		# Venus callback/wbc interface
317venus-se	2431/tcp		# tcp side effects
318venus-se	2431/udp		# udp sftp side effect
319codasrv		2432/tcp		# not used
320codasrv		2432/udp		# server port
321codasrv-se	2433/tcp		# tcp side effects
322codasrv-se	2433/udp		# udp sftp side effect
323