[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 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">
|
---|
| 11 | <!ENTITY portmap-buildsize "222 KB">
|
---|
| 12 | <!ENTITY portmap-time "0.02 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>
|
---|
| 22 |
|
---|
[d47e7ea9] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>portmap</application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The <application>portmap</application> package is a more secure
|
---|
| 27 | replacement for the original SUN <application>portmap</application> package.
|
---|
| 28 | <application>Portmap</application> is used to forward <acronym>RPC</acronym>
|
---|
| 29 | requests to <acronym>RPC</acronym> daemons such as <acronym>NFS</acronym>
|
---|
| 30 | and <acronym>NIS</acronym>.</para>
|
---|
| 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem><para>Download (HTTP): <ulink
|
---|
| 35 | url="&portmap-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP): <ulink
|
---|
| 37 | url="&portmap-download-ftp;"/></para></listitem>
|
---|
[f5f7f9d] | 38 | <listitem><para>Download MD5 sum: &portmap-md5sum;</para></listitem>
|
---|
[d47e7ea9] | 39 | <listitem><para>Download size: &portmap-size;</para></listitem>
|
---|
[518538f] | 40 | <listitem><para>Estimated disk space required:
|
---|
[d47e7ea9] | 41 | &portmap-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &portmap-time;</para></listitem></itemizedlist>
|
---|
| 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title>Additional downloads</title>
|
---|
| 47 | <itemizedlist spacing='compact'>
|
---|
[f5f7f9d] | 48 | <listitem><para>Required Patch: <ulink
|
---|
| 49 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem><para>Required Patch: <ulink
|
---|
| 52 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
| 53 | </listitem>
|
---|
[d47e7ea9] | 54 | </itemizedlist>
|
---|
| 55 | </sect3>
|
---|
| 56 |
|
---|
| 57 | <sect3><title><application>portmap</application> dependencies</title>
|
---|
| 58 | <sect4><title>Required</title>
|
---|
[f5f7f9d] | 59 | <para><xref linkend="tcpwrappers"/></para>
|
---|
| 60 | </sect4>
|
---|
[d47e7ea9] | 61 | </sect3>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2>
|
---|
| 66 | <title>Installation of <application>portmap</application></title>
|
---|
| 67 |
|
---|
[f5f7f9d] | 68 | <para>Install <application>portmap</application> with the following
|
---|
| 69 | commands:</para>
|
---|
[d47e7ea9] | 70 |
|
---|
[50363a58] | 71 | <screen><userinput><command>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
[4f6275fd] | 72 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
[d47e7ea9] | 73 | make &&
|
---|
| 74 | make install</command></userinput></screen>
|
---|
| 75 |
|
---|
[f5f7f9d] | 76 | <note><para>The above installation places executable
|
---|
| 77 | <filename>portmap</filename> in <filename class="directory">/sbin</filename>.
|
---|
| 78 | You may choose to move the file to
|
---|
| 79 | <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
[d47e7ea9] | 80 | modify the bootscript.</para></note>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Configuring <application>portmap</application></title>
|
---|
| 86 |
|
---|
| 87 | <sect3><title>Config files</title>
|
---|
| 88 | <para><filename>/etc/rc.d/init.d/portmap</filename></para>
|
---|
| 89 | </sect3>
|
---|
| 90 |
|
---|
| 91 | <sect3><title>Boot script</title>
|
---|
| 92 |
|
---|
| 93 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename>
|
---|
| 94 | init script included in the
|
---|
| 95 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
[b1623c2] | 96 |
|
---|
[d47e7ea9] | 97 | <screen><userinput><command>make install-portmap</command></userinput></screen>
|
---|
| 98 |
|
---|
| 99 | </sect3>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2>
|
---|
| 104 | <title>Contents</title>
|
---|
| 105 |
|
---|
| 106 | <para>The <application>portmap</application> package contains
|
---|
| 107 | <command>portmap</command>,
|
---|
| 108 | <command>pmap_dump</command> and
|
---|
| 109 | <command>pmap_set</command>.</para>
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2><title>Description</title>
|
---|
| 113 |
|
---|
| 114 | <sect3><title>portmap</title>
|
---|
| 115 | <para><command>portmap</command> is the <acronym>RPC</acronym> port mapper.
|
---|
| 116 | </para></sect3>
|
---|
| 117 |
|
---|
| 118 | <sect3><title>pmap_dump</title>
|
---|
| 119 | <para><command>pmap_dump</command> saves the port mapping table to an
|
---|
| 120 | <acronym>ASCII</acronym> file.</para></sect3>
|
---|
| 121 |
|
---|
| 122 | <sect3><title>pmap_set</title>
|
---|
| 123 | <para><command>pmap_set</command> restores the port mapping table from an
|
---|
| 124 | <acronym>ASCII</acronym> file.</para></sect3>
|
---|
| 125 | </sect2>
|
---|
[9c6580c] | 126 |
|
---|
| 127 | </sect1>
|
---|
| 128 |
|
---|