becoming a generalist lecture in color

Being a generalist

Example: daemons

Four ways to start a daemon:

init and /etc/inittab

Common pattern: restarting a meta-daemon

inetd and inetd.conf

services and /etc/services

protocols and /etc/protocols

The numbers game:

Structure of a network connection:

Watch out:

Some ports are special

TCP wrappers

Installing TCP wrappers

  1. put the tcpd program into the same directory as the daemon.
  2. edit /etc/inetd.conf to call tcpd instead of the real daemon.
  3. edit /etc/hosts.allow and /etc/hosts.deny to tell which daemons to allow or deny access to. Most people just use hosts.allow.

Example: andante telnet:

Starting inetd:

Third way of starting a daemon: cron

User interfaces to cron

The point


lecture in color

/comp/150NET/notes/general.php
downloaded on Nov-23-2009 02:59:18 PM,
was last modified on Feb-17-2004 10:48:07 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University