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-md5sum "4295b5fe12350f09b5892b363348ac8b">
|
---|
10 | <!ENTITY xinetd-size "291 KB">
|
---|
11 | <!ENTITY xinetd-buildsize "4.12 MB">
|
---|
12 | <!ENTITY xinetd-time "0.11 SBU">
|
---|
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 | <indexterm zone="xinetd">
|
---|
23 | <primary sortas="a-Xinetd">Xinetd</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>xinetd</application></title>
|
---|
27 |
|
---|
28 | <para><application>xinetd</application> is the eXtended InterNET services
|
---|
29 | Daemon, a secure replacement for <command>inetd</command>.</para>
|
---|
30 |
|
---|
31 | <sect3><title>Package information</title>
|
---|
32 | <itemizedlist spacing='compact'>
|
---|
33 | <listitem><para>Download (HTTP):
|
---|
34 | <ulink url="&xinetd-download-http;"/></para></listitem>
|
---|
35 | <listitem><para>Download (FTP):
|
---|
36 | <ulink url="&xinetd-download-ftp;"/></para></listitem>
|
---|
37 | <listitem><para>Download MD5 sum: &xinetd-md5sum;</para></listitem>
|
---|
38 | <listitem><para>Download size: &xinetd-size;</para></listitem>
|
---|
39 | <listitem><para>Estimated disk space required:
|
---|
40 | &xinetd-buildsize;</para></listitem>
|
---|
41 | <listitem><para>Estimated build time:
|
---|
42 | &xinetd-time;</para></listitem></itemizedlist>
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | <sect3><title><application>xinetd</application> dependencies</title>
|
---|
46 | <sect4><title>Optional</title>
|
---|
47 | <para><xref linkend="tcpwrappers"/></para>
|
---|
48 | </sect4>
|
---|
49 | </sect3>
|
---|
50 |
|
---|
51 | </sect2>
|
---|
52 |
|
---|
53 | <sect2>
|
---|
54 | <title>Installation of <application>xinetd</application></title>
|
---|
55 |
|
---|
56 | <para>Install <application>xinetd</application> by running the following
|
---|
57 | commands:</para>
|
---|
58 |
|
---|
59 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
60 | make</command></userinput></screen>
|
---|
61 |
|
---|
62 | <para>Now, as the root user:</para>
|
---|
63 |
|
---|
64 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
65 |
|
---|
66 | </sect2>
|
---|
67 |
|
---|
68 | <sect2>
|
---|
69 | <title>Configuring <application>xinetd</application></title>
|
---|
70 |
|
---|
71 | <sect3 id="xinetd-config"><title>Config files</title>
|
---|
72 | <para><filename>/etc/xinetd.conf</filename></para>
|
---|
73 | <indexterm zone="xinetd xinetd-config">
|
---|
74 | <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
|
---|
75 | </sect3>
|
---|
76 |
|
---|
77 | <sect3><title>Configuration Information</title>
|
---|
78 |
|
---|
79 | <para>Ensure the path to all daemons is
|
---|
80 | <filename class="directory">/usr/sbin</filename>, rather than the default path
|
---|
81 | of <filename class="directory">/usr/etc</filename>, and install the
|
---|
82 | <application>xinetd</application> configuration file by running the following
|
---|
83 | command as the root user:</para>
|
---|
84 |
|
---|
85 | <screen><userinput role='root'><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command>
|
---|
86 | </userinput></screen>
|
---|
87 |
|
---|
88 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
89 | documented in the <filename>xinetd.conf.5</filename> man page. Further
|
---|
90 | information can be found at <ulink url="http://www.xinetd.org"/>.</para>
|
---|
91 |
|
---|
92 | <para id="xinetd-init">As the root user, install the
|
---|
93 | <filename>/etc/rc.d/init.d/xinetd</filename> init script included in the
|
---|
94 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
95 | <indexterm zone="xinetd xinetd-init">
|
---|
96 | <primary sortas="f-xinetd">xinetd</primary></indexterm>
|
---|
97 |
|
---|
98 | <screen><userinput role='root'><command>make install-xinetd</command></userinput></screen>
|
---|
99 |
|
---|
100 | <para>As the root user, use the new boot script to start
|
---|
101 | <command>xinetd</command>:</para>
|
---|
102 |
|
---|
103 | <screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
---|
104 |
|
---|
105 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
106 | should prove quite entertaining. This file may contain entries
|
---|
107 | similar to the following:</para>
|
---|
108 |
|
---|
109 | <screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
110 | executable [line=29]
|
---|
111 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
112 | DISABLING SERVICE [line=29]
|
---|
113 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
114 | executable [line=42]</screen>
|
---|
115 |
|
---|
116 | <para>These errors are because most of the servers <command>xinetd</command>
|
---|
117 | is trying to control are not installed yet.</para>
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2>
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <segmentedlist>
|
---|
126 | <segtitle>Installed Programs</segtitle>
|
---|
127 | <segtitle>Installed Libraries</segtitle>
|
---|
128 | <segtitle>Installed Directories</segtitle>
|
---|
129 |
|
---|
130 | <seglistitem>
|
---|
131 | <seg>itox, xconv.pl and xinetd</seg>
|
---|
132 | <seg>None</seg>
|
---|
133 | <seg>None</seg>
|
---|
134 | </seglistitem>
|
---|
135 | </segmentedlist>
|
---|
136 |
|
---|
137 | <variablelist>
|
---|
138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
139 | <?dbfo list-presentation="list"?>
|
---|
140 |
|
---|
141 | <varlistentry id="itox">
|
---|
142 | <term><command>itox</command></term>
|
---|
143 | <listitem><para>is a utility used for converting
|
---|
144 | <filename>inetd.conf</filename> files to
|
---|
145 | <filename>xinetd.conf</filename> format.</para>
|
---|
146 | <indexterm zone="xinetd itox">
|
---|
147 | <primary sortas="b-itox">itox</primary>
|
---|
148 | </indexterm></listitem>
|
---|
149 | </varlistentry>
|
---|
150 |
|
---|
151 | <varlistentry id="xconv.pl">
|
---|
152 | <term><command>xconv.pl</command></term>
|
---|
153 | <listitem><para>is a <application>Perl</application> script used for
|
---|
154 | converting <filename>inetd.conf</filename> files to
|
---|
155 | <filename>xinetd.conf</filename> format, similar to
|
---|
156 | <command>itox</command>.</para>
|
---|
157 | <indexterm zone="xinetd xconv.pl">
|
---|
158 | <primary sortas="b-xconv.pl">xconv.pl</primary>
|
---|
159 | </indexterm></listitem>
|
---|
160 | </varlistentry>
|
---|
161 |
|
---|
162 | <varlistentry id="xinetd-prog">
|
---|
163 | <term><command>xinetd</command></term>
|
---|
164 | <listitem><para>is the Internet services daemon.</para>
|
---|
165 | <indexterm zone="xinetd xinetd-prog">
|
---|
166 | <primary sortas="b-xinetd">xinetd</primary>
|
---|
167 | </indexterm></listitem>
|
---|
168 | </varlistentry>
|
---|
169 | </variablelist>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | </sect1>
|
---|