1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1993-06-20 13:41:45 +00:00
|
|
|
#
|
|
|
|
# Internet server configuration database
|
|
|
|
#
|
|
|
|
# @(#)inetd.conf 5.4 (Berkeley) 6/30/90
|
|
|
|
#
|
|
|
|
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
|
|
|
|
telnet stream tcp nowait root /usr/libexec/telnetd telnetd
|
|
|
|
shell stream tcp nowait root /usr/libexec/rshd rshd
|
|
|
|
login stream tcp nowait root /usr/libexec/rlogind rlogind
|
1998-09-30 16:12:40 +00:00
|
|
|
finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
|
1994-09-29 09:20:40 +00:00
|
|
|
#exec stream tcp nowait root /usr/libexec/rexecd rexecd
|
1996-10-02 03:52:58 +00:00
|
|
|
#uucpd stream tcp nowait root /usr/libexec/uucpd uucpd
|
1993-06-20 13:41:45 +00:00
|
|
|
#nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd
|
1998-12-01 22:01:59 +00:00
|
|
|
# run comsat as root to be able to print partial mailbox contents w/ biff,
|
|
|
|
# or use the safer tty:tty to just print that new mail has been received.
|
1998-12-01 21:19:49 +00:00
|
|
|
comsat dgram udp wait tty:tty /usr/libexec/comsat comsat
|
|
|
|
ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd
|
1996-10-02 03:52:58 +00:00
|
|
|
#tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot
|
|
|
|
#bootps dgram udp wait root /usr/libexec/bootpd bootpd
|
|
|
|
#
|
|
|
|
# "Small servers" -- used to be standard on, but we're more conservative
|
|
|
|
# about things due to Internet security concerns. Only turn on what you
|
|
|
|
# need.
|
|
|
|
#
|
|
|
|
#daytime stream tcp nowait root internal
|
|
|
|
#daytime dgram udp wait root internal
|
|
|
|
#time stream tcp nowait root internal
|
|
|
|
#time dgram udp wait root internal
|
|
|
|
#echo stream tcp nowait root internal
|
1994-12-21 20:32:44 +00:00
|
|
|
#echo dgram udp wait root internal
|
1996-10-02 03:52:58 +00:00
|
|
|
#discard stream tcp nowait root internal
|
|
|
|
#discard dgram udp wait root internal
|
|
|
|
#chargen stream tcp nowait root internal
|
|
|
|
#chargen dgram udp wait root internal
|
|
|
|
#
|
1993-06-20 13:41:45 +00:00
|
|
|
# Kerberos authenticated services
|
1996-10-02 03:52:58 +00:00
|
|
|
#
|
1996-11-10 13:06:14 +00:00
|
|
|
#klogin stream tcp nowait root /usr/libexec/rlogind rlogind -k
|
|
|
|
#eklogin stream tcp nowait root /usr/libexec/rlogind rlogind -k -x
|
|
|
|
#kshell stream tcp nowait root /usr/libexec/rshd rshd -k
|
1998-08-15 17:32:27 +00:00
|
|
|
#kip stream tcp nowait root /usr/libexec/kipd kipd
|
1996-10-02 03:52:58 +00:00
|
|
|
#
|
1999-12-26 15:18:58 +00:00
|
|
|
# CVS servers - for master CVS repositories only! You must set the
|
|
|
|
# --allow-root path correctly or you open a trivial to exploit but
|
|
|
|
# deadly security hole.
|
1996-10-02 03:52:58 +00:00
|
|
|
#
|
1999-12-26 15:18:58 +00:00
|
|
|
#cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here pserver
|
|
|
|
#cvs stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here kserver
|
1996-10-02 03:52:58 +00:00
|
|
|
#
|
|
|
|
# RPC based services (you MUST have portmapper running to use these)
|
|
|
|
#
|
|
|
|
#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd
|
|
|
|
#rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd
|
|
|
|
#walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld
|
|
|
|
#pcnfsd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd rpc.pcnfsd
|
|
|
|
#rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad
|
|
|
|
#sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd
|
|
|
|
#
|
|
|
|
# example entry for the optional pop3 server
|
|
|
|
#
|
1994-11-18 20:01:21 +00:00
|
|
|
#pop3 stream tcp nowait root /usr/local/libexec/popper popper
|
1993-12-05 16:39:47 +00:00
|
|
|
#
|
1997-01-12 17:55:16 +00:00
|
|
|
# example entry for the optional imap4 server
|
|
|
|
#
|
|
|
|
#imap4 stream tcp nowait root /usr/local/libexec/imapd imapd
|
|
|
|
#
|
1999-07-16 15:41:14 +00:00
|
|
|
# Return error for all "ident" requests
|
1998-11-04 19:42:35 +00:00
|
|
|
#
|
1999-07-16 15:41:14 +00:00
|
|
|
#auth stream tcp nowait root internal
|
1998-11-04 19:42:35 +00:00
|
|
|
#
|
1999-07-23 15:49:34 +00:00
|
|
|
# Provide internally a real "ident" service which provides ~/.fakeid support,
|
1999-07-24 17:19:54 +00:00
|
|
|
# provides ~/.noident support, reports UNKNOWN as the operating system type
|
|
|
|
# and times out after 30 seconds.
|
1996-10-02 03:52:58 +00:00
|
|
|
#
|
1999-07-24 17:19:54 +00:00
|
|
|
#auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30
|
1999-07-16 15:41:14 +00:00
|
|
|
#
|
|
|
|
# Example entry for an external ident server
|
|
|
|
#
|
1999-07-16 16:24:13 +00:00
|
|
|
#auth stream tcp wait root /usr/local/sbin/identd identd -w -t120
|
1997-09-28 22:25:29 +00:00
|
|
|
#
|
2000-01-10 20:02:28 +00:00
|
|
|
# Example entry for the optional qmail MTA
|
|
|
|
# NOTE: This is no longer the correct way to handle incoming SMTP
|
|
|
|
# connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html)
|
|
|
|
# instead.
|
1998-07-18 20:01:03 +00:00
|
|
|
#
|
|
|
|
#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd
|
|
|
|
#
|
1997-09-28 22:25:29 +00:00
|
|
|
# Enable the following two entries to enable samba startup from inetd
|
|
|
|
# (from the Samba documentation).
|
|
|
|
#
|
|
|
|
#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd
|
|
|
|
#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd
|
2000-02-27 18:39:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# IPv6 services
|
|
|
|
#
|
|
|
|
ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
|
|
|
|
telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd
|
|
|
|
shell stream tcp6 nowait root /usr/libexec/rshd rshd
|
|
|
|
login stream tcp6 nowait root /usr/libexec/rlogind rlogind
|
|
|
|
finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
|
|
|
|
#
|
|
|
|
# IPv6 "Small servers"
|
|
|
|
#
|
|
|
|
#daytime stream tcp6 nowait root internal
|
|
|
|
#daytime dgram udp6 wait root internal
|
|
|
|
#time stream tcp6 nowait root internal
|
|
|
|
#time dgram udp6 wait root internal
|
|
|
|
#echo stream tcp6 nowait root internal
|
|
|
|
#echo dgram udp6 wait root internal
|
|
|
|
#discard stream tcp6 nowait root internal
|
|
|
|
#discard dgram udp6 wait root internal
|
|
|
|
#chargen stream tcp6 nowait root internal
|
|
|
|
#chargen dgram udp6 wait root internal
|
|
|
|
#
|
|
|
|
# IPv6 ident service
|
|
|
|
#
|
|
|
|
#auth stream tcp6 nowait root internal
|
|
|
|
#
|
2000-03-05 20:23:44 +00:00
|
|
|
# An Example for IPv6 indent service
|
2000-02-27 18:39:34 +00:00
|
|
|
#
|
|
|
|
#auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30
|