xinetd is the eXtended InterNET services Daemon, a secure replacement for inetd.
Download (HTTP): http://www.xinetd.org/xinetd-2.3.13.tar.gz
Download (FTP): ftp://gd.tuwien.ac.at/infosys/servers/xinetd/xinetd-2.3.13.tar.gz
Download size: 291 KB
Estimated Disk space required: 5.5 MB
Estimated build time: 0.12 SBU
Install xinetd by running the following commands:
./configure --prefix=/usr &&
make &&
make install
Insure the path to all daemons are in /usr/sbin, rather than the default path of /usr/etc:
sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf
The format of the /etc/xinetd.conf is documented in the xinetd.conf man page. Further information can be found at http://www.xinetd.org.
Install /etc/rc.d/init.d/xinetd init script included in the blfs-bootscripts-5.1 package.
make install-xinetd
Now, we'll use our new boot script to start xinetd:
/etc/rc.d/init.d/xinetd start
Checking the /var/log/daemon.log file should prove quite entertaining. This file may contain entries similar to the following:
Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 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 executable [line=42]
These errors are due to the fact that we don't have most of the servers that xinetd is trying to control installed yet.
The xinetd package contains xinetd, itox and xconv.pl.