services revision 1.34
11.34Stron#	$NetBSD: services,v 1.34 2000/04/26 16:28:17 tron Exp $
21.1Scgd#
31.1Scgd# Network services, Internet style
41.1Scgd#
51.8Scgd# Note that it is presently the policy of IANA to assign a single well-known
61.8Scgd# port number for both TCP and UDP; hence, most entries here have two entries
71.8Scgd# even if the protocol doesn't support UDP operations.
81.8Scgd# Updated from RFC 1340, ``Assigned Numbers'' (July 1992).  Not all ports
91.8Scgd# are included, only the more common ones.
101.1Scgd#
111.21Smikel#	from: @(#)services	8.2 (Berkeley) 3/26/95
121.8Scgd#
131.20Smikeltcpmux		1/tcp		# TCP port multiplexer (RFC1078)
141.1Scgdecho		7/tcp
151.1Scgdecho		7/udp
161.1Scgddiscard		9/tcp		sink null
171.1Scgddiscard		9/udp		sink null
181.1Scgdsystat		11/tcp		users
191.1Scgddaytime		13/tcp
201.1Scgddaytime		13/udp
211.1Scgdnetstat		15/tcp
221.1Scgdqotd		17/tcp		quote
231.8Scgdmsp		18/tcp		# message send protocol
241.24Smrgmsp		18/udp
251.1Scgdchargen		19/tcp		ttytst source
261.1Scgdchargen		19/udp		ttytst source
271.12Scgdftp-data	20/tcp		# default ftp data port
281.24Smrgftp		21/tcp		# File Transfer Protocol
291.24Smrgssh		22/tcp		# Secure Shell
301.18Smrgssh		22/udp
311.1Scgdtelnet		23/tcp
321.8Scgd# 24 - private
331.1Scgdsmtp		25/tcp		mail
341.8Scgd# 26 - unassigned
351.1Scgdtime		37/tcp		timserver
361.1Scgdtime		37/udp		timserver
371.1Scgdrlp		39/udp		resource	# resource location
381.1Scgdnameserver	42/tcp		name		# IEN 116
391.1Scgdwhois		43/tcp		nicname
401.31Slukemdomain		53/tcp		# name-domain server
411.31Slukemdomain		53/udp
421.1Scgdmtp		57/tcp				# deprecated
431.8Scgdbootps		67/tcp		# BOOTP server
441.8Scgdbootps		67/udp
451.8Scgdbootpc		68/tcp		# BOOTP client
461.8Scgdbootpc		68/udp
471.24Smrgtftp		69/udp		# Trivial File Transfer Protocol
481.8Scgdgopher		70/tcp		# Internet Gopher
491.8Scgdgopher		70/udp
501.1Scgdrje		77/tcp		netrjs
511.1Scgdfinger		79/tcp
521.8Scgdwww		80/tcp		http	# WorldWideWeb HTTP
531.8Scgdwww		80/udp			# HyperText Transfer Protocol
541.1Scgdlink		87/tcp		ttylink
551.17Sghudsonkerberos	88/tcp		krb5	# Kerberos v5
561.17Sghudsonkerberos	88/udp
571.1Scgdsupdup		95/tcp
581.8Scgd# 100 - reserved
591.1Scgdhostnames	101/tcp		hostname	# usually from sri-nic
601.8Scgdiso-tsap	102/tcp		tsap		# part of ISODE.
611.8Scgdcsnet-ns	105/tcp		cso-ns	# also used by CSO name server
621.8Scgdcsnet-ns	105/udp		cso-ns
631.8Scgdrtelnet		107/tcp		# Remote Telnet
641.8Scgdrtelnet		107/udp
651.8Scgdpop2		109/tcp		postoffice	# POP version 2
661.8Scgdpop2		109/udp
671.8Scgdpop3		110/tcp		# POP version 3
681.8Scgdpop3		110/udp
691.24Smrgsunrpc		111/tcp		# Remote Procedure Call
701.1Scgdsunrpc		111/udp
711.10Scgdauth		113/tcp		authentication tap ident
721.1Scgdsftp		115/tcp
731.1Scgduucp-path	117/tcp
741.1Scgdnntp		119/tcp		readnews untp	# USENET News Transfer Protocol
751.8Scgdntp		123/tcp
761.8Scgdntp		123/udp				# Network Time Protocol
771.8Scgdnetbios-ns	137/tcp				# NETBIOS Name Service
781.8Scgdnetbios-ns	137/udp
791.8Scgdnetbios-dgm	138/tcp				# NETBIOS Datagram Service
801.8Scgdnetbios-dgm	138/udp
811.8Scgdnetbios-ssn	139/tcp				# NETBIOS session service
821.8Scgdnetbios-ssn	139/udp
831.33Sitojunimap	143/tcp		imap2 imap4	# Internet Message Access Protocol
841.33Sitojunimap	143/udp		imap2 imap4
851.8Scgdsnmp		161/udp				# Simple Net Mgmt Proto
861.8Scgdsnmp-trap	162/udp		snmptrap	# Traps for SNMP
871.8Scgdcmip-man	163/tcp				# ISO mgmt over IP (CMOT)
881.8Scgdcmip-man	163/udp
891.8Scgdcmip-agent	164/tcp
901.8Scgdcmip-agent	164/udp
911.26Sfairmailq		174/tcp				# zmailer MTA
921.8Scgdxdmcp		177/tcp				# X Display Mgr. Control Proto
931.8Scgdxdmcp		177/udp
941.8Scgdnextstep	178/tcp		NeXTStep NextStep	# NeXTStep window
951.8Scgdnextstep	178/udp		NeXTStep NextStep	# server
961.8Scgdbgp		179/tcp				# Border Gateway Proto.
971.8Scgdbgp		179/udp
981.8Scgdprospero	191/tcp				# Cliff Neuman's Prospero
991.8Scgdprospero	191/udp
1001.8Scgdirc		194/tcp				# Internet Relay Chat
1011.8Scgdirc		194/udp
1021.8Scgdsmux		199/tcp				# SNMP Unix Multiplexer
1031.8Scgdsmux		199/udp
1041.8Scgdat-rtmp		201/tcp				# AppleTalk routing
1051.8Scgdat-rtmp		201/udp
1061.8Scgdat-nbp		202/tcp				# AppleTalk name binding
1071.8Scgdat-nbp		202/udp
1081.8Scgdat-echo		204/tcp				# AppleTalk echo
1091.8Scgdat-echo		204/udp
1101.8Scgdat-zis		206/tcp				# AppleTalk zone information
1111.8Scgdat-zis		206/udp
1121.8Scgdz3950		210/tcp		wais		# NISO Z39.50 database
1131.8Scgdz3950		210/udp		wais
1141.8Scgdipx		213/tcp				# IPX
1151.8Scgdipx		213/udp
1161.8Scgdimap3		220/tcp				# Interactive Mail Access
1171.8Scgdimap3		220/udp				# Protocol v3
1181.8Scgdulistserv	372/tcp				# UNIX Listserv
1191.8Scgdulistserv	372/udp
1201.22Sisnip		376/tcp				# Amiga Envoy Net Inquiry Prot.
1211.22Sisnip		376/udp				# Amiga Envoy Net Inquiry Prot.
1221.34Stronldap		389/tcp			# Lightweight Directory Access Protocol
1231.34Stronldap		389/udp			# Lightweight Directory Access Protocol
1241.22Sis
1251.1Scgd#
1261.1Scgd# UNIX specific services
1271.1Scgd#
1281.24Smrgexec		512/tcp				# Remote execution
1291.24Smrgbiff		512/udp		comsat		# Biff the dog
1301.24Smrglogin		513/tcp				# Remote login
1311.24Smrgwho		513/udp		whod		# Remote who
1321.24Smrgshell		514/tcp		cmd		# Remote command shell
1331.24Smrgsyslog		514/udp				# System logger
1341.1Scgdprinter		515/tcp		spooler		# line printer spooler
1351.24Smrgtalk		517/udp				# Talk protocols
1361.1Scgdntalk		518/udp
1371.8Scgdroute		520/udp		router routed	# RIP
1381.1Scgdtimed		525/udp		timeserver
1391.1Scgdtempo		526/tcp		newdate
1401.1Scgdcourier		530/tcp		rpc
1411.1Scgdconference	531/tcp		chat
1421.31Slukemnetnews		532/tcp
1431.1Scgdnetwall		533/udp				# -for emergency broadcasts
1441.1Scgduucp		540/tcp		uucpd		# uucp daemon
1451.20Smikelrdist		541/tcp		rdistd		# rdist daemon
1461.27Swrstudenafpovertcp	548/tcp				# AppleshareIP protocol
1471.27Swrstudenafpovertcp	548/udp				# AppleshareIP protocol
1481.1Scgdremotefs	556/tcp		rfs_server rfs	# Brunhoff remote filesystem
1491.30Shwr#
1501.34Stronwebster		765/tcp				# Network dictionary
1511.34Stronwebster		765/udp
1521.34Stron
1531.34Stron#
1541.34Stron# Various SSL services
1551.34Stron#
1561.34Stronhttps		443/tcp			# http protocol over TLS/SSL
1571.34Stronhttps		443/udp			# http protocol over TLS/SSL
1581.34Stronnntps		563/tcp			# nntp protocol over TLS/SSL (was snntp)
1591.34Stronnntps		563/udp			# nntp protocol over TLS/SSL (was snntp)
1601.30Shwrldaps		636/tcp			# ldap protocol over TLS/SSL (was sldap)
1611.30Shwrldaps		636/udp			# ldap protocol over TLS/SSL (was sldap)
1621.34Stronftps-data	989/tcp			# ftp protocol, data, over TLS/SSL
1631.34Stronftps-data	989/udp			# ftp protocol, data, over TLS/SSL
1641.34Stronftps		990/tcp			# ftp protocol, control, over TLS/SSL
1651.34Stronftps		990/udp			# ftp protocol, control, over TLS/SSL
1661.34Strontelnets		992/tcp			# telnet protocol over TLS/SSL
1671.34Strontelnets		992/udp			# telnet protocol over TLS/SSL
1681.34Stronimaps		993/tcp			# imap4 protocol over TLS/SSL
1691.34Stronimaps		993/udp			# imap4 protocol over TLS/SSL
1701.34Stronircs		994/tcp			# irc protocol over TLS/SSL
1711.34Stronircs		994/udp			# irc protocol over TLS/SSL
1721.34Stronpop3s		995/tcp			# pop3 protocol over TLS/SSL (was spop3)
1731.34Stronpop3s		995/udp			# pop3 protocol over TLS/SSL (was spop3)
1741.25Slukem
1751.8Scgd#
1761.8Scgd# From ``Assigned Numbers'':
1771.8Scgd#
1781.8Scgd#> The Registered Ports are not controlled by the IANA and on most systems
1791.8Scgd#> can be used by ordinary user processes or programs executed by ordinary
1801.8Scgd#> users.
1811.8Scgd#
1821.8Scgd#> Ports are used in the TCP [45,106] to name the ends of logical
1831.8Scgd#> connections which carry long term conversations.  For the purpose of
1841.8Scgd#> providing services to unknown callers, a service contact port is
1851.8Scgd#> defined.  This list specifies the port used by the server process as its
1861.8Scgd#> contact port.  While the IANA can not control uses of these ports it
1871.8Scgd#> does register or list uses of these ports as a convienence to the
1881.8Scgd#> community.
1891.8Scgd#
1901.1Scgdingreslock	1524/tcp
1911.8Scgdingreslock	1524/udp
1921.8Scgdprospero-np	1525/tcp		# Prospero non-privileged
1931.8Scgdprospero-np	1525/udp
1941.28Stroncvspserver	2401/tcp
1951.28Stroncvspserver	2401/udp
1961.8Scgdrfe		5002/tcp		# Radio Free Ethernet
1971.8Scgdrfe		5002/udp		# Actually uses UDP only
1981.25Slukem
1991.1Scgd#
2001.1Scgd# Kerberos (Project Athena/MIT) services
2011.17Sghudson# Note that these are for Kerberos v4, and are unofficial.
2021.1Scgd#
2031.13Smycroftklogin		543/tcp			# Kerberos `rlogin'
2041.14Smycroftkshell		544/tcp		krcmd	# Kerberos `rsh'
2051.13Smycroftkerberos-adm	749/tcp			# Kerberos `kadmin' (v5)
2061.17Sghudsonkerberos4	750/udp		kdc	# Kerberos (server) udp
2071.17Sghudsonkerberos4	750/tcp		kdc	# Kerberos (server) tcp
2081.16Stlskerberos-master	751/udp			# Kerberos admin server udp
2091.16Stlskerberos-master	751/tcp			# Kerberos admin server tcp
2101.16Stlskrbupdate	760/tcp		kreg	# BSD Kerberos registration
2111.16Stlskpasswd		761/tcp		kpwd	# BSD Kerberos `passwd'
2121.13Smycrofteklogin		2105/tcp		# Kerberos encrypted `rlogin'
2131.25Slukem
2141.9Scgd#
2151.9Scgd# Unofficial but necessary (for NetBSD) services
2161.9Scgd#
2171.9Scgdsupfilesrv	871/tcp			# SUP server
2181.9Scgdsupfiledbg	1127/tcp		# SUP debugging
2191.25Slukem
2201.19Smrg#
2211.19Smrg# other common ports
2221.19Smrg#
2231.19Smrgnfs		2049/udp	nfsd	# Sun NFS
2241.19Smrgnfs		2049/tcp	nfsd	# Sun NFS
2251.24SmrgX11		6000/tcp		# X Window System
2261.24Smrgircd		6667/tcp		# Often used IRC port (also see 194)
2271.23Smrghunt		26740/udp		# multi-player/multi-host maze-wars
2281.25Slukem
2291.25Slukem#
2301.25Slukem# Netatalk (in-kernel Appletalk) services
2311.25Slukem# Note: The running kernel must be configured with "options NETATALK"
2321.25Slukem# and software not included in NetBSD, such as Netatalk version 1.4b2
2331.25Slukem# or later, must be used to take advantage of these services.
2341.25Slukem#
2351.25Slukemrtmp		1/ddp			# Routing Table Maintenance Protocol
2361.25Slukemnbp		2/ddp			# Name Binding Protocol
2371.25Slukemecho		4/ddp			# AppleTalk Echo Protocol
2381.25Slukemzip		6/ddp			# Zone Information Protocol
239