SERVICES(5-BSD) RISC/os Reference Manual SERVICES(5-BSD)
NAME
services - service name data base
SYNOPSIS
/etc/services
DESCRIPTION
The services file contains information regarding the known
services available in the DARPA Internet. For each service
a single line should be present with the following informa-
tion:
official service name
port number
protocol name
aliases
Items are separated by any number of blanks and/or tab char-
acters. The port number and protocol name are considered a
single item; a ``/'' is used to separate the port and proto-
col (for instance, ``512/tcp''). A ``#'' indicates the
beginning of a comment; characters up to the end of the line
are not interpreted by routines which search the file.
Service names may contain any printable character other than
a field delimiter, newline, or comment character.
EXAMPLE
The following is an example of an /etc/services file:
#
# Network services, Internet style
#
# $Header: $
#
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp 21/tcp
telnet 23/tcp
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
Printed 1/15/91 Page 1
SERVICES(5-BSD) RISC/os Reference Manual SERVICES(5-BSD)
nameserver 42/tcp name# IEN 116
whois 43/tcp nicname
domain 53/tcp nameserver# name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
bootp 67/udp
tftp 69/udp
rje 77/tcp netrjs
finger 79/tcp
link 87/tcp ttylink
supdup 95/tcp
hostnames 101/tcp hostname# usually from sri-nic
#csnet-cs 105/?
pop 109/tcp postoffice
sunrpc 111/tcp
sunrpc 111/udp
auth 113/tcp authentication
sftp 115/tcp
uucp-path 117/tcp
nntp 119/tcp readnews untp# USENET News Transfer Protocol
erpc 121/udp # Annex erpc
ntp 123/udp ntpd ntp# network time protocol (exp)
#
# UNIX specific services
#
exec 512/tcp
biff 512/udp comsat
mbiff 6512/udp mcomsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd# no passwords used
syslog 514/udp
printer 515/tcp spooler# line printer spooler
talk 517/udp
ntalk 518/udp
efs 520/tcp # for LucasFilm
route 520/udp router routed
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency broadcasts
uucp 540/tcp uucpd# uucp daemon
remotefs 556/tcp rfs_server rfs# Brunhoff remote filesystem
socks 1080/tcp # koblas
rlad_1 1090/tcp # Roger March
rlad_2 1091/tcp # Roger March
ingreslock 1524/tcp
bfs 2201/udp # Boot file server.
xtrek 5701/tcp xtrek# take a guess
Page 2 Printed 1/15/91
SERVICES(5-BSD) RISC/os Reference Manual SERVICES(5-BSD)
xtrek 5702/udp xtrek# take a guess
#
# uShare Appletalk interface port #'s
#
atalk 1901/udp # For now, must be 1901!
ddp 1300/udp # The rest of these may be any
nbp 1301/udp # free udp port.
atp 1302/udp
pap 1303/tcp
asp 1304/udp
afp 1305/udp
adsp 1306/udp
nettty 1328/udp
ddpip 2000/udp
nbp 2001/tcp
FILES
/etc/services
SEE ALSO
getservent(3N)
BUGS
A name server should be used instead of a static file. A
binary indexed file format should be available for fast
access.
Printed 1/15/91 Page 3