2004-06-13 13:38:30 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 13:38:30 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-07-26 01:01:16 +08:00
|
|
|
<!-- Development seems to be over and the xinetd.og site does not seem to exist any more. -->
|
|
|
|
<!-- <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz"> -->
|
|
|
|
<!ENTITY xinetd-download-http " ">
|
2015-10-12 04:28:40 +08:00
|
|
|
<!ENTITY xinetd-download-ftp "&sources-anduin-ftp;/xinetd/xinetd-&xinetd-version;.tar.gz">
|
2012-08-26 11:21:43 +08:00
|
|
|
<!ENTITY xinetd-md5sum "77358478fd58efa6366accae99b8b04c">
|
|
|
|
<!ENTITY xinetd-size "308 KB">
|
|
|
|
<!ENTITY xinetd-buildsize "5.0 MB">
|
2005-11-30 23:44:18 +08:00
|
|
|
<!ENTITY xinetd-time "less than 0.1 SBU">
|
2004-06-13 13:38:30 +08:00
|
|
|
]>
|
|
|
|
|
2002-08-24 09:47:45 +08:00
|
|
|
<sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
2005-05-19 02:27:57 +08:00
|
|
|
<?dbhtml filename="xinetd.html"?>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<title>xinetd-&xinetd-version;</title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd">
|
|
|
|
<primary sortas="a-Xinetd">Xinetd</primary>
|
|
|
|
</indexterm>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to xinetd</title>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para><application>xinetd</application> is the eXtended InterNET services
|
2005-11-30 23:44:18 +08:00
|
|
|
daemon, a secure replacement for <command>inetd</command>.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2016-09-05 05:02:14 +08:00
|
|
|
&lfs7a_checked;
|
2013-07-26 01:01:16 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &xinetd-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &xinetd-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &xinetd-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &xinetd-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<bridgehead renderas="sect3">xinetd Dependencies</bridgehead>
|
2004-07-21 15:36:20 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2014-02-23 03:08:28 +08:00
|
|
|
<para role="optional">
|
|
|
|
<ulink url="ftp://ftp.porcupine.org/pub/security/">TCP wrappers (deprecated)</ulink>
|
|
|
|
</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2006-04-11 02:38:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/xinetd"/></para>
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
</sect2>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of xinetd</title>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para>Install <application>xinetd</application> by running the following
|
|
|
|
commands:</para>
|
2005-03-24 03:19:56 +08:00
|
|
|
|
2014-09-22 03:24:38 +08:00
|
|
|
<screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c &&
|
2014-02-23 03:08:28 +08:00
|
|
|
sed -i -e "/register unsigned count/s/register//" xinetd/itox.c &&
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg &&
|
2005-05-19 02:27:57 +08:00
|
|
|
make</userinput></screen>
|
2005-03-24 03:19:56 +08:00
|
|
|
|
2005-11-30 23:44:18 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
</sect2>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2012-08-26 11:21:43 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2014-02-23 03:08:28 +08:00
|
|
|
<!-- CVE-2013-4342 https://bugzilla.redhat.com/show_bug.cgi?id=1006100 -->
|
|
|
|
<para><command>sed ... xinetd/builtins.c</command>: This command fixes
|
|
|
|
a security issue.</para>
|
2012-08-26 11:21:43 +08:00
|
|
|
|
2014-02-23 03:08:28 +08:00
|
|
|
<para><command>sed ... xinetd/itox.c</command>: This command fixes some
|
|
|
|
compiler warnings.</para>
|
2012-08-26 11:21:43 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring xinetd</title>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect3 id="xinetd-config">
|
|
|
|
<title>Config Files</title>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-11-30 23:44:18 +08:00
|
|
|
<para><filename>/etc/xinetd.conf</filename> and
|
2014-02-23 03:08:28 +08:00
|
|
|
<filename class="directory">/etc/xinetd.d/*</filename></para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
|
|
|
</indexterm>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-11-30 23:44:18 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d">/etc/xinetd.d/*</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
</sect3>
|
2005-04-01 13:31:37 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>Ensure the path to all daemons is
|
|
|
|
<filename class="directory">/usr/sbin</filename>, rather than the default
|
2012-08-26 11:21:43 +08:00
|
|
|
path of <filename class="directory">/usr/bin</filename>, and install the
|
2005-05-19 02:27:57 +08:00
|
|
|
<application>xinetd</application> configuration files by running the
|
|
|
|
following commands as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>cat > /etc/xinetd.conf << "EOF"
|
|
|
|
<literal># Begin /etc/xinetd
|
2005-04-01 13:31:37 +08:00
|
|
|
# Configuration file for xinetd
|
|
|
|
|
|
|
|
defaults
|
|
|
|
{
|
|
|
|
instances = 60
|
|
|
|
log_type = SYSLOG daemon
|
|
|
|
log_on_success = HOST PID USERID
|
|
|
|
log_on_failure = HOST USERID
|
|
|
|
cps = 25 30
|
|
|
|
}
|
|
|
|
|
|
|
|
# All service files are stored in the /etc/xinetd.d directory
|
2012-08-26 11:21:43 +08:00
|
|
|
|
2005-04-01 13:31:37 +08:00
|
|
|
includedir /etc/xinetd.d
|
2012-08-26 11:21:43 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd</literal>
|
|
|
|
EOF</userinput></screen>
|
|
|
|
|
|
|
|
<para>All of the following files have the statement, "disable = yes".
|
|
|
|
To activate any of the services, this statement will need to be changed
|
|
|
|
to "disable = no".</para>
|
|
|
|
|
|
|
|
<note>
|
2012-08-26 11:21:43 +08:00
|
|
|
<para>The following files are listed to demonstrate several
|
2005-05-19 02:27:57 +08:00
|
|
|
<application>xinetd</application> applications. In many cases, these
|
2012-08-26 11:21:43 +08:00
|
|
|
applications are not needed. Some classic applications are
|
2005-05-19 02:27:57 +08:00
|
|
|
considered security risks. For example, <command>telnet</command>,
|
|
|
|
<command>rlogin</command>, <command>rexec</command>, and
|
|
|
|
<command>rsh</command> transmit unencrypted usernames and passwords
|
|
|
|
over the network and can be easily replaced with a more secure
|
|
|
|
alternative: <command>ssh</command>.</para>
|
|
|
|
</note>
|
|
|
|
|
2007-07-07 05:22:19 +08:00
|
|
|
<screen role="root"><?dbfo keep-together="auto"?><userinput>install -v -d -m755 /etc/xinetd.d &&
|
2005-04-01 13:31:37 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
cat > /etc/xinetd.d/systat << "EOF" &&
|
|
|
|
<literal># Begin /etc/xinetd.d/systat
|
2005-04-01 13:31:37 +08:00
|
|
|
|
|
|
|
service systat
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = nobody
|
2014-02-23 03:08:28 +08:00
|
|
|
server = /bin/ps
|
2005-04-01 13:31:37 +08:00
|
|
|
server_args = -auwwx
|
|
|
|
only_from = 128.138.209.0
|
|
|
|
log_on_success = HOST
|
|
|
|
}
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd.d/systat</literal>
|
|
|
|
EOF
|
2005-04-01 13:31:37 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
cat > /etc/xinetd.d/echo << "EOF" &&
|
|
|
|
<literal># Begin /etc/xinetd.d/echo
|
2005-04-01 13:31:37 +08:00
|
|
|
|
|
|
|
service echo
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = echo-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service echo
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = echo-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd.d/echo</literal>
|
|
|
|
EOF
|
2012-08-26 11:21:43 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
cat > /etc/xinetd.d/chargen << "EOF" &&
|
|
|
|
<literal># Begin /etc/xinetd.d/chargen
|
2005-04-01 13:31:37 +08:00
|
|
|
|
|
|
|
service chargen
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = chargen-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service chargen
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = chargen-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd.d/chargen</literal>
|
|
|
|
EOF
|
2012-08-26 11:21:43 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
cat > /etc/xinetd.d/daytime << "EOF" &&
|
|
|
|
<literal># Begin /etc/xinetd.d/daytime
|
2005-04-01 13:31:37 +08:00
|
|
|
|
|
|
|
service daytime
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = daytime-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service daytime
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = daytime-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd.d/daytime</literal>
|
|
|
|
EOF
|
2013-12-31 05:30:33 +08:00
|
|
|
<!-- The last one without && -->
|
|
|
|
cat > /etc/xinetd.d/time << "EOF"
|
2005-05-19 02:27:57 +08:00
|
|
|
<literal># Begin /etc/xinetd.d/time
|
2005-04-01 13:31:37 +08:00
|
|
|
|
|
|
|
service time
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = time-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service time
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = time-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
# End /etc/xinetd.d/time</literal>
|
|
|
|
EOF</userinput></screen>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-login">/etc/xinetd.d/login</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-shell">/etc/xinetd.d/shell</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-exec">/etc/xinetd.d/exec</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-comsat">/etc/xinetd.d/comsat</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-talk">/etc/xinetd.d/talk</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-ntalk">/etc/xinetd.d/ntalk</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-telnet">/etc/xinetd.d/telnet</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-ftp">/etc/xinetd.d/ftp</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-tftp">/etc/xinetd.d/tftp</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-systat">/etc/xinetd.d/systat</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-finger">/etc/xinetd.d/finger</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-netstat">/etc/xinetd.d/netstat</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-echo">/etc/xinetd.d/echo</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-chargen">/etc/xinetd.d/chargen</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-daytime">/etc/xinetd.d/daytime</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-time">/etc/xinetd.d/time</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-rstatd">/etc/xinetd.d/rstatd</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-rquotad">/etc/xinetd.d/rquotad</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-ruserd">/etc/xinetd.d/ruserd</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-sprayd">/etc/xinetd.d/sprayd</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-walld">/etc/xinetd.d/walld</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.d-irc">/etc/xinetd.d/irc</primary>
|
|
|
|
</indexterm>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para>The format of the <filename>/etc/xinetd.conf</filename> is
|
2013-12-13 18:17:49 +08:00
|
|
|
documented in the <filename>xinetd.conf.5</filename> man page.
|
2015-11-13 22:24:57 +08:00
|
|
|
<!-- 13-12-12 the http://www.xinetd.org is broken
|
2013-12-13 18:17:49 +08:00
|
|
|
Further
|
|
|
|
information can be found at <ulink url="http://www.xinetd.org"/>.
|
|
|
|
-->
|
|
|
|
</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
</sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<sect3 id="xinetd-init">
|
2016-06-12 02:14:42 +08:00
|
|
|
<title><phrase revision="sysv">Boot Script</phrase>
|
|
|
|
<phrase revision="systemd">Systemd Unit</phrase></title>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para>As the <systemitem class="username">root</systemitem> user, install
|
2016-06-12 02:14:42 +08:00
|
|
|
the <phrase revision="sysv"><filename>/etc/rc.d/init.d/xinetd</filename>
|
|
|
|
init script</phrase>
|
|
|
|
<phrase revision="systemd"><filename>xinetd.service</filename>
|
|
|
|
unit</phrase> included in
|
2016-06-04 08:20:40 +08:00
|
|
|
the <xref linkend="bootscripts" revision="sysv"/>
|
|
|
|
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
2005-04-02 16:29:35 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<indexterm zone="xinetd xinetd-init">
|
|
|
|
<primary sortas="f-xinetd">xinetd</primary>
|
|
|
|
</indexterm>
|
2004-07-21 15:36:20 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<screen role="root"><userinput>make install-xinetd</userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-05-19 02:27:57 +08:00
|
|
|
<para>As the <systemitem class="username">root</systemitem> user,
|
2016-06-12 02:14:42 +08:00
|
|
|
use the <phrase revision="sysv">new boot script</phrase>
|
|
|
|
<phrase revision="systemd"><command>systemctl</command> command</phrase>
|
|
|
|
to start <command>xinetd</command>:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2016-06-12 02:14:42 +08:00
|
|
|
<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2016-06-12 02:14:42 +08:00
|
|
|
<screen role="root" revision="systemd"><userinput>systemctl start xinetd</userinput></screen>
|
|
|
|
|
|
|
|
<para>Check the
|
|
|
|
<phrase revision="sysv"><filename>/var/log/daemon.log</filename></phrase>
|
|
|
|
<phrase revision="systemd"><command>journalctl</command> output</phrase>
|
|
|
|
to ensure the appropriate services are started. If no services are
|
|
|
|
enabled, the program will not start without the
|
|
|
|
<option>-stayalive</option> option.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2012-08-26 11:21:43 +08:00
|
|
|
<!--
|
2005-05-19 02:27:57 +08:00
|
|
|
<screen><literal>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
2004-06-13 13:38:30 +08:00
|
|
|
executable [line=29]
|
|
|
|
Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
|
|
|
DISABLING SERVICE [line=29]
|
|
|
|
Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
2005-05-19 02:27:57 +08:00
|
|
|
executable [line=42]</literal></screen>
|
|
|
|
|
|
|
|
<para>These errors are because most of the servers
|
|
|
|
<command>xinetd</command> is trying to control are not
|
|
|
|
installed yet.</para>
|
2012-08-26 11:21:43 +08:00
|
|
|
-->
|
2005-05-19 02:27:57 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>itox, xconv.pl, and xinetd</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>/etc/xinetd.d/</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="itox">
|
|
|
|
<term><command>itox</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a utility used for converting
|
|
|
|
<filename>inetd.conf</filename> files to
|
|
|
|
<filename>xinetd.conf</filename> format.</para>
|
|
|
|
<indexterm zone="xinetd itox">
|
|
|
|
<primary sortas="b-itox">itox</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xconv.pl">
|
|
|
|
<term><command>xconv.pl</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a <application>Perl</application> script used for
|
|
|
|
converting <filename>inetd.conf</filename> files to
|
|
|
|
<filename>xinetd.conf</filename> format, similar to
|
|
|
|
<command>itox</command>.</para>
|
|
|
|
<indexterm zone="xinetd xconv.pl">
|
|
|
|
<primary sortas="b-xconv.pl">xconv.pl</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xinetd-prog">
|
|
|
|
<term><command>xinetd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the Internet services daemon.</para>
|
|
|
|
<indexterm zone="xinetd xinetd-prog">
|
|
|
|
<primary sortas="b-xinetd">xinetd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|