I was playing around with the xinetd configuration as it appears that xinetd is compiled with support for libwrap.
While not as convoluted as using inetd, it looks like xinetd does support use of the hosts.deny and hosts.allow pair of files that must be created inside the /etc directory.
Use of the two files creates a very tight system of access control lists which can shut you out of your machine if you aren’t careful.
While those work out okay, I noticed in the log that
Jan 30 14:04:24 www sudo: user : TTY=ttyp1 ; PWD=/private/etc ; USER=root ; COMMAND=/usr/sbin/xinetd -sighup
Jan 30 14:04:26 www xinetd[16102]: Error reading included directory: /etc/xinetd.d [line=11]
Jan 30 14:04:26 www xinetd[16102]: 16102 {init_services} no services. Exiting…
Any idea why this error appears? There was a post about this earlier but no resolution… permissions all match and nothing else seems to be out of order.
Cheers.