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