inetd.conf revision 55115
150472Speter# $FreeBSD: head/etc/inetd.conf 55115 1999-12-26 15:18:58Z peter $
237Srgrimes#
337Srgrimes# Internet server configuration database
437Srgrimes#
537Srgrimes#	@(#)inetd.conf	5.4 (Berkeley) 6/30/90
637Srgrimes#
737Srgrimesftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
837Srgrimestelnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
937Srgrimesshell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd
1037Srgrimeslogin	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind
1139825Swoschfinger	stream	tcp	nowait/3/10 nobody /usr/libexec/fingerd	fingerd -s
123190Spst#exec	stream	tcp	nowait	root	/usr/libexec/rexecd	rexecd
1318639Spst#uucpd	stream	tcp	nowait	root	/usr/libexec/uucpd	uucpd
1437Srgrimes#nntp	stream	tcp	nowait	usenet	/usr/libexec/nntpd	nntpd
1541444Sdillon# run comsat as root to be able to print partial mailbox contents w/ biff,
1641444Sdillon# or use the safer tty:tty to just print that new mail has been received.
1741441Sdilloncomsat	dgram	udp	wait	tty:tty	/usr/libexec/comsat	comsat
1841441Sdillonntalk	dgram	udp	wait	tty:tty	/usr/libexec/ntalkd	ntalkd
1918639Spst#tftp	dgram	udp	wait	nobody	/usr/libexec/tftpd	tftpd /tftpboot
2018639Spst#bootps	dgram	udp	wait	root	/usr/libexec/bootpd	bootpd
2118639Spst#
2218639Spst# "Small servers" -- used to be standard on, but we're more conservative
2318639Spst# about things due to Internet security concerns.  Only turn on what you
2418639Spst# need.
2518639Spst#
2618639Spst#daytime stream	tcp	nowait	root	internal
2718639Spst#daytime dgram	udp	wait	root	internal
2818639Spst#time	stream	tcp	nowait	root	internal
2918639Spst#time	 dgram	udp	wait	root	internal
3018639Spst#echo	stream	tcp	nowait	root	internal
315183Swollman#echo	dgram	udp	wait	root	internal
3218639Spst#discard stream	tcp	nowait	root	internal
3318639Spst#discard dgram	udp	wait	root	internal
3418639Spst#chargen stream	tcp	nowait	root	internal
3518639Spst#chargen dgram	udp	wait	root	internal
3618639Spst#
3737Srgrimes# Kerberos authenticated services
3818639Spst#
3919607Speter#klogin	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k
4019607Speter#eklogin stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k -x
4119607Speter#kshell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd -k
4238337Smarkm#kip	stream	tcp	nowait	root	/usr/libexec/kipd	kipd
4318639Spst#
4455115Speter# CVS servers - for master CVS repositories only!  You must set the
4555115Speter# --allow-root path correctly or you open a trivial to exploit but
4655115Speter# deadly security hole.
4718639Spst#
4855115Speter#cvspserver	stream	tcp	nowait	root	/usr/bin/cvs	cvs --allow-root=/your/cvsroot/here pserver
4955115Speter#cvs		stream	tcp	nowait	root	/usr/bin/cvs	cvs --allow-root=/your/cvsroot/here kserver
50591Srgrimes#
5118639Spst# RPC based services (you MUST have portmapper running to use these)
52831Sats#
5318639Spst#rstatd/1-3	dgram rpc/udp wait root	/usr/libexec/rpc.rstatd	 rpc.rstatd
5418639Spst#rusersd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.rusersd rpc.rusersd
5518639Spst#walld/1	dgram rpc/udp wait root	/usr/libexec/rpc.rwalld	 rpc.rwalld
5618639Spst#pcnfsd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.pcnfsd	 rpc.pcnfsd	
5718639Spst#rquotad/1	dgram rpc/udp wait root	/usr/libexec/rpc.rquotad rpc.rquotad
5818639Spst#sprayd/1	dgram rpc/udp wait root	/usr/libexec/rpc.sprayd	 rpc.sprayd
5918639Spst#
6018639Spst# example entry for the optional pop3 server
6118639Spst#
624652Sats#pop3	stream	tcp	nowait	root	/usr/local/libexec/popper	popper
63831Sats#
6421613Sache# example entry for the optional imap4 server
6521613Sache#
6621613Sache#imap4	stream	tcp	nowait	root	/usr/local/libexec/imapd	imapd
6721613Sache#
6848845Ssheldonh# Return error for all "ident" requests
6940911Sphk#
7048845Ssheldonh#auth	stream	tcp	nowait	root	internal
7140911Sphk#
7249034Ssheldonh# Provide internally a real "ident" service which provides ~/.fakeid support,
7349059Sgreen# provides ~/.noident support, reports UNKNOWN as the operating system type
7449059Sgreen# and times out after 30 seconds.
7518639Spst#
7649059Sgreen#auth	stream	tcp	nowait	root	internal	auth -r -f -n -o UNKNOWN -t 30
7729951Sjkh#
7848845Ssheldonh# Example entry for an external ident server
7948845Ssheldonh#
8048846Sgreen#auth	stream	tcp	wait	root	/usr/local/sbin/identd	identd -w -t120
8148845Ssheldonh#
8237741Shoek# example entry for the optional qmail MTA
8337741Shoek#
8437741Shoek#smtp	stream	tcp	nowait	qmaild	/var/qmail/bin/tcp-env	tcp-env /var/qmail/bin/qmail-smtpd
8537741Shoek#
8629951Sjkh# Enable the following two entries to enable samba startup from inetd
8729951Sjkh# (from the Samba documentation).
8829951Sjkh#
8929951Sjkh#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd 
9029951Sjkh#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd 
91