Controlling Access to Your Services with xinetd - page 3
Creatures of the Linux Underworld
Since there are so many distributions that don't come with xinetd already installed by default, I'll go through the process of getting and installing xinetd from its web site. Those who have access to this tool already or through their distribution's package management system might prefer to install from there insteadlook for the distribution version first, that will make your life much easier since it will ensure your distribution knows the program is installed.
Point your browser to the xinetd site, and download the source file. You'll find that it's remarkably small, and that the installation is a pretty standard process. To compile and install this software, do the following:
- Uncompress and unpackage it by typing
tar xzvf xinetd-version*. You might find as I did that, oddly, the file came through with an extra .tar on the end. You'll need to rename the file so that it ends in .tar.gz, not .tar.gz.tar, if that happens to you.
- Change to the directory created during this process.
./configureto run the autoconfiguration routine. You might be told that you need to add particular software packages. If so, do that now, and start Step 3 again.
maketo compile the program. The speed of your machine, its RAM, and what else you're doing all are factors in how long this process will take. However, even on my PIII 450 it took less than five minutes.
make installto put the package and its files into place. This process finishes quite fast.
- If you want to base your xinetd configuration on your current inetd
configuration, then make sure you have Perl installed, and then type
the following as suggested by the xinetd team:
xinetd/xconv.pl < /etc/inetd.conf > /tmp/xinetd.conf
That's the first stage. Notice that your new configuration file was copied into /tmp. Do not try to use the default file. It likely won't work.
- 1Linux Top 3: Fedora 24, Peppermint 7 and Solus 1.2
- 2Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 3Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 4Linux 4.6 Charred Weasel adds USB 3.1 Support
- 5Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader