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