[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY portmap-download-http " ">
|
---|
[4f6275fd] | 8 | <!ENTITY portmap-download-ftp "ftp://ftp.porcupine.org/pub/security/portmap_&portmap-version;.tar.gz">
|
---|
[f5f7f9d] | 9 | <!ENTITY portmap-md5sum "781e16ed4487c4caa082c6fef09ead4f">
|
---|
[b0c67c8b] | 10 | <!ENTITY portmap-size "18 KB">
|
---|
[0697dc1] | 11 | <!ENTITY portmap-buildsize "268 KB">
|
---|
| 12 | <!ENTITY portmap-time "0.01 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[9c6580c] | 15 | <sect1 id="portmap" xreflabel="portmap-&portmap-version;">
|
---|
[e48ac714] | 16 | <?dbhtml filename="portmap.html"?>
|
---|
[bab92281] | 17 |
|
---|
[e48ac714] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[bab92281] | 22 |
|
---|
[e48ac714] | 23 | <title>Portmap-&portmap-version;</title>
|
---|
[bab92281] | 24 |
|
---|
[e48ac714] | 25 | <indexterm zone="portmap">
|
---|
| 26 | <primary sortas="a-Portmap">Portmap</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Portmap</title>
|
---|
| 31 |
|
---|
[17e6d48] | 32 | <para>The <application>portmap</application> package is a more secure
|
---|
[bbdb0ff4] | 33 | replacement for the original SUN <application>portmap</application> package.
|
---|
[17e6d48] | 34 | <application>Portmap</application> is used to forward RPC requests to RPC
|
---|
[e48ac714] | 35 | daemons such as NFS and NIS.</para>
|
---|
[bab92281] | 36 |
|
---|
[e48ac714] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&portmap-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&portmap-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &portmap-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &portmap-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &portmap-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2174baa] | 55 | <para>Estimated build time: &portmap-time;</para>
|
---|
| 56 | </listitem>
|
---|
[e48ac714] | 57 | </itemizedlist>
|
---|
[bab92281] | 58 |
|
---|
[e48ac714] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing='compact'>
|
---|
| 61 | <listitem>
|
---|
[17e6d48] | 62 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 63 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[17e6d48] | 66 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 67 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
[bab92281] | 70 |
|
---|
[db0eb6a] | 71 | <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
|
---|
[bab92281] | 72 |
|
---|
[e48ac714] | 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para><xref linkend="tcpwrappers"/></para>
|
---|
[bab92281] | 75 |
|
---|
[e48ac714] | 76 | </sect2>
|
---|
[bab92281] | 77 |
|
---|
[e48ac714] | 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of Portmap</title>
|
---|
| 80 |
|
---|
[17e6d48] | 81 | <para>Install <application>portmap</application> with the following
|
---|
[e48ac714] | 82 | commands:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
[4f6275fd] | 85 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
[e48ac714] | 86 | make</userinput></screen>
|
---|
[bab92281] | 87 |
|
---|
[e48ac714] | 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 89 |
|
---|
| 90 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <note>
|
---|
| 93 | <para>The above installation places executable <command>portmap</command>
|
---|
[17e6d48] | 94 | in <filename class="directory">/sbin</filename>. You may choose to move the
|
---|
[e48ac714] | 95 | file to <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
| 96 | modify the bootscript also.</para>
|
---|
| 97 | </note>
|
---|
[bab92281] | 98 |
|
---|
[e48ac714] | 99 | </sect2>
|
---|
[bab92281] | 100 |
|
---|
[e48ac714] | 101 | <sect2 role="configuration">
|
---|
| 102 | <title>Configuring Portmap</title>
|
---|
[bab92281] | 103 |
|
---|
[e48ac714] | 104 | <sect3 id="portmap-init">
|
---|
| 105 | <title>Boot Script</title>
|
---|
| 106 |
|
---|
[17e6d48] | 107 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
|
---|
[e48ac714] | 108 | included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
[bab92281] | 109 |
|
---|
[e48ac714] | 110 | <indexterm zone="portmap portmap-init">
|
---|
| 111 | <primary sortas="f-portmap">portmap</primary>
|
---|
| 112 | </indexterm>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install-portmap</userinput></screen>
|
---|
[bab92281] | 115 |
|
---|
[e48ac714] | 116 | </sect3>
|
---|
[bab92281] | 117 |
|
---|
[e48ac714] | 118 | </sect2>
|
---|
[bab92281] | 119 |
|
---|
[e48ac714] | 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 127 |
|
---|
[e48ac714] | 128 | <seglistitem>
|
---|
| 129 | <seg>pmap_dump, pmap_set, and portmap</seg>
|
---|
| 130 | <seg>None</seg>
|
---|
| 131 | <seg>None</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
[bab92281] | 134 |
|
---|
[e48ac714] | 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 139 |
|
---|
[e48ac714] | 140 | <varlistentry id="pmap_dump">
|
---|
| 141 | <term><command>pmap_dump</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>saves the port mapping table to an ASCII file.</para>
|
---|
| 144 | <indexterm zone="portmap pmap_dump">
|
---|
| 145 | <primary sortas="b-pmap_dump">pmap_dump</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
[bab92281] | 149 |
|
---|
[e48ac714] | 150 | <varlistentry id="pmap_set">
|
---|
| 151 | <term><command>pmap_set</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>restores the port mapping table from an ASCII file.</para>
|
---|
| 154 | <indexterm zone="portmap pmap_set">
|
---|
| 155 | <primary sortas="b-pmap_set">pmap_set</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
[bab92281] | 159 |
|
---|
[e48ac714] | 160 | <varlistentry id="portmap-prog">
|
---|
| 161 | <term><command>portmap</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>is an RPC port mapper.</para>
|
---|
| 164 | <indexterm zone="portmap portmap-prog">
|
---|
| 165 | <primary sortas="b-portmap">portmap</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
[bab92281] | 169 |
|
---|
[e48ac714] | 170 | </variablelist>
|
---|
[bab92281] | 171 |
|
---|
[e48ac714] | 172 | </sect2>
|
---|
[9c6580c] | 173 |
|
---|
| 174 | </sect1>
|
---|
| 175 |
|
---|