inetd.conf revision 58574
150472Speter# $FreeBSD: head/etc/inetd.conf 58574 2000-03-25 21:17:24Z jhb $ 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# 8255779Sdbaker# Example entry for the optional qmail MTA 8355779Sdbaker# NOTE: This is no longer the correct way to handle incoming SMTP 8455779Sdbaker# connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) 8555779Sdbaker# instead. 8637741Shoek# 8737741Shoek#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd 8837741Shoek# 8929951Sjkh# Enable the following two entries to enable samba startup from inetd 9029951Sjkh# (from the Samba documentation). 9129951Sjkh# 9229951Sjkh#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd 9329951Sjkh#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd 9457537Sshin 9557537Sshin 9657537Sshin# 9757537Sshin# IPv6 services 9857537Sshin# 9957537Sshinftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l 10057537Sshintelnet stream tcp6 nowait root /usr/libexec/telnetd telnetd 10157537Sshinshell stream tcp6 nowait root /usr/libexec/rshd rshd 10257537Sshinlogin stream tcp6 nowait root /usr/libexec/rlogind rlogind 10357537Sshinfinger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s 10457537Sshin# 10557537Sshin# IPv6 "Small servers" 10657537Sshin# 10757537Sshin#daytime stream tcp6 nowait root internal 10857537Sshin#daytime dgram udp6 wait root internal 10957537Sshin#time stream tcp6 nowait root internal 11057537Sshin#time dgram udp6 wait root internal 11157537Sshin#echo stream tcp6 nowait root internal 11257537Sshin#echo dgram udp6 wait root internal 11357537Sshin#discard stream tcp6 nowait root internal 11457537Sshin#discard dgram udp6 wait root internal 11557537Sshin#chargen stream tcp6 nowait root internal 11657537Sshin#chargen dgram udp6 wait root internal 11757537Sshin# 11858574Sjhb# Return error for all IPv6 "ident" requests 11957537Sshin# 12057537Sshin#auth stream tcp6 nowait root internal 12157537Sshin# 12258574Sjhb# Example entry for a real IPv6 ident service similar to the one above for IPv4. 12357537Sshin# 12457537Sshin#auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 125