Changeset dbed00df


Ignore:
Timestamp:
09/23/2003 03:35:53 AM (19 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
d7c254a
Parents:
aff3a6f2
Message:

portmap and tcpwrappers intro update

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1172 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
basicnet/netprogs
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/portmap/portmap-config.xml

    raff3a6f2 rdbed00df  
    11<sect2>
    2 <title>Configuring portmap</title>
     2<title>Configuring <application>portmap</application></title>
    33
    44<sect3><title>Config files</title>
     
    66</sect3>
    77
    8 <sect3><title>Create the portmap boot script</title>
     8<sect3><title>Create the <command>portmap</command> boot script</title>
    99
    10 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/portmap &lt;&lt; "EOF"</userinput>
     10<screen><userinput><command>cat &gt; /etc/rc.d/init.d/portmap &lt;&lt; "EOF"</command>
    1111#!/bin/sh
    1212# Begin /etc/rc.d/init.d/portmap
     
    3939
    4040# End /etc/rc.d/init.d/portmap
    41 <userinput>EOF
     41<command>EOF
    4242chmod 754 /etc/rc.d/init.d/portmap &amp;&amp;
    4343cd /etc/rc.d/init.d &amp;&amp;
     
    4848ln -sf ../init.d/portmap ../rc4.d/S22portmap &amp;&amp;
    4949ln -sf ../init.d/portmap ../rc5.d/S22portmap &amp;&amp;
    50 ln -sf ../init.d/portmap ../rc6.d/K49portmap
    51 </userinput></screen></para>
     50ln -sf ../init.d/portmap ../rc6.d/K49portmap</command></userinput></screen>
     51
    5252</sect3>
    5353
  • basicnet/netprogs/portmap/portmap-desc.xml

    raff3a6f2 rdbed00df  
    22<title>Contents</title>
    33
    4 <para>The portmap package contains
    5 <userinput>portmap</userinput>,
    6 <userinput>pmap_dump</userinput> and
    7 <userinput>pmap_set</userinput>.</para>
     4<para>The <application>portmap</application> package contains
     5<command>portmap</command>,
     6<command>pmap_dump</command> and
     7<command>pmap_set</command>.</para>
    88</sect2>
    99
     
    1111
    1212<sect3><title>portmap</title>
    13 <para>portmap is the rpc port mapper.</para></sect3>
     13<para><command>portmap</command> is the <acronym>RPC</acronym> port mapper.
     14</para></sect3>
    1415
    1516<sect3><title>pmap_dump</title>
    16 <para>pmap_dump saves the port mapping table to an ascii file.</para></sect3>
     17<para><command>pmap_dump</command> saves the port mapping table to an
     18<acronym>ASCII</acronym> file.</para></sect3>
    1719
    1820<sect3><title>pmap_set</title>
    19 <para>pmap_set restores the port mapping table from an ascii file.</para></sect3>
     21<para><command>pmap_set</command> restores the port mapping table from an
     22<acronym>ASCII</acronym> file.</para></sect3>
    2023</sect2>
    2124
  • basicnet/netprogs/portmap/portmap-exp.xml

    raff3a6f2 rdbed00df  
    22<title>Command explanations</title>
    33
    4 <para><userinput>patch -Np1 -i ../portmap_5-1.diff</userinput> : This patch provides added security for the portmap package, including only allowing portmap table changes from the local host.</para>
     4<para><command>patch -Np1 -i ../portmap_5-1.diff</command> : This patch
     5provides added security for the <application>portmap</application> package,
     6including only allowing <command>portmap</command> table changes from the local
     7host.</para>
    58
    6 <para><userinput>mkdir /usr/share/doc/portmap</userinput> : This directory must be created before installation.  </para>
     9<para><command>mkdir /usr/share/doc/portmap</command> : This directory must be
     10created before installation.  </para>
    711
    812</sect2>
  • basicnet/netprogs/portmap/portmap-inst.xml

    raff3a6f2 rdbed00df  
    44<para>Install <application>portmap</application> with the following commands:</para>
    55
    6 <para><screen><userinput><command>patch -Np1 -i ../portmap_5-1.diff &amp;&amp;
     6<screen><userinput><command>patch -Np1 -i ../portmap_5-1.diff &amp;&amp;
    77patch -Np1 -i ../portmap_5-errno.patch &amp;&amp;
    88mkdir /usr/share/doc/portmap &amp;&amp;
    99make &amp;&amp;
    10 make install</command></userinput></screen></para>
     10make install</command></userinput></screen>
    1111
    1212</sect2>
  • basicnet/netprogs/portmap/portmap-intro.xml

    raff3a6f2 rdbed00df  
    22<title>Introduction to <application>portmap</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&portmap-download-http;"/>
    5 Download location (FTP):        <ulink url="&portmap-download-ftp;"/>
    6 Version used:                   &portmap-version;
    7 Package size:                   &portmap-size;
    8 Estimated Disk space required:  &portmap-buildsize;
    9 Estimated build time:           &portmap-time;</screen>
    10 <screen>
    11 Required Downloads:
    12 Download location (HTTP):        <ulink url="&portmap-patch-http;"/>
    13 Download location (HTTP):        <ulink url="&hfile-root;/portmap_5-errno.patch"/></screen>
     4<para>The <application>portmap</application> package is a more secure
     5replacement for the original SUN <application>portmap</application> package. 
     6<application>Portmap</application> is used to forward <acronym>RPC</acronym>
     7requests to <acronym>RPC</acronym> daemons such as <acronym>NFS</acronym>
     8and <acronym>NIS</acronym>.</para>
    149
    15 <para>The portmap package is a more secure replacement for the
    16 original SUN portmap package.  Portmap is used to forward rpc
    17 requests to rpc daemons such as NFS and NIS.</para>
     10<sect3><title>Package information</title>
     11<itemizedlist spacing='compact'>
     12<listitem><para>Download (HTTP): <ulink
     13url="&portmap-download-http;"/></para></listitem>
     14<listitem><para>Download (FTP): <ulink
     15url="&portmap-download-ftp;"/></para></listitem>
     16<listitem><para>Download size: &portmap-size;</para></listitem>
     17<listitem><para>Estimated Disk space required:
     18&portmap-buildsize;</para></listitem>
     19<listitem><para>Estimated build time:
     20&portmap-time;</para></listitem></itemizedlist>
     21</sect3>
    1822
    19 <para><screen>portmap depends on:
    20 <xref linkend="tcpwrappers"/></screen></para>
     23<sect3><title>Additional downloads</title>
     24<itemizedlist spacing='compact'>
     25<listitem><para>Required patch (HTTP): <ulink
     26url="&portmap-patch-http;"/></para></listitem>
     27<listitem><para>Required patch (HTTP): <ulink url="&hfile-root;/portmap_5-errno.patch"/></para></listitem></itemizedlist>
     28</sect3>
     29
     30                                                                               
     31<sect3><title><application>portmap</application> dependencies</title>
     32<sect4><title>Required</title>
     33<para><xref linkend="tcpwrappers"/></para></sect4>
     34</sect3>
     35
    2136
    2237</sect2>
  • basicnet/netprogs/tcpwrappers/tcpwrappers-config.xml

    raff3a6f2 rdbed00df  
    11<sect2>
    2 <title>Configuring tcpwrappers</title>
     2<title>Configuring <application>tcpwrappers</application></title>
    33
    44<sect3><title>Config files</title>
     
    1111555). Do not install the wrapper set-uid.</para>
    1212
    13 <para>
    14 Then perform the following edits on the
    15 <filename>/etc/inetd.conf</filename> configuration file :
     13<para>Then perform the following edits on the
     14<filename>/etc/inetd.conf</filename> configuration file:
    1615<screen><userinput>finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd</userinput></screen>
    1716becomes:
    1817<screen><userinput>finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd</userinput></screen></para>
     18
    1919<note><para>The finger server is used as an example here.</para></note>
    20 <para>Similar changes must be made if xinetd is used, with the
    21 emphasis being on calling <command>/usr/sbin/tcpd</command> instead of calling the
    22 service daemon directly, and passing the name of the service daemon to
    23 tcpd.</para>
     20
     21<para>Similar changes must be made if xinetd is used, with the emphasis being
     22on calling <command>/usr/sbin/tcpd</command> instead of calling the service
     23daemon directly, and passing the name of the service daemon to tcpd.</para>
    2424</sect3>
    2525
  • basicnet/netprogs/tcpwrappers/tcpwrappers-desc.xml

    raff3a6f2 rdbed00df  
    22<title>Contents</title>
    33
    4 <para>The tcpwrappers package contains
    5 
    6 safe_finger tcpd tcpdchk tcpdmatch try-from
    7 
    8 <userinput>tcpd</userinput>,
    9 <userinput>tcpdchk</userinput>,
    10 <userinput>tcpdmatch</userinput>,
    11 <userinput>try-from</userinput> and
    12 <userinput>safe_finger</userinput>.</para>
     4<para>The <application>tcpwrappers</application> package contains <command>
     5tcpd</command>, <command>tcpdchk</command>, <command>tcpdmatch</command>,
     6<command>try-from</command> and <command>safe_finger</command>.</para>
    137</sect2>
    148
     
    1610
    1711<sect3><title>tcpd</title>
    18 <para>tcpd is the main access control daemon for all internet
    19 services, which inetd or xinetd will run instead of running the
     12<para><command>tcpd</command> is the main access control daemon for all
     13internet services, which <command>inetd</command> or
     14<command>xinetd</command> will run instead of running the
    2015requested service daemon.</para></sect3>
    2116
    2217<sect3><title>tcpdchk</title>
    23 <para>tcpdchk is a tool to examine a tcpd wrapper configuration and
    24 report problems with it.</para></sect3>
     18<para><command>tcpdchk</command> is a tool to examine a tcpd wrapper
     19configuration and report problems with it.</para></sect3>
    2520
    2621<sect3><title>tcpdmatch</title>
    27 <para>tcpdmatch is used to predict how the tcp wrapper would handle a
    28 specific request for a service.</para></sect3>
     22<para><command>tcpdmatch</command> is used to predict how the tcp wrapper
     23would handle a specific request for a service.</para></sect3>
    2924
    3025<sect3><title>try-from</title>
    31 <para>try-from can be called via a remote shell command to find out if
    32 the host name and address are properly recognized.</para></sect3>
     26<para><command>try-from</command> can be called via a remote shell command to
     27find out if the host name and address are properly recognized.</para></sect3>
    3328
    3429<sect3><title>safe_finger</title>
    35 <para>safe_finger is a wrapper for the finger utility, to provide
    36 automatic reverse name lookups.</para></sect3>
     30<para><command>safe_finger</command> is a wrapper for the <command>finger
     31</command> utility, to provide automatic reverse name lookups.</para></sect3>
    3732
    3833</sect2>
  • basicnet/netprogs/tcpwrappers/tcpwrappers-exp.xml

    raff3a6f2 rdbed00df  
    22<title>Command explanations</title>
    33
    4 <para><userinput>patch -Np1 -i ../tcp_wrappers_7.6.diff</userinput> : This patch alters the original path and logging facility of the original tcpwrappers program.</para>
     4<para><command>patch -Np1 -i ../tcp_wrappers_7.6.diff</command> : This patch
     5alters the original path and logging facility of the original tcpwrappers
     6program.</para>
    57
    68</sect2>
  • basicnet/netprogs/tcpwrappers/tcpwrappers-inst.xml

    raff3a6f2 rdbed00df  
    11<sect2>
    2 <title>Installation of tcpwrappers</title>
     2<title>Installation of <application>tcpwrappers</application></title>
    33
    4 <para>Install tcpwrappers with the following commands:</para>
     4<para>Install <application>tcpwrappers</application> with the following
     5commands:</para>
    56
    6 <para><screen><userinput>patch -Np1 -i ../tcp_wrappers_7.6.diff &amp;&amp;
     7<screen><userinput><command>patch -Np1 -i ../tcp_wrappers_7.6.diff &amp;&amp;
    78make REAL_DAEMON_DIR=/usr/sbin linux &amp;&amp;
    89cp libwrap.a /usr/lib &amp;&amp;
     
    1516cp -av *.3 /usr/share/man/man3 &amp;&amp;
    1617cp -av *.5 /usr/share/man/man5 &amp;&amp;
    17 cp -av *.8 /usr/share/man/man8</userinput></screen></para>
     18cp -av *.8 /usr/share/man/man8</command></userinput></screen>
    1819
    1920</sect2>
  • basicnet/netprogs/tcpwrappers/tcpwrappers-intro.xml

    raff3a6f2 rdbed00df  
    11<sect2>
    2 <title>Introduction to tcpwrappers</title>
     2<title>Introduction to <application>tcpwrappers</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&tcpwrappers-download-http;"/>
    5 Download location (FTP):       <ulink url="&tcpwrappers-download-ftp;"/>
    6 Version used:                   &tcpwrappers-version;
    7 Package size:                   &tcpwrappers-size;
    8 Estimated Disk space required:  &tcpwrappers-buildsize;
    9 Estimated build time:           &tcpwrappers-time;</screen>
    10 <screen>
    11 Required patch:
    12 Download location (HTTP):        <ulink url="&tcpwrappers-patch-http;"/></screen>
     4<para>The <application>tcpwrappers</application> package provides daemon
     5wrapper programs that report the name of the client requesting network services and the requested service.</para>
    136
    14 <para>The tcpwrappers package provides daemon wrapper programs that
    15 report the name of the client requesting network services and the
    16 requested service.</para>
     7<sect3><title>Package information</title>
     8<itemizedlist spacing='compact'>
     9<listitem><para>Download (HTTP): <ulink
     10url="&tcpwrappers-download-http;"/></para></listitem>
     11<listitem><para>Download (FTP): <ulink
     12url="&tcpwrappers-download-ftp;"/></para></listitem>
     13<listitem><para>Download size: &tcpwrappers-size;</para></listitem>
     14<listitem><para>Estimated Disk space required:
     15&tcpwrappers-buildsize;</para></listitem>
     16<listitem><para>Estimated build time:
     17&tcpwrappers-time;</para></listitem></itemizedlist>
     18</sect3>
     19
     20<sect3><title>Additional downloads</title>
     21<itemizedlist spacing='compact'>
     22<listitem><para>Download (HTTP): <ulink
     23url="&tcpwrappers-patch-http;"/></para></listitem></itemizedlist>
     24</sect3>
     25
    1726
    1827</sect2>
Note: See TracChangeset for help on using the changeset viewer.