busybox/examples/inetd.conf
<<
>>
Prefs
   1# /etc/inetd.conf:  see inetd(8) for further informations.
   2#
   3# Internet server configuration database
   4#
   5#
   6# If you want to disable an entry so it isn't touched during
   7# package updates just comment it out with a single '#' character.
   8#
   9# If you make changes to this file, either reboot your machine or
  10# send the inetd process a HUP signal:
  11# Do a "ps x" as root and look up the pid of inetd. Then do a
  12#     kill -HUP <pid of inetd>
  13# inetd will re-read this file whenever it gets that signal.
  14# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
  15#
  16#:INTERNAL: Internal services
  17# It is generally considered safer to keep these off.
  18echo     stream  tcp    nowait  root    internal
  19echo     dgram   udp    wait    root    internal
  20#discard  stream  tcp   nowait  root    internal
  21#discard  dgram   udp   wait    root    internal
  22daytime  stream  tcp    nowait  root    internal
  23daytime  dgram   udp    wait    root    internal
  24#chargen  stream  tcp   nowait  root    internal
  25#chargen  dgram   udp   wait    root    internal
  26time     stream  tcp    nowait  root    internal
  27time     dgram   udp    wait    root    internal
  28
  29# These are standard services.
  30#
  31#ftp    stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd
  32#telnet stream  tcp     nowait  root    /sbin/telnetd   /sbin/telnetd
  33#nntp   stream  tcp     nowait  root    tcpd    in.nntpd
  34#smtp  stream  tcp     nowait  root    tcpd    sendmail -v
  35#
  36# Shell, login, exec and talk are BSD protocols.
  37#
  38# If you run an ntalk daemon (such as netkit-ntalk) on the old talk
  39# port, that is, "talk" as opposed to "ntalk", it won't work and may
  40# cause certain broken talk clients to malfunction.
  41#
  42# The talkd from netkit-ntalk 0.12 and higher, however, can speak the
  43# old talk protocol and can be used safely.
  44#
  45#shell  stream  tcp     nowait  root    /usr/sbin/tcpd  in.rshd -L
  46#login  stream  tcp     nowait  root    /usr/sbin/tcpd  in.rlogind -L
  47#exec   stream  tcp     nowait  root    /usr/sbin/tcpd  in.rexecd
  48#talk   dgram   udp     wait    root    /usr/sbin/tcpd  in.talkd
  49#ntalk  dgram   udp     wait    root    /usr/sbin/tcpd  in.talkd
  50#
  51# Pop et al
  52# Leave these off unless you're using them.
  53#pop2   stream  tcp     nowait  root    /usr/sbin/tcpd  in.pop2d
  54#pop3   stream  tcp     nowait  root    /usr/sbin/tcpd  in.pop3d
  55#
  56# The Internet UUCP service.
  57# uucp  stream  tcp     nowait  uucp    /usr/sbin/tcpd  /usr/lib/uucp/uucico    -l
  58#
  59# Tftp service is provided primarily for booting.  Most sites
  60# run this only on machines acting as "boot servers." If you don't
  61# need it, don't use it.
  62#
  63#tftp   dgram   udp     wait    nobody  /usr/sbin/tcpd  in.tftpd
  64#bootps dgram   udp     wait    root    /usr/sbin/in.bootpd     in.bootpd
  65#
  66# Finger, systat and netstat give out user information which may be
  67# valuable to potential "system crackers."  Many sites choose to disable
  68# some or all of these services to improve security.
  69#
  70#finger stream  tcp     nowait  nobody  /usr/sbin/tcpd  in.fingerd -w
  71#systat stream  tcp     nowait  nobody  /usr/sbin/tcpd  /bin/ps -auwwx
  72#netstat        stream  tcp     nowait  root    /bin/netstat    /bin/netstat    -a
  73#ident  stream  tcp     nowait  root    /usr/sbin/in.identd     in.identd
  74