# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# It is generally considered safer to keep these off.
#echo     stream  tcp6	nowait	root	internal
#echo     stream  tcp	nowait	root	internal
#echo     dgram   udp6	wait	root	internal
#echo     dgram   udp	wait	root	internal
#discard  stream  tcp6	nowait	root	internal
#discard  stream  tcp	nowait	root	internal
#discard  dgram   udp6	wait	root	internal
#discard  dgram   udp	wait	root	internal
#daytime  stream  tcp6	nowait	root	internal
#daytime  stream  tcp	nowait	root	internal
#daytime  dgram   udp6	wait	root	internal
#daytime  dgram   udp	wait	root	internal
#chargen  stream  tcp6	nowait	root	internal
#chargen  stream  tcp	nowait	root	internal
#chargen  dgram   udp6	wait	root	internal
#chargen  dgram   udp	wait	root	internal
#time     stream  tcp6	nowait	root	internal
#time     stream  tcp	nowait	root	internal
#time     dgram   udp6	wait	root	internal
#time     dgram   udp	wait	root	internal
#
# These are standard services.
#
ftp	stream	tcp6	nowait	root	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.ftpd
ftp	stream	tcp	nowait	root	/usr/sbin/tcpd	in.ftpd
telnet	stream  tcp6	nowait  root    /usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.telnetd
telnet	stream  tcp	nowait  root    /usr/sbin/tcpd	in.telnetd
# nntp	stream	tcp	nowait	root	tcpd		in.nntpd
# smtp  stream  tcp	nowait  root    tcpd    	sendmail -v
#
# Shell, login, exec and talk are BSD protocols.
#
# If you run an ntalk daemon (such as netkit-ntalk) on the old talk 
# port, that is, "talk" as opposed to "ntalk", it won't work and may
# cause certain broken talk clients to malfunction.
#
# The talkd from netkit-ntalk 0.12 and higher, however, can speak the
# old talk protocol and can be used safely.
#
# The talkd for ipv6 and one for ipv4 should NOT be run at the same time.
#
#shell	stream	tcp6	nowait	root	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.rshd -L
#shell	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rshd -L
login	stream	tcp6	nowait	root	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.rlogind -L
login	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rlogind -L
#exec	stream	tcp6	nowait	root	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.rexecd
#exec	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rexecd
# talk	dgram	udp	wait	root	/usr/sbin/tcpd	in.talkd
ntalk	dgram	udp46	wait	root	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.talkd
#ntalk	dgram	udp	wait	root	/usr/sbin/tcpd	in.talkd
#
# Kerberos authenticated services
#
# klogin	stream	tcp	nowait	root	/usr/sbin/tcpd	rlogind -k
# eklogin	stream	tcp	nowait	root	/usr/sbin/tcpd	rlogind -k -x
# kshell	stream	tcp	nowait	root	/usr/sbin/tcpd	rshd -k
#
# Services run ONLY on the Kerberos server
#
# krbupdate	stream	tcp	nowait	root	/usr/sbin/tcpd	registerd
# kpasswd	stream	tcp	nowait	root	/usr/sbin/tcpd	kpasswdd
#
# Pop et al
# Leave these off unless you're using them.
#
#pop2	stream	tcp	nowait	root	/usr/sbin/tcpd	in.pop2d
#pop3	stream	tcp	nowait	root	/usr/sbin/tcpd	in.pop3d
#
# Comsat - asynchronous new mail notification. Recommended to leave it off.
#
# comsat	dgram	udp6	wait	root	/usr/local/v6/sbin/in.comsat
# comsat	dgram	udp	wait	root	/usr/sbin/tcpd	in.comsat
#
# The Internet UUCP service.
#
# uucp	stream	tcp	nowait	uucp	/usr/sbin/tcpd	/usr/lib/uucp/uucico	-l
#
# Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers." If you don't
# need it, don't use it. 
#
# tftp	dgram	udp6	wait	nobody	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.tftpd
# tftp	dgram	udp	wait	nobody	/usr/sbin/tcpd	in.tftpd
# bootps	dgram	udp	wait	root	/usr/sbin/in.bootpd	in.bootpd
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers."  Many sites choose to disable 
# some or all of these services to improve security.
#
finger	stream	tcp6	nowait	nobody	/usr/local/v6/sbin/tcpd /usr/local/v6/sbin/in.fingerd -w
finger	stream	tcp	nowait	nobody	/usr/sbin/tcpd	in.fingerd -w
#systat	stream	tcp	nowait	nobody	/usr/sbin/tcpd	/bin/ps	-auwwx
#netstat	stream	tcp	nowait	root	/usr/sbin/tcpd	/bin/netstat	-a
ident	stream	tcp	nowait	root	/usr/sbin/in.identd	in.identd
#
# Sun-RPC based services.
# <service name/version><sock_type><rpc/prot><flags><user><server><args>
#
# rstatd/1-3	dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rstatd
# rusersd/2-3	dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rusersd
# walld/1		dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rwalld
# End.
