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