TCP/IP Services


 

Overview

Services such as ftp and rlogin are started by the inetd daemon, which runs automatically at boot time. Like the name service ordering specified in nsswitch.conf, you can configure TCP/IP services in the file /etc/inetd.conf by using the inetd -t flag.

For example, you can use inetd to log the IP addresses of all incoming TCP connections remote(logins and telnet) as shown in the following procedure.

 


 

Log Incoming IP Addresses

  1. Become superuser.

  2. Kill the inetd daemon.

  3. Turn logging on by typing the following command:

    # /usr/sbin/inetd -t -s


 

Home