[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 " ">
|
---|
| 8 | <!ENTITY portmap-download-ftp "ftp://ftp.porcupine.org/pub/security/portmap_5beta.tar.gz">
|
---|
| 9 | <!ENTITY portmap-size "20 KB">
|
---|
| 10 | <!ENTITY portmap-buildsize "250 KB">
|
---|
| 11 | <!ENTITY portmap-time "0.03 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[9c6580c] | 14 | <sect1 id="portmap" xreflabel="portmap-&portmap-version;">
|
---|
[00bb024c] | 15 | <?dbhtml filename="portmap.html"?>
|
---|
[9c6580c] | 16 | <title>portmap-&portmap-version;</title>
|
---|
| 17 |
|
---|
[d47e7ea9] | 18 | <sect2>
|
---|
| 19 | <title>Introduction to <application>portmap</application></title>
|
---|
| 20 |
|
---|
| 21 | <para>The <application>portmap</application> package is a more secure
|
---|
| 22 | replacement for the original SUN <application>portmap</application> package.
|
---|
| 23 | <application>Portmap</application> is used to forward <acronym>RPC</acronym>
|
---|
| 24 | requests to <acronym>RPC</acronym> daemons such as <acronym>NFS</acronym>
|
---|
| 25 | and <acronym>NIS</acronym>.</para>
|
---|
| 26 |
|
---|
| 27 | <sect3><title>Package information</title>
|
---|
| 28 | <itemizedlist spacing='compact'>
|
---|
| 29 | <listitem><para>Download (HTTP): <ulink
|
---|
| 30 | url="&portmap-download-http;"/></para></listitem>
|
---|
| 31 | <listitem><para>Download (FTP): <ulink
|
---|
| 32 | url="&portmap-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &portmap-size;</para></listitem>
|
---|
| 34 | <listitem><para>Estimated Disk space required:
|
---|
| 35 | &portmap-buildsize;</para></listitem>
|
---|
| 36 | <listitem><para>Estimated build time:
|
---|
| 37 | &portmap-time;</para></listitem></itemizedlist>
|
---|
| 38 | </sect3>
|
---|
| 39 |
|
---|
| 40 | <sect3><title>Additional downloads</title>
|
---|
| 41 | <itemizedlist spacing='compact'>
|
---|
| 42 | <listitem><para>Required patch: <ulink
|
---|
| 43 | url="&patch-root;/portmap-5beta-compilation-fixes-2.patch"/></para></listitem>
|
---|
| 44 | <listitem><para>Required patch: <ulink
|
---|
| 45 | url="&patch-root;/portmap-5beta-glibc-errno-fix.patch"/></para></listitem>
|
---|
| 46 | </itemizedlist>
|
---|
| 47 | </sect3>
|
---|
| 48 |
|
---|
| 49 |
|
---|
| 50 | <sect3><title><application>portmap</application> dependencies</title>
|
---|
| 51 | <sect4><title>Required</title>
|
---|
| 52 | <para><xref linkend="tcpwrappers"/></para></sect4>
|
---|
| 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Installation of <application>portmap</application></title>
|
---|
| 59 |
|
---|
| 60 | <para>Install <application>portmap</application> with the following commands:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput><command>patch -Np1 -i ../portmap-5beta-compilation-fixes-2.patch &&
|
---|
| 63 | patch -Np1 -i ../portmap-5beta-glibc-errno-fix.patch &&
|
---|
| 64 | make &&
|
---|
| 65 | make install</command></userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <note><para>The above installation places executable <filename>portmap</filename>
|
---|
| 68 | in <filename class="directory">/sbin</filename>. You may choose to move the file
|
---|
| 69 | to <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
| 70 | modify the bootscript.</para></note>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Configuring <application>portmap</application></title>
|
---|
| 76 |
|
---|
| 77 | <sect3><title>Config files</title>
|
---|
| 78 | <para><filename>/etc/rc.d/init.d/portmap</filename></para>
|
---|
| 79 | </sect3>
|
---|
| 80 |
|
---|
| 81 | <sect3><title>Boot script</title>
|
---|
| 82 |
|
---|
| 83 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename>
|
---|
| 84 | init script included in the
|
---|
| 85 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput><command>make install-portmap</command></userinput></screen>
|
---|
| 88 |
|
---|
| 89 | </sect3>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2>
|
---|
| 94 | <title>Contents</title>
|
---|
| 95 |
|
---|
| 96 | <para>The <application>portmap</application> package contains
|
---|
| 97 | <command>portmap</command>,
|
---|
| 98 | <command>pmap_dump</command> and
|
---|
| 99 | <command>pmap_set</command>.</para>
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2><title>Description</title>
|
---|
| 103 |
|
---|
| 104 | <sect3><title>portmap</title>
|
---|
| 105 | <para><command>portmap</command> is the <acronym>RPC</acronym> port mapper.
|
---|
| 106 | </para></sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3><title>pmap_dump</title>
|
---|
| 109 | <para><command>pmap_dump</command> saves the port mapping table to an
|
---|
| 110 | <acronym>ASCII</acronym> file.</para></sect3>
|
---|
| 111 |
|
---|
| 112 | <sect3><title>pmap_set</title>
|
---|
| 113 | <para><command>pmap_set</command> restores the port mapping table from an
|
---|
| 114 | <acronym>ASCII</acronym> file.</para></sect3>
|
---|
| 115 | </sect2>
|
---|
[9c6580c] | 116 |
|
---|
| 117 | </sect1>
|
---|
| 118 |
|
---|