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