3
0

inetd.conf 772 B

123456789101112131415161718
  1. # [ADDR:]service_name must be in /etc/services, or port number
  2. # socket_type stream/dgram/raw/rdm/seqpacket
  3. # protocol tcp/udp
  4. # wait/nowait[.max] wait is usually for udp, nowait for tcp
  5. # max: max copies to run
  6. # user[.group] or user[:group] user and group to run under
  7. # binary program to run
  8. # arg0 arg1 arg2... arguments, INCLUDING program name (arg0)
  9. # serv socket pro w/nw user binary args
  10. # IPv6
  11. 555 dgram udp6 wait root echo echo Hello IPv6 udp world
  12. # ...with ADDR prefix:
  13. ::1:444 stream tcp6 nowait root echo echo Hello IPv6 localhost
  14. # Rarely seen case: tcp *wait* service
  15. telnet stream tcp wait root telnetd telnetd -w10