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_&portmap-version;.tar.gz">
|
---|
9 | <!ENTITY portmap-md5sum "781e16ed4487c4caa082c6fef09ead4f">
|
---|
10 | <!ENTITY portmap-size "18 KB">
|
---|
11 | <!ENTITY portmap-buildsize "222 KB">
|
---|
12 | <!ENTITY portmap-time "0.02 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="portmap" xreflabel="portmap-&portmap-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="portmap.html"?>
|
---|
21 | <title>portmap-&portmap-version;</title>
|
---|
22 |
|
---|
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>
|
---|
38 | <listitem><para>Download MD5 sum: &portmap-md5sum;</para></listitem>
|
---|
39 | <listitem><para>Download size: &portmap-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space required:
|
---|
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'>
|
---|
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>
|
---|
54 | </itemizedlist>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | <sect3><title><application>portmap</application> dependencies</title>
|
---|
58 | <sect4><title>Required</title>
|
---|
59 | <para><xref linkend="tcpwrappers"/></para>
|
---|
60 | </sect4>
|
---|
61 | </sect3>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2>
|
---|
66 | <title>Installation of <application>portmap</application></title>
|
---|
67 |
|
---|
68 | <para>Install <application>portmap</application> with the following
|
---|
69 | commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput><command>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
72 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
73 | make &&
|
---|
74 | make install</command></userinput></screen>
|
---|
75 |
|
---|
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
|
---|
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>
|
---|
96 |
|
---|
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>
|
---|
126 |
|
---|
127 | </sect1>
|
---|
128 |
|
---|