summaryrefslogtreecommitdiffstats
path: root/man5/services.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/services.5')
-rw-r--r--man5/services.548
1 files changed, 24 insertions, 24 deletions
diff --git a/man5/services.5 b/man5/services.5
index f46f417a6..1644ab2aa 100644
--- a/man5/services.5
+++ b/man5/services.5
@@ -22,12 +22,12 @@ numbers and protocol types.
Every networking program should look into
this file to get the port number (and protocol) for its service.
The C library routines
-.BR getservent (3),
-.BR getservbyname (3),
-.BR getservbyport (3),
-.BR setservent (3),
+.MR getservent 3 ,
+.MR getservbyname 3 ,
+.MR getservbyport 3 ,
+.MR setservent 3 ,
and
-.BR endservent (3)
+.MR endservent 3
support querying this file from programs.
.P
Port numbers are assigned by the IANA (Internet Assigned Numbers
@@ -38,10 +38,10 @@ have two entries, even for TCP-only services.
.P
Port numbers below 1024 (so-called "low numbered" ports) can be
bound to only by root (see
-.BR bind (2),
-.BR tcp (7),
+.MR bind 2 ,
+.MR tcp 7 ,
and
-.BR udp (7)).
+.MR udp 7 ).
This is so clients connecting to low numbered ports can trust
that the service running on the port is the standard implementation,
and not a rogue service run by a user of the machine.
@@ -53,13 +53,13 @@ The presence of an entry for a service in the
file does not necessarily mean that the service is currently running
on the machine.
See
-.BR inetd.conf (5)
+.MR inetd.conf 5
for the configuration of Internet services offered.
Note that not all
networking services are started by
-.BR inetd (8),
+.MR inetd 8 ,
and so won't appear in
-.BR inetd.conf (5).
+.MR inetd.conf 5 .
In particular, news (NNTP) and mail (SMTP) servers are often
initialized from the system boot scripts.
.P
@@ -91,7 +91,7 @@ is the port number (in decimal) to use for this service.
is the type of protocol to be used.
This field should match an entry
in the
-.BR protocols (5)
+.MR protocols 5
file.
Typical values include
.B tcp
@@ -124,10 +124,10 @@ sensible choice.
Lines not matching this format should not be present in the
file.
(Currently, they are silently skipped by
-.BR getservent (3),
-.BR getservbyname (3),
+.MR getservent 3 ,
+.MR getservbyname 3 ,
and
-.BR getservbyport (3).
+.MR getservbyport 3 .
However, this behavior should not be relied on.)
.P
.\" The following is not true as at glibc 2.8 (a line with a comma is
@@ -186,14 +186,14 @@ Definition of
.\" .BR getservbyport (3).
.\" However, this will also cause the next line to be mis-parsed.
.SH SEE ALSO
-.BR listen (2),
-.BR endservent (3),
-.BR getservbyname (3),
-.BR getservbyport (3),
-.BR getservent (3),
-.BR setservent (3),
-.BR inetd.conf (5),
-.BR protocols (5),
-.BR inetd (8)
+.MR listen 2 ,
+.MR endservent 3 ,
+.MR getservbyname 3 ,
+.MR getservbyport 3 ,
+.MR getservent 3 ,
+.MR setservent 3 ,
+.MR inetd.conf 5 ,
+.MR protocols 5 ,
+.MR inetd 8
.P
Assigned Numbers RFC, most recently RFC\ 1700, (AKA STD0002).