[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;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[00bb024c] | 20 | <?dbhtml filename="portmap.html"?>
|
---|
[9c6580c] | 21 | <title>portmap-&portmap-version;</title>
|
---|
[0697dc1] | 22 | <indexterm zone="portmap">
|
---|
| 23 | <primary sortas="a-Portmap">Portmap</primary></indexterm>
|
---|
[9c6580c] | 24 |
|
---|
[d47e7ea9] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>portmap</application></title>
|
---|
| 27 |
|
---|
| 28 | <para>The <application>portmap</application> package is a more secure
|
---|
| 29 | replacement for the original SUN <application>portmap</application> package.
|
---|
| 30 | <application>Portmap</application> is used to forward <acronym>RPC</acronym>
|
---|
| 31 | requests to <acronym>RPC</acronym> daemons such as <acronym>NFS</acronym>
|
---|
| 32 | and <acronym>NIS</acronym>.</para>
|
---|
| 33 |
|
---|
| 34 | <sect3><title>Package information</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Download (HTTP): <ulink
|
---|
| 37 | url="&portmap-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink
|
---|
| 39 | url="&portmap-download-ftp;"/></para></listitem>
|
---|
[f5f7f9d] | 40 | <listitem><para>Download MD5 sum: &portmap-md5sum;</para></listitem>
|
---|
[d47e7ea9] | 41 | <listitem><para>Download size: &portmap-size;</para></listitem>
|
---|
[518538f] | 42 | <listitem><para>Estimated disk space required:
|
---|
[d47e7ea9] | 43 | &portmap-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &portmap-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | <sect3><title>Additional downloads</title>
|
---|
| 49 | <itemizedlist spacing='compact'>
|
---|
[f5f7f9d] | 50 | <listitem><para>Required Patch: <ulink
|
---|
| 51 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem><para>Required Patch: <ulink
|
---|
| 54 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
| 55 | </listitem>
|
---|
[d47e7ea9] | 56 | </itemizedlist>
|
---|
| 57 | </sect3>
|
---|
| 58 |
|
---|
| 59 | <sect3><title><application>portmap</application> dependencies</title>
|
---|
| 60 | <sect4><title>Required</title>
|
---|
[f5f7f9d] | 61 | <para><xref linkend="tcpwrappers"/></para>
|
---|
| 62 | </sect4>
|
---|
[d47e7ea9] | 63 | </sect3>
|
---|
| 64 |
|
---|
| 65 | </sect2>
|
---|
| 66 |
|
---|
| 67 | <sect2>
|
---|
| 68 | <title>Installation of <application>portmap</application></title>
|
---|
| 69 |
|
---|
[f5f7f9d] | 70 | <para>Install <application>portmap</application> with the following
|
---|
| 71 | commands:</para>
|
---|
[d47e7ea9] | 72 |
|
---|
[50363a58] | 73 | <screen><userinput><command>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
[4f6275fd] | 74 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
[0697dc1] | 75 | make</command></userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <para>Now, as the root user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[d47e7ea9] | 80 |
|
---|
[f5f7f9d] | 81 | <note><para>The above installation places executable
|
---|
| 82 | <filename>portmap</filename> in <filename class="directory">/sbin</filename>.
|
---|
| 83 | You may choose to move the file to
|
---|
| 84 | <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
[0697dc1] | 85 | modify the bootscript also.</para></note>
|
---|
[d47e7ea9] | 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2>
|
---|
| 90 | <title>Configuring <application>portmap</application></title>
|
---|
| 91 |
|
---|
[0697dc1] | 92 | <sect3 id="portmap-init"><title>Boot script</title>
|
---|
[d47e7ea9] | 93 |
|
---|
[0697dc1] | 94 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
|
---|
| 95 | included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 96 | <indexterm zone="portmap portmap-init">
|
---|
| 97 | <primary sortas="f-portmap">portmap</primary></indexterm>
|
---|
[b1623c2] | 98 |
|
---|
[d47e7ea9] | 99 | <screen><userinput><command>make install-portmap</command></userinput></screen>
|
---|
| 100 | </sect3>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2>
|
---|
| 105 | <title>Contents</title>
|
---|
| 106 |
|
---|
[0697dc1] | 107 | <segmentedlist>
|
---|
| 108 | <segtitle>Installed Programs</segtitle>
|
---|
| 109 | <segtitle>Installed Libraries</segtitle>
|
---|
| 110 | <segtitle>Installed Directories</segtitle>
|
---|
| 111 |
|
---|
| 112 | <seglistitem>
|
---|
| 113 | <seg>pmap_dump, pmap_set and portmap</seg>
|
---|
| 114 | <seg>None</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | </seglistitem>
|
---|
| 117 | </segmentedlist>
|
---|
| 118 |
|
---|
| 119 | <variablelist>
|
---|
| 120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 121 | <?dbfo list-presentation="list"?>
|
---|
| 122 |
|
---|
| 123 | <varlistentry id="pmap_dump">
|
---|
| 124 | <term><command>pmap_dump</command></term>
|
---|
| 125 | <listitem><para>saves the port mapping table to an <acronym>ASCII</acronym>
|
---|
| 126 | file.</para>
|
---|
| 127 | <indexterm zone="portmap pmap_dump">
|
---|
| 128 | <primary sortas="b-pmap_dump">pmap_dump</primary>
|
---|
| 129 | </indexterm></listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="pmap_set">
|
---|
| 133 | <term><command>pmap_set</command></term>
|
---|
| 134 | <listitem><para>restores the port mapping table from an <acronym>ASCII</acronym>
|
---|
| 135 | file.</para>
|
---|
| 136 | <indexterm zone="portmap pmap_set">
|
---|
| 137 | <primary sortas="b-pmap_set">pmap_set</primary>
|
---|
| 138 | </indexterm></listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="portmap-prog">
|
---|
| 142 | <term><command>portmap</command></term>
|
---|
| 143 | <listitem><para>is an <acronym>RPC</acronym> port mapper.</para>
|
---|
| 144 | <indexterm zone="portmap portmap-prog">
|
---|
| 145 | <primary sortas="b-portmap">portmap</primary>
|
---|
| 146 | </indexterm></listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 | </variablelist>
|
---|
[d47e7ea9] | 149 |
|
---|
| 150 | </sect2>
|
---|
[9c6580c] | 151 |
|
---|
| 152 | </sect1>
|
---|
| 153 |
|
---|