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