Inetd

Basic Philosophey

Start with an inetd.conf file that is completely commented out. Then add only the services that you need.

  • Services that you probably want are: (taken from a stock redhat 4.0 machine)
    telnet	stream  tcp 	nowait  root    /usr/sbin/tcpd	in.telnetd
    ftp	stream	tcp	nowait	root	/usr/sbin/tcpd	in.ftpd -l -a
    
  • Things that open your machine up for .rhosts attacks:
    shell	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rshd
    login	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rlogind
    
  • Things that have no reason running on your machine
    gopher	stream  tcp 	nowait  root    /usr/sbin/tcpd	gn
    

    ACM@UIUC Main Page