services revision 1.70
1#	$NetBSD: services,v 1.70 2003/11/23 23:28:03 simonb 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
77sqlserv		118/tcp				# SQL Services
78nntp		119/tcp		readnews untp	# USENET News Transfer Protocol
79erpc		121/udp			# Encore Expedited Remote Pro.Call
80ntp		123/tcp
81ntp		123/udp				# Network Time Protocol
82netbios-ns	137/tcp				# NETBIOS Name Service
83netbios-ns	137/udp
84netbios-dgm	138/tcp				# NETBIOS Datagram Service
85netbios-dgm	138/udp
86netbios-ssn	139/tcp				# NETBIOS session service
87netbios-ssn	139/udp
88imap	143/tcp		imap2 imap4	# Internet Message Access Protocol
89imap	143/udp		imap2 imap4
90snmp		161/udp				# Simple Net Mgmt Proto
91snmp-trap	162/udp		snmptrap	# Traps for SNMP
92cmip-man	163/tcp				# ISO mgmt over IP (CMOT)
93cmip-man	163/udp
94cmip-agent	164/tcp
95cmip-agent	164/udp
96mailq		174/tcp				# zmailer MTA
97xdmcp		177/tcp				# X Display Mgr. Control Proto
98xdmcp		177/udp
99nextstep	178/tcp		NeXTStep NextStep	# NeXTStep window
100nextstep	178/udp		NeXTStep NextStep	# server
101bgp		179/tcp				# Border Gateway Proto.
102bgp		179/udp
103prospero	191/tcp				# Cliff Neuman's Prospero
104prospero	191/udp
105irc		194/tcp				# Internet Relay Chat
106irc		194/udp
107smux		199/tcp				# SNMP Unix Multiplexer
108smux		199/udp
109at-rtmp		201/tcp				# AppleTalk routing
110at-rtmp		201/udp
111at-nbp		202/tcp				# AppleTalk name binding
112at-nbp		202/udp
113at-echo		204/tcp				# AppleTalk echo
114at-echo		204/udp
115at-zis		206/tcp				# AppleTalk zone information
116at-zis		206/udp
117z3950		210/tcp		wais		# NISO Z39.50 database
118z3950		210/udp		wais
119ipx		213/tcp				# IPX
120ipx		213/udp
121imap3		220/tcp				# Interactive Mail Access
122imap3		220/udp				# Protocol v3
123rsh-spx		222/tcp				# Berkeley rshd with SPX auth
124ulistserv	372/tcp				# UNIX Listserv
125ulistserv	372/udp
126nip		376/tcp				# Amiga Envoy Net Inquiry Prot.
127nip		376/udp				# Amiga Envoy Net Inquiry Prot.
128ldap		389/tcp			# Lightweight Directory Access Protocol
129ldap		389/udp			# Lightweight Directory Access Protocol
130imsp		406/tcp			# Interactive Mail Support Protocol
131imsp		406/udp			# Interactive Mail Support Protocol
132microsoft-ds	445/tcp			# Microsoft-DS
133microsoft-ds	445/udp			# Microsoft-DS
134isakmp		500/tcp			# IPsec Key Management (ISAKMP/Oakley)
135isakmp		500/udp			# IPsec Key Management (ISAKMP/Oakley)
136ripng		521/tcp			# RIP for IPv6
137ripng		521/udp			# RIP for IPv6
138acap		674/tcp		# Application Configuration Access Protocol
139acap		674/udp		# Application Configuration Access Protocol
140silc		706/tcp			# Secure Internet Live Conferencing
141silc		706/udp			# Secure Internet Live Conferencing
142
143#
144# UNIX specific services
145#
146exec		512/tcp				# Remote execution
147biff		512/udp		comsat		# Biff the dog
148login		513/tcp				# Remote login
149who		513/udp		whod		# Remote who
150shell		514/tcp		cmd		# Remote command shell
151syslog		514/udp				# System logger
152printer		515/tcp		spooler		# line printer spooler
153talk		517/udp				# Talk protocols
154ntalk		518/udp
155route		520/udp		router routed	# RIP
156timed		525/udp		timeserver
157tempo		526/tcp		newdate
158courier		530/tcp		rpc
159conference	531/tcp		chat
160netnews		532/tcp
161netwall		533/udp				# -for emergency broadcasts
162uucp		540/tcp		uucpd		# uucp daemon
163rdist		541/tcp		rdistd		# rdist daemon
164afpovertcp	548/tcp				# AppleshareIP protocol
165afpovertcp	548/udp				# AppleshareIP protocol
166remotefs	556/tcp		rfs_server rfs	# Brunhoff remote filesystem
167#
168webster		765/tcp				# Network dictionary
169webster		765/udp
170rsync		873/tcp				# rsync
171rsync		873/udp				# rsync
172
173#
174# Various SSL services
175#
176https		443/tcp			# http protocol over TLS/SSL
177https		443/udp			# http protocol over TLS/SSL
178nntps		563/tcp			# nntp protocol over TLS/SSL (was snntp)
179nntps		563/udp			# nntp protocol over TLS/SSL (was snntp)
180ldaps		636/tcp			# ldap protocol over TLS/SSL (was sldap)
181ldaps		636/udp			# ldap protocol over TLS/SSL (was sldap)
182ftps-data	989/tcp			# ftp protocol, data, over TLS/SSL
183ftps-data	989/udp			# ftp protocol, data, over TLS/SSL
184ftps		990/tcp			# ftp protocol, control, over TLS/SSL
185ftps		990/udp			# ftp protocol, control, over TLS/SSL
186telnets		992/tcp			# telnet protocol over TLS/SSL
187telnets		992/udp			# telnet protocol over TLS/SSL
188imaps		993/tcp			# imap4 protocol over TLS/SSL
189imaps		993/udp			# imap4 protocol over TLS/SSL
190ircs		994/tcp			# irc protocol over TLS/SSL
191ircs		994/udp			# irc protocol over TLS/SSL
192pop3s		995/tcp			# pop3 protocol over TLS/SSL (was spop3)
193pop3s		995/udp			# pop3 protocol over TLS/SSL (was spop3)
194
195#
196# From ``Assigned Numbers'':
197#
198#> The Registered Ports are not controlled by the IANA and on most systems
199#> can be used by ordinary user processes or programs executed by ordinary
200#> users.
201#
202#> Ports are used in the TCP [45,106] to name the ends of logical
203#> connections which carry long term conversations.  For the purpose of
204#> providing services to unknown callers, a service contact port is
205#> defined.  This list specifies the port used by the server process as its
206#> contact port.  While the IANA can not control uses of these ports it
207#> does register or list uses of these ports as a convienence to the
208#> community.
209#
210ingreslock	1524/tcp
211ingreslock	1524/udp
212prospero-np	1525/tcp		# Prospero non-privileged
213prospero-np	1525/udp
214radius		1812/tcp
215radius		1812/udp
216radius-acct	1813/tcp		radacct
217radius-acct	1813/udp		radacct
218cvspserver	2401/tcp
219cvspserver	2401/udp
220iscsi		3260/tcp
221mysql		3306/tcp		# MySQL
222mysql		3306/udp		# MySQL
223svn		3690/tcp		# Subversion
224svn		3690/udp		# Subversion
225rfe		5002/tcp		# Radio Free Ethernet
226rfe		5002/udp		# Actually uses UDP only
227postgresql	5432/tcp		# PostgreSQL Database
228postgresql	5432/udp		# PostgreSQL Database
229
230#
231# Kerberos (Project Athena/MIT) services
232# (note that kerberos @ port 88 is sorted in the list above)
233#
234kpasswd		464/udp			# Kerberos password changing protocol
235kpasswd		464/tcp			# Kerberos password changing protocol
236klogin		543/tcp			# Kerberos `rlogin'
237kshell		544/tcp		krcmd	# Kerberos `rsh'
238ekshell		545/tcp			# Encrypted kshell
239kerberos-adm	749/tcp			# Kerberos `kadmin' (v5)
240kerberos-iv	750/udp		kdc kerberos4	# Kerberos (server) udp
241kerberos-iv	750/tcp		kdc kerberos4	# Kerberos (server) tcp
242kerberos-master	751/udp			# Kerberos admin server udp
243kerberos-master	751/tcp			# Kerberos admin server tcp
244hprop		754/tcp			# Heimdal KDC database propagation
245krbupdate	760/tcp		kreg	# BSD Kerberos registration
246kpwd		761/tcp			# old BSD Kerberos `passwd'
247					# (formerly `kpasswd')
248kpop		1109/tcp		# Kerberos POP server
249eklogin		2105/tcp		# Kerberos encrypted `rlogin'
250ekshell2	2106/tcp		# Encrypted kshell - UColorado, Boulder
251krb524		4444/udp		# krb5 -> krb4 ticket conversion
252
253#
254# AFS services
255#
256# IANA has these registered as both UDP and TCP, but only the UDP
257# ports are used by the protocol
258#
259afs3-fileserver 7000/tcp		# file server itself
260afs3-fileserver 7000/udp		# file server itself
261afs3-callback	7001/tcp		# callbacks to cache managers
262afs3-callback	7001/udp		# callbacks to cache managers
263afs3-prserver	7002/tcp		# users & groups database
264afs3-prserver	7002/udp		# users & groups database
265afs3-vlserver	7003/tcp		# volume location database
266afs3-vlserver	7003/udp		# volume location database
267afs3-kaserver	7004/tcp		# AFS/Kerberos authentication service
268afs3-kaserver	7004/udp		# AFS/Kerberos authentication service
269afs3-volser	7005/tcp		# volume management server
270afs3-volser	7005/udp		# volume management server
271afs3-errors	7006/tcp		# error interpretation service
272afs3-errors	7006/udp		# error interpretation service
273afs3-bos	7007/tcp		# basic overseer process
274afs3-bos	7007/udp		# basic overseer process
275afs3-update	7008/tcp		# server-to-server updater
276afs3-update	7008/udp		# server-to-server updater
277afs3-rmtsys	7009/tcp		# remote cache manager service
278afs3-rmtsys	7009/udp		# remote cache manager service
279afs3-resserver	7010/tcp		# MR-AFS residence server
280afs3-resserver	7010/udp		# MR-AFS residence server
281afs3-remio	7011/tcp		# MR-AFS remote IO server
282afs3-remio	7011/udp		# MR-AFS remote IO server
283
284#
285# Unofficial but necessary (for NetBSD) services
286#
287supfilesrv	871/tcp			# SUP server
288supfiledbg	1127/tcp		# SUP debugging
289
290#
291# other common ports
292#
293swat		901/tcp			# Samba Web Administration Tool
294sieve		2000/tcp		# RFC3028
295lmtp		2003/tcp		# Local Mail Transfer Protocol
296nfs		2049/udp	nfsd	# Sun NFS
297nfs		2049/tcp	nfsd	# Sun NFS
298suucp		4031/tcp		# UUCP over SSL
299suucp		4031/udp		# UUCP over SSL
300fud		4201/udp		# Cyrus IMAP finger-like service
301X11		6000/tcp		# X Window System
302ircd		6667/tcp		# Often used IRC port (also see 194)
303sstp-2		9801/tcp		# Sakura Script Transfer Protocol-2
304sstp-2		9801/udp		# Sakura Script Transfer Protocol-2
305amanda		10080/udp		# Amanda
306kamanda		10081/udp		# Amanda with Kerberos
307italk		12345/tcp		# Italk Chat System
308italk		12345/udp		# Italk Chat System
309hunt		26740/udp		# multi-player/multi-host maze-wars
310
311#
312# Netatalk (in-kernel Appletalk) services
313# Note: The running kernel must be configured with "options NETATALK"
314# and software not included in NetBSD, such as Netatalk version 1.4b2
315# or later, must be used to take advantage of these services.
316#
317rtmp		1/ddp			# Routing Table Maintenance Protocol
318nbp		2/ddp			# Name Binding Protocol
319echo		4/ddp			# AppleTalk Echo Protocol
320zip		6/ddp			# Zone Information Protocol
321
322# Iana registered Coda filesystem port numbers
323rpc2portmap	369/tcp
324rpc2portmap	369/udp			# Coda portmapper
325codaauth2	370/tcp
326codaauth2	370/udp			# Coda authentication server
327
328venus		2430/tcp		# codacon port
329venus		2430/udp		# Venus callback/wbc interface
330venus-se	2431/tcp		# tcp side effects
331venus-se	2431/udp		# udp sftp side effect
332codasrv		2432/tcp		# not used
333codasrv		2432/udp		# server port
334codasrv-se	2433/tcp		# tcp side effects
335codasrv-se	2433/udp		# udp sftp side effect
336
337# Iana registered ports commonly found in security logs
338epmap		135/tcp			# DCE endpoint resolution
339epmap		135/udp			# DCE endpoint resolution
340rtsp		554/tcp			# Real Time Stream Control Protocol
341rtsp		554/udp			# Real Time Stream Control Protocol
342socks		1080/tcp		# Socks
343socks		1080/udp		# Socks
344kazaa		1214/tcp		# KAZAA
345kazaa		1214/udp		# KAZAA
346ms-sql-s	1433/tcp		# Microsoft-SQL-Server
347ms-sql-s	1433/udp		# Microsoft-SQL-Server
348ms-sql-m	1434/tcp		# Microsoft-SQL-Monitor
349ms-sql-m	1434/udp		# Microsoft-SQL-Monitor
350ms-wbt-server	3389/tcp		# MS WBT Server
351ms-wbt-server	3389/udp		# MS WBT Server
352terabase	4000/tcp	icq	# used for both Terabase and ICQ
353terabase	4000/udp	icq	# used for both Terabase and ICQ
354radmin-port	4899/tcp		# RAdmin Port
355radmin-port	4899/udp		# RAdmin Port
356http-alt	8080/tcp		# HTTP Alternate (see port 80)
357http-alt	8080/udp		# HTTP Alternate (see port 80)
358