[0931098] | 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 xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz">
|
---|
| 8 | <!ENTITY xinetd-download-ftp " ">
|
---|
| 9 | <!ENTITY xinetd-size "291 KB">
|
---|
[b0c67c8b] | 10 | <!ENTITY xinetd-buildsize "3.91 MB">
|
---|
| 11 | <!ENTITY xinetd-time "0.09 SBU">
|
---|
[0931098] | 12 |
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[5f5a393] | 15 | <sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[00bb024c] | 20 | <?dbhtml filename="xinetd.html"?>
|
---|
[5f5a393] | 21 | <title>xinetd-&xinetd-version;</title>
|
---|
[f45b1953] | 22 |
|
---|
[0931098] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>xinetd</application></title>
|
---|
| 25 |
|
---|
| 26 | <para><application>xinetd</application> is the eXtended InterNET services
|
---|
| 27 | Daemon, a secure replacement for <command>inetd</command>.</para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &xinetd-size;</para></listitem>
|
---|
[518538f] | 34 | <listitem><para>Estimated disk space required: &xinetd-buildsize;</para></listitem>
|
---|
[0931098] | 35 | <listitem><para>Estimated build time: &xinetd-time;</para></listitem></itemizedlist>
|
---|
| 36 | </sect3>
|
---|
| 37 |
|
---|
[620a57e] | 38 | <sect3><title><application>xinetd</application> dependencies</title>
|
---|
| 39 | <sect4><title>Optional</title>
|
---|
| 40 | <para><xref linkend="tcpwrappers"/></para></sect4>
|
---|
| 41 | </sect3>
|
---|
| 42 |
|
---|
[0931098] | 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2>
|
---|
| 46 | <title>Installation of <application>xinetd</application></title>
|
---|
| 47 |
|
---|
[620a57e] | 48 | <para>Install <application>xinetd</application> by running the following
|
---|
| 49 | commands:</para>
|
---|
[0931098] | 50 |
|
---|
| 51 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 52 | make &&
|
---|
| 53 | make install</command></userinput></screen>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Configuring <application>xinetd</application></title>
|
---|
| 59 |
|
---|
| 60 | <sect3><title>Config files</title>
|
---|
| 61 | <para><filename>/etc/xinetd.conf</filename></para>
|
---|
| 62 | </sect3>
|
---|
| 63 |
|
---|
| 64 | <sect3><title>Configuration Information</title>
|
---|
| 65 |
|
---|
[620a57e] | 66 | <para>Ensure the path to all daemons is
|
---|
| 67 | <filename class="directory">/usr/sbin</filename>, rather than the default path
|
---|
| 68 | of <filename class="directory">/usr/etc</filename>, and install the
|
---|
| 69 | <application>xinetd</application> configuration file by running the following
|
---|
[0931098] | 70 | command:</para>
|
---|
| 71 |
|
---|
| 72 | <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command>
|
---|
| 73 | </userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
| 76 | documented in the xinetd.conf man page. Further information can be
|
---|
| 77 | found at <ulink url="http://www.xinetd.org"/>.</para>
|
---|
| 78 |
|
---|
| 79 | <para>Install the <filename>/etc/rc.d/init.d/xinetd</filename>
|
---|
[620a57e] | 80 | init script included in the <xref linkend="intro-important-bootscripts"/>
|
---|
| 81 | package.</para>
|
---|
| 82 |
|
---|
[0931098] | 83 | <screen><userinput><command>make install-xinetd</command></userinput></screen>
|
---|
| 84 |
|
---|
[620a57e] | 85 | <para>Now, use the new boot script to start <command>xinetd</command>: </para>
|
---|
[0931098] | 86 |
|
---|
| 87 | <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
| 90 | should prove quite entertaining. This file may contain entries
|
---|
| 91 | similar to the following:</para>
|
---|
| 92 |
|
---|
[620a57e] | 93 | <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
[0931098] | 94 | executable [line=29]
|
---|
| 95 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
| 96 | DISABLING SERVICE [line=29]
|
---|
| 97 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
| 98 | executable [line=42]</userinput></screen>
|
---|
| 99 |
|
---|
[620a57e] | 100 | <para>These errors are because most of the servers <command>xinetd</command>
|
---|
| 101 | is trying to control are not installed yet.</para>
|
---|
[0931098] | 102 |
|
---|
| 103 | </sect3>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2>
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <para>The <application>xinetd</application> package contains
|
---|
| 111 | <command>xinetd</command>,
|
---|
| 112 | <command>itox</command> and
|
---|
| 113 | <command>xconv.pl</command>.</para></sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2><title>Description</title>
|
---|
| 116 |
|
---|
| 117 | <sect3><title>xinetd</title>
|
---|
| 118 | <para><command>xinetd</command> is the Internet services daemon.</para></sect3>
|
---|
| 119 |
|
---|
| 120 | <sect3><title>itox</title>
|
---|
| 121 | <para><command>itox</command> is a utility used for converting
|
---|
| 122 | <filename>inetd.conf</filename> files to
|
---|
| 123 | <filename>xinetd.conf</filename> format.</para></sect3>
|
---|
| 124 |
|
---|
| 125 | <sect3><title>xconv.pl</title>
|
---|
[620a57e] | 126 | <para><command>xconv.pl</command> is a <application>Perl</application> script
|
---|
| 127 | used for converting <filename>inetd.conf</filename> files to
|
---|
| 128 | <filename>xinetd.conf</filename> format, similar to
|
---|
| 129 | <command>itox</command>.</para></sect3>
|
---|
[0931098] | 130 |
|
---|
| 131 | </sect2>
|
---|
[f45b1953] | 132 |
|
---|
| 133 | </sect1>
|
---|