Xinetd, or the Extended Internet Services Daemon, is a so-called super-server. You can configure it to listen in the place of many services, and start the service that should handle an incoming request only when there it actually arrives to the system – thus saving resources. While this may not seem to be a big deal on a system where traffic is relatively permanent, this service in the front of another approach does have some neat advantages, like logging or access control.
In this article we will install xinetd on a RHEL 8 / CentOS 8, and we’ll put the
sshd daemon under it’s care. After verifying the setup, we’ll tweak the configuration a bit to see the access control in action.
In this tutorial you will learn:
- How to install xinetd
- How to setup sshd on RHEL 8 / CentOS 8 as an xinetd service
- How to allow access only from a specific network to the sshd service from xinetd
- How to audit traffic from xinetd log entries