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