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