[f03c1f1] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[f03c1f1] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-iana-etc" role="wrap">
|
---|
| 9 | <?dbhtml filename="iana-etc.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Iana-Etc-&iana-etc-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-iana-etc">
|
---|
| 14 | <primary sortas="a-Iana-Etc">Iana-Etc</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Iana-Etc package provides data for network services and
|
---|
| 21 | protocols.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Iana-Etc</title>
|
---|
| 27 |
|
---|
[406ca8f] | 28 | <para os="a">The <filename>protocol-numbers.dist</filename> and
|
---|
| 29 | <filename>port-numbers.dist</filename> files that come with Iana-Etc
|
---|
| 30 | are outdated. Also, IANA has moved their copy of protocol-numbers.
|
---|
| 31 | In order to ensure we use correct and up to date data, first modify the
|
---|
| 32 | Makefile and then download the updates:</para>
|
---|
[f03c1f1] | 33 |
|
---|
[406ca8f] | 34 | <screen os="b"><userinput>sed -i '/file=/s@protocol-numbers@&/&.txt@' Makefile
|
---|
| 35 | make get</userinput></screen>
|
---|
[f03c1f1] | 36 |
|
---|
[406ca8f] | 37 | <para os="c">The following command then converts the raw data provided by
|
---|
| 38 | IANA into the correct formats for the <filename>/etc/protocols</filename>
|
---|
| 39 | and <filename>/etc/services</filename> data files:</para>
|
---|
[f03c1f1] | 40 |
|
---|
[406ca8f] | 41 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[f03c1f1] | 42 |
|
---|
[406ca8f] | 43 | <para os="e">This package does not come with a test suite.</para>
|
---|
| 44 |
|
---|
| 45 | <para os="f">Install the package:</para>
|
---|
| 46 |
|
---|
| 47 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[f03c1f1] | 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-iana-etc" role="content">
|
---|
| 52 | <title>Contents of Iana-Etc</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed files</segtitle>
|
---|
| 56 |
|
---|
| 57 | <seglistitem>
|
---|
| 58 | <seg>/etc/protocols and /etc/services</seg>
|
---|
| 59 | </seglistitem>
|
---|
| 60 | </segmentedlist>
|
---|
| 61 |
|
---|
| 62 | <variablelist>
|
---|
| 63 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 64 | <?dbfo list-presentation="list"?>
|
---|
| 65 | <?dbhtml list-presentation="table"?>
|
---|
| 66 |
|
---|
| 67 | <varlistentry id="protocols">
|
---|
| 68 | <term><filename>/etc/protocols</filename></term>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Describes the various DARPA Internet protocols that are
|
---|
| 71 | available from the TCP/IP subsystem</para>
|
---|
| 72 | <indexterm zone="ch-system-iana-etc">
|
---|
| 73 | <primary sortas="e-/etc/protocols">/etc/protocols</primary>
|
---|
| 74 | </indexterm>
|
---|
| 75 | </listitem>
|
---|
| 76 | </varlistentry>
|
---|
| 77 |
|
---|
| 78 | <varlistentry id="services">
|
---|
| 79 | <term><filename>/etc/services</filename></term>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>Provides a mapping between friendly textual names for internet
|
---|
| 82 | services, and their underlying assigned port numbers and protocol
|
---|
| 83 | types</para>
|
---|
| 84 | <indexterm zone="ch-system-iana-etc">
|
---|
| 85 | <primary sortas="e-/etc/services">/etc/services</primary>
|
---|
| 86 | </indexterm>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
| 90 | </variablelist>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | </sect1>
|
---|
[406ca8f] | 95 |
|
---|