1*3e2e1df4Schristos# $NetBSD: inetd.conf,v 1.59 2016/10/25 17:16:34 christos Exp $ 261f28255Scgd# 361f28255Scgd# Internet server configuration database 461f28255Scgd# 5ef538c31Smikel# @(#)inetd.conf 8.2 (Berkeley) 3/18/94 661f28255Scgd# 7215e5096Stls#http stream tcp nowait:600 _httpd /usr/libexec/httpd httpd /var/www 8215e5096Stls#http stream tcp6 nowait:600 _httpd /usr/libexec/httpd httpd /var/www 9b88d86b1Ssommerfeld#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll 10b60001d7Sitojun#ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll 11*3e2e1df4Schristos# Note: "-a valid" does not work for older telnet clients that do not support 12*3e2e1df4Schristos# authentication 13d81b2177Schristos#telnet stream tcp nowait root /usr/libexec/telnetd telnetd -a valid 14d81b2177Schristos#telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd -a valid 15fbbc23faSmycroft#shell stream tcp nowait root /usr/libexec/rshd rshd -L 16b60001d7Sitojun#shell stream tcp6 nowait root /usr/libexec/rshd rshd -L 17b88d86b1Ssommerfeld#login stream tcp nowait root /usr/libexec/rlogind rlogind -L 18b60001d7Sitojun#login stream tcp6 nowait root /usr/libexec/rlogind rlogind -L 19867ef8b9Sglass#exec stream tcp nowait root /usr/libexec/rexecd rexecd 2078964c98Sitojun#exec stream tcp6 nowait root /usr/libexec/rexecd rexecd 21392d31ddSelad#finger stream tcp nowait nobody /usr/libexec/fingerd fingerd -lsmu 22392d31ddSelad#finger stream tcp6 nowait nobody /usr/libexec/fingerd fingerd -lsmu 23a73f51dcSchristos#ident stream tcp nowait nobody /usr/libexec/identd identd -l -o OTHER -e -N 24a73f51dcSchristos#ident stream tcp6 nowait nobody /usr/libexec/identd identd -l -o OTHER -e -N 25b88d86b1Ssommerfeld#tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot 26b60001d7Sitojun#tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /tftpboot 27fbbc23faSmycroft#comsat dgram udp wait root /usr/libexec/comsat comsat 28c1d9ab7cSitojun#comsat dgram udp6 wait root /usr/libexec/comsat comsat 29fbbc23faSmycroft#ntalk dgram udp wait nobody:tty /usr/libexec/ntalkd ntalkd 309f19d8f9Sthorpej#bootps dgram udp wait root /usr/sbin/bootpd bootpd 3149a7341dSmrg# 32cf443f35Smrg# Games 3349a7341dSmrg# 34cf443f35Smrg#hunt dgram udp wait nobody /usr/games/huntd huntd 3549a7341dSmrg# 362f3bcc6fSbrezak# Internal services 3749a7341dSmrg# 38ef538c31Smikel#tcpmux stream tcp nowait root internal 3949a7341dSmrg#echo stream tcp nowait nobody internal 40b60001d7Sitojun#echo stream tcp6 nowait nobody internal 4149a7341dSmrg#discard stream tcp nowait nobody internal 42b60001d7Sitojun#discard stream tcp6 nowait nobody internal 4349a7341dSmrg#chargen stream tcp nowait nobody internal 44b60001d7Sitojun#chargen stream tcp6 nowait nobody internal 45fbbc23faSmycroft#daytime stream tcp nowait nobody internal 46b60001d7Sitojun#daytime stream tcp6 nowait nobody internal 47fbbc23faSmycroft#time stream tcp nowait nobody internal 48b60001d7Sitojun#time stream tcp6 nowait nobody internal 4949a7341dSmrg#echo dgram udp wait nobody internal 50b60001d7Sitojun#echo dgram udp6 wait nobody internal 5149a7341dSmrg#discard dgram udp wait nobody internal 52b60001d7Sitojun#discard dgram udp6 wait nobody internal 5349a7341dSmrg#chargen dgram udp wait nobody internal 54b60001d7Sitojun#chargen dgram udp6 wait nobody internal 5549a7341dSmrg#daytime dgram udp wait nobody internal 56b60001d7Sitojun#daytime dgram udp6 wait nobody internal 5749a7341dSmrg#time dgram udp wait nobody internal 58b60001d7Sitojun#time dgram udp6 wait nobody internal 59ef538c31Smikel#qotd stream tcp nowait nobody /usr/games/fortune fortune 60b60001d7Sitojun#qotd stream tcp6 nowait nobody /usr/games/fortune fortune 6149a7341dSmrg# 6261f28255Scgd# Kerberos authenticated services 6349a7341dSmrg# 644fcfb13eScgd#klogin stream tcp nowait root /usr/libexec/rlogind rlogind -k 654fcfb13eScgd#eklogin stream tcp nowait root /usr/libexec/rlogind rlogind -k -x 664fcfb13eScgd#kshell stream tcp nowait root /usr/libexec/rshd rshd -k 6749a7341dSmrg# 6861f28255Scgd# Services run ONLY on the Kerberos server 6949a7341dSmrg# 70ac1bd427Sthorpej#kerberos-adm stream tcp nowait root /usr/libexec/kadmind kadmind 71b60001d7Sitojun#kerberos-adm stream tcp6 nowait root /usr/libexec/kadmind kadmind 72dff641d8Sthorpej#kpasswd dgram udp wait root /usr/libexec/kpasswdd kpasswdd 73dff641d8Sthorpej#kpasswd dgram udp6 wait root /usr/libexec/kpasswdd kpasswdd 7449a7341dSmrg# 756636b19fSthorpej# The hprop service is run on slave KDCs to receive the database from 766636b19fSthorpej# the master KDC. 776636b19fSthorpej#hprop stream tcp nowait root /usr/libexec/hpropd hpropd 78ceb66a17Sthorpej#hprop stream tcp6 nowait root /usr/libexec/hpropd hpropd 796636b19fSthorpej# 802f3bcc6fSbrezak# RPC based services 8149a7341dSmrg# 821840f1faSfvdl#rstatd/1-3 dgram rpc/udp wait:100 nobody:kmem /usr/libexec/rpc.rstatd rpc.rstatd 83a19c4c95Sthorpej#rstatd/1-3 dgram rpc/udp6 wait:100 nobody:kmem /usr/libexec/rpc.rstatd rpc.rstatd 841840f1faSfvdl#rusersd/2-3 dgram rpc/udp wait:100 nobody /usr/libexec/rpc.rusersd rpc.rusersd 85a19c4c95Sthorpej#rusersd/2-3 dgram rpc/udp6 wait:100 nobody /usr/libexec/rpc.rusersd rpc.rusersd 86fbbc23faSmycroft#walld/1 dgram rpc/udp wait nobody:tty /usr/libexec/rpc.rwalld rpc.rwalld 8749a7341dSmrg#sprayd/1 dgram rpc/udp wait nobody /usr/libexec/rpc.sprayd rpc.sprayd 883f0c6192Sbouyer#rquotad/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad 89