1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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_&portmap-version;.tar.gz">
|
---|
9 | <!ENTITY portmap-md5sum "781e16ed4487c4caa082c6fef09ead4f">
|
---|
10 | <!ENTITY portmap-size "18 KB">
|
---|
11 | <!ENTITY portmap-buildsize "268 KB">
|
---|
12 | <!ENTITY portmap-time "0.01 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="portmap" xreflabel="portmap-&portmap-version;">
|
---|
16 | <?dbhtml filename="portmap.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">portmap_&portmap-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">portmap</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>Portmap-&portmap-version;</title>
|
---|
28 |
|
---|
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 |
|
---|
36 | <para>The <application>portmap</application> package is a more secure
|
---|
37 | replacement for the original SUN <application>portmap</application> package.
|
---|
38 | <application>Portmap</application> is used to forward RPC requests to RPC
|
---|
39 | daemons such as NFS and NIS.</para>
|
---|
40 |
|
---|
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>
|
---|
59 | <para>Estimated build time: &portmap-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
64 | <itemizedlist spacing='compact'>
|
---|
65 | <listitem>
|
---|
66 | <para>Required Patch: <ulink
|
---|
67 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>Required Patch: <ulink
|
---|
71 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required"><xref linkend="tcpwrappers"/></para>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of Portmap</title>
|
---|
84 |
|
---|
85 | <para>Install <application>portmap</application> with the following
|
---|
86 | commands:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
89 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
90 | make</userinput></screen>
|
---|
91 |
|
---|
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>
|
---|
98 | in <filename class="directory">/sbin</filename>. You may choose to move the
|
---|
99 | file to <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
100 | modify the bootscript also.</para>
|
---|
101 | </note>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="configuration">
|
---|
106 | <title>Configuring Portmap</title>
|
---|
107 |
|
---|
108 | <sect3 id="portmap-init">
|
---|
109 | <title>Boot Script</title>
|
---|
110 |
|
---|
111 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
|
---|
112 | included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
113 |
|
---|
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>
|
---|
119 |
|
---|
120 | </sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
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>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>pmap_dump, pmap_set, and portmap</seg>
|
---|
134 | <seg>None</seg>
|
---|
135 | <seg>None</seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | <variablelist>
|
---|
140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
141 | <?dbfo list-presentation="list"?>
|
---|
142 | <?dbhtml list-presentation="table"?>
|
---|
143 |
|
---|
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>
|
---|
153 |
|
---|
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>
|
---|
163 |
|
---|
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>
|
---|
173 |
|
---|
174 | </variablelist>
|
---|
175 |
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | </sect1>
|
---|
179 |
|
---|