inetd.conf revision 75017
1# $FreeBSD: head/etc/inetd.conf 75017 2001-03-30 10:25:40Z peter $
2#
3# Internet server configuration database
4#
5# define *both* IPv4 and IPv6 entries for dual-stack support.
6#
7ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
8ftp	stream	tcp6	nowait	root	/usr/libexec/ftpd	ftpd -l
9telnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
10telnet	stream	tcp6	nowait	root	/usr/libexec/telnetd	telnetd
11#shell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd
12#shell	stream	tcp6	nowait	root	/usr/libexec/rshd	rshd
13#login	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind
14#login	stream	tcp6	nowait	root	/usr/libexec/rlogind	rlogind
15#finger	stream	tcp	nowait/3/10 nobody /usr/libexec/fingerd	fingerd -s
16#finger	stream	tcp6	nowait/3/10 nobody /usr/libexec/fingerd	fingerd -s
17#exec	stream	tcp	nowait	root	/usr/libexec/rexecd	rexecd
18#uucpd	stream	tcp	nowait	root	/usr/libexec/uucpd	uucpd
19#nntp	stream	tcp	nowait	usenet	/usr/libexec/nntpd	nntpd
20# run comsat as root to be able to print partial mailbox contents w/ biff,
21# or use the safer tty:tty to just print that new mail has been received.
22comsat	dgram	udp	wait	tty:tty	/usr/libexec/comsat	comsat
23ntalk	dgram	udp	wait	tty:tty	/usr/libexec/ntalkd	ntalkd
24#tftp	dgram	udp	wait	nobody	/usr/libexec/tftpd	tftpd /tftpboot
25#bootps	dgram	udp	wait	root	/usr/libexec/bootpd	bootpd
26#
27# "Small servers" -- used to be standard on, but we're more conservative
28# about things due to Internet security concerns.  Only turn on what you
29# need.
30#
31#daytime stream	tcp	nowait	root	internal
32#daytime stream	tcp6	nowait	root	internal
33#daytime dgram	udp	wait	root	internal
34#daytime dgram	udp6	wait	root	internal
35#time	stream	tcp	nowait	root	internal
36#time	stream	tcp6	nowait	root	internal
37#time	 dgram	udp	wait	root	internal
38#time	 dgram	udp6	wait	root	internal
39#echo	stream	tcp	nowait	root	internal
40#echo	dgram	udp6	wait	root	internal
41#echo	dgram	udp	wait	root	internal
42#echo	stream	tcp6	nowait	root	internal
43#discard stream	tcp	nowait	root	internal
44#discard stream	tcp6	nowait	root	internal
45#discard dgram	udp	wait	root	internal
46#discard dgram	udp6	wait	root	internal
47#chargen stream	tcp	nowait	root	internal
48#chargen stream	tcp6	nowait	root	internal
49#chargen dgram	udp	wait	root	internal
50#chargen dgram	udp6	wait	root	internal
51#
52# Kerberos authenticated services
53#
54#klogin	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k
55#eklogin stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k -x
56#kshell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd -k
57#kip	stream	tcp	nowait	root	/usr/libexec/kipd	kipd
58#
59# CVS servers - for master CVS repositories only!  You must set the
60# --allow-root path correctly or you open a trivial to exploit but
61# deadly security hole.
62#
63#cvspserver	stream	tcp	nowait	root	/usr/bin/cvs	cvs --allow-root=/your/cvsroot/here pserver
64#cvs		stream	tcp	nowait	root	/usr/bin/cvs	cvs --allow-root=/your/cvsroot/here kserver
65#
66# RPC based services (you MUST have portmapper running to use these)
67#
68#rstatd/1-3	dgram rpc/udp wait root	/usr/libexec/rpc.rstatd	 rpc.rstatd
69#rusersd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.rusersd rpc.rusersd
70#walld/1	dgram rpc/udp wait root	/usr/libexec/rpc.rwalld	 rpc.rwalld
71#pcnfsd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.pcnfsd	 rpc.pcnfsd	
72#rquotad/1	dgram rpc/udp wait root	/usr/libexec/rpc.rquotad rpc.rquotad
73#sprayd/1	dgram rpc/udp wait root	/usr/libexec/rpc.sprayd	 rpc.sprayd
74#
75# example entry for the optional pop3 server
76#
77#pop3	stream	tcp	nowait	root	/usr/local/libexec/popper	popper
78#
79# example entry for the optional imap4 server
80#
81#imap4	stream	tcp	nowait	root	/usr/local/libexec/imapd	imapd
82#
83# Return error for all "ident" requests
84#
85#auth	stream	tcp	nowait	root	internal
86#auth	stream	tcp6	nowait	root	internal
87#
88# Provide internally a real "ident" service which provides ~/.fakeid support,
89# provides ~/.noident support, reports UNKNOWN as the operating system type
90# and times out after 30 seconds.
91#
92#auth	stream	tcp	nowait	root	internal	auth -r -f -n -o UNKNOWN -t 30
93#auth	stream	tcp6	nowait	root	internal	auth -r -f -n -o UNKNOWN -t 30
94#
95# Example entry for an external ident server
96#
97#auth	stream	tcp	wait	root	/usr/local/sbin/identd	identd -w -t120
98#
99# Example entry for the optional qmail MTA
100#  NOTE: This is no longer the correct way to handle incoming SMTP
101#        connections for qmail.  Use tcpserver (http://cr.yp.to/ucspi-tcp.html)
102#        instead.
103#
104#smtp	stream	tcp	nowait	qmaild	/var/qmail/bin/tcp-env	tcp-env /var/qmail/bin/qmail-smtpd
105#
106# Enable the following two entries to enable samba startup from inetd
107# (from the Samba documentation).
108#
109#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd 
110#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd 
111