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 "3.91 MB">
|
---|
11 | <!ENTITY xinetd-time "0.09 SBU">
|
---|
12 |
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="xinetd.html"?>
|
---|
21 | <title>xinetd-&xinetd-version;</title>
|
---|
22 |
|
---|
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>
|
---|
34 | <listitem><para>Estimated Disk space required: &xinetd-buildsize;</para></listitem>
|
---|
35 | <listitem><para>Estimated build time: &xinetd-time;</para></listitem></itemizedlist>
|
---|
36 | </sect3>
|
---|
37 |
|
---|
38 | <sect3><title><application>xinetd</application> dependencies</title>
|
---|
39 | <sect4><title>Optional</title>
|
---|
40 | <para><xref linkend="tcpwrappers"/></para></sect4>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | </sect2>
|
---|
44 |
|
---|
45 | <sect2>
|
---|
46 | <title>Installation of <application>xinetd</application></title>
|
---|
47 |
|
---|
48 | <para>Install <application>xinetd</application> by running the following
|
---|
49 | commands:</para>
|
---|
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 |
|
---|
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
|
---|
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>
|
---|
80 | init script included in the <xref linkend="intro-important-bootscripts"/>
|
---|
81 | package.</para>
|
---|
82 |
|
---|
83 | <screen><userinput><command>make install-xinetd</command></userinput></screen>
|
---|
84 |
|
---|
85 | <para>Now, use the new boot script to start <command>xinetd</command>: </para>
|
---|
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 |
|
---|
93 | <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
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 |
|
---|
100 | <para>These errors are because most of the servers <command>xinetd</command>
|
---|
101 | is trying to control are not installed yet.</para>
|
---|
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>
|
---|
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>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | </sect1>
|
---|