Changeset bab92281 for basicnet/netprogs/tcpwrappers.xml
- Timestamp:
- 05/30/2005 04:23:59 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 50b8d8b
- Parents:
- 8d0d2eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/netprogs/tcpwrappers.xml
r8d0d2eb rbab92281 15 15 <sect1 id="tcpwrappers" xreflabel="tcpwrappers-&tcpwrappers-version;"> 16 16 <?dbhtml filename="tcpwrappers.html"?> 17 17 18 18 <sect1info> 19 19 <othername>$LastChangedBy$</othername> 20 20 <date>$Date$</date> 21 21 </sect1info> 22 22 23 23 <title>Tcpwrappers-&tcpwrappers-version;</title> 24 24 25 25 <indexterm zone="tcpwrappers"> 26 26 <primary sortas="a-Tcpwrappers">Tcpwrappers</primary> … … 32 32 <para>The <application>tcpwrappers</application> package provides daemon 33 33 wrapper programs that report the name of the client requesting network 34 services and the requested service.</para> 35 34 services and the requested service.</para> 35 36 36 <bridgehead renderas="sect3">Package Information</bridgehead> 37 37 <itemizedlist spacing="compact"> … … 55 55 </listitem> 56 56 </itemizedlist> 57 57 58 58 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 59 59 <itemizedlist spacing='compact'> … … 64 64 </listitem> 65 65 </itemizedlist> 66 67 </sect2> 68 66 67 </sect2> 68 69 69 <sect2 role="installation"> 70 70 <title>Installation of Tcpwrappers</title> … … 76 76 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c && 77 77 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux</userinput></screen> 78 78 79 79 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 80 80 81 81 <screen role="root"><userinput>make install</userinput></screen> 82 83 </sect2> 84 82 83 </sect2> 84 85 85 <sect2 role="commands"> 86 86 <title>Command Explanations</title> 87 87 88 88 <para><command>sed -i -e ... scaffold.c</command>: This command removes an 89 89 obsolete C declaration which causes the build to fail if using 90 90 <application>GCC-3.4.x</application>.</para> 91 92 </sect2> 93 91 92 </sect2> 93 94 94 <sect2 role="configuration"> 95 95 <title>Configuring Tcpwrappers</title> … … 97 97 <sect3 id="tcpwrappers-config"> 98 98 <title>Config Files</title> 99 99 100 100 <para><filename>/etc/hosts.allow</filename> and 101 101 <filename>/etc/hosts.deny</filename></para> 102 102 103 103 <indexterm zone="tcpwrappers tcpwrappers-config"> 104 104 <primary sortas="e-etc-hosts.allow">/etc/hosts.allow</primary> 105 105 </indexterm> 106 106 107 107 <indexterm zone="tcpwrappers tcpwrappers-config"> 108 108 <primary sortas="e-etc-hosts.deny">/etc/hosts.deny</primary> 109 109 </indexterm> 110 110 111 111 <para>File protections: the wrapper, all files used by the wrapper, 112 112 and all directories in the path leading to those files, should be 113 113 accessible but not writable for unprivileged users (mode 755 or mode 114 114 555). Do not install the wrapper set-uid.</para> 115 115 116 116 <para>As the <systemitem class="username">root</systemitem> user, 117 117 perform the following edits on the 118 118 <filename>/etc/inetd.conf</filename> configuration file:</para> 119 119 120 120 <indexterm zone="tcpwrappers tcpwrappers-config"> 121 121 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary> … … 125 125 126 126 <para>becomes:</para> 127 127 128 128 <screen><literal>finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd</literal></screen> 129 129 … … 131 131 <para>The <command>finger</command> server is used as an example here.</para> 132 132 </note> 133 133 134 134 <para>Similar changes must be made if <application>xinetd</application> is 135 used, with the emphasis being on calling <command>/usr/sbin/tcpd</command> 135 used, with the emphasis being on calling <command>/usr/sbin/tcpd</command> 136 136 instead of calling the service daemon directly, and passing the name of the 137 137 service daemon to <command>tcpd</command>.</para> 138 138 139 139 <indexterm zone="tcpwrappers tcpwrappers-config"> 140 140 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary> 141 141 </indexterm> 142 142 143 143 </sect3> 144 145 </sect2> 146 144 145 </sect2> 146 147 147 <sect2 role="content"> 148 148 <title>Contents</title> … … 152 152 <segtitle>Installed Library</segtitle> 153 153 <segtitle>Installed Directories</segtitle> 154 154 155 155 <seglistitem> 156 156 <seg>tcpd, tcpdchk, tcpdmatch, try-from, and safe_finger</seg> … … 159 159 </seglistitem> 160 160 </segmentedlist> 161 161 162 162 <variablelist> 163 163 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 164 164 <?dbfo list-presentation="list"?> 165 165 <?dbhtml list-presentation="table"?> 166 166 167 167 <varlistentry id="tcpd"> 168 168 <term><command>tcpd</command></term> … … 176 176 </listitem> 177 177 </varlistentry> 178 178 179 179 <varlistentry id="tcpdchk"> 180 180 <term><command>tcpdchk</command></term> … … 187 187 </listitem> 188 188 </varlistentry> 189 189 190 190 <varlistentry id="tcpdmatch"> 191 191 <term><command>tcpdmatch</command></term> … … 198 198 </listitem> 199 199 </varlistentry> 200 200 201 201 <varlistentry id="try-from"> 202 202 <term><command>try-from</command></term> … … 209 209 </listitem> 210 210 </varlistentry> 211 211 212 212 <varlistentry id="safe_finger"> 213 213 <term><command>safe_finger</command></term> … … 220 220 </listitem> 221 221 </varlistentry> 222 222 223 223 <varlistentry id="libwrap"> 224 224 <term><filename class='libraryfile'>libwrap.[so,a]</filename></term> … … 232 232 </listitem> 233 233 </varlistentry> 234 234 235 235 </variablelist> 236 236
Note:
See TracChangeset
for help on using the changeset viewer.