How inetd Works
Listens on ports, waiting for connections
When connection arrives, HP-UX checks against security file /var/adm/inetd.sec to allow or deny access
Linux uses tcpd for the same purpose: /etc/hosts.{allow,deny}
Sets up socket connection
Invokes server process and transfers control to it