#DEL_# See "man 8 inetd" for more information. #DEL_# #DEL_# If you make changes to this file, either reboot your machine or send the #DEL_# inetd a HUP signal: #DEL_# Do a "ps x" as root and look up the pid of inetd. Then do a #DEL_# "kill -HUP ". #DEL_# The inetd will re-read this file whenever it gets that signal. #DEL_# #DEL_# #DEL_# #DEL_# The first 4 services are really only used for debugging purposes, so #DEL_# we comment them out since they can otherwise be used for some nasty #DEL_# denial-of-service attacks. If you need them, uncomment them. #DEL_# echo stream tcp nowait root internal #DEL_# echo dgram udp wait root internal #DEL_# discard stream tcp nowait root internal #DEL_# discard dgram udp wait root internal #DEL_# daytime stream tcp nowait root internal #DEL_# daytime dgram udp wait root internal #DEL_# chargen stream tcp nowait root internal #DEL_# chargen dgram udp wait root internal time stream tcp nowait root internal time dgram udp wait root internal #DEL_# #DEL_# These are standard services: #DEL_# #DEL_# Very Secure File Transfer Protocol (FTP) server. #DEL_#ftp stream tcp nowait root /usr/sbin/tcpd vsftpd #DEL_# # Professional File Transfer Protocol (FTP) server. ftp stream tcp nowait root /usr/sbin/tcpd proftpd #DEL_# # Telnet server: telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd #DEL_# #DEL_# The comsat daemon notifies the user of new mail when biff is set to y: #DEL_comsat dgram udp wait root /usr/sbin/tcpd in.comsat #DEL_# #DEL_# Shell, login, exec and talk are BSD protocols #DEL_# #DEL_#shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L #DEL_#login stream tcp nowait root /usr/sbin/tcpd in.rlogind #DEL_# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd #DEL_# talk dgram udp wait root /usr/sbin/tcpd in.talkd #DEL_#ntalk dgram udp wait root /usr/sbin/tcpd in.talkd #DEL_# #DEL_# To use the talk daemons from KDE, comment the talk and ntalk lines above #DEL_# and uncomment the ones below: #DEL_# talk dgram udp wait root /usr/sbin/tcpd /opt/kde/bin/kotalkd #DEL_# ntalk dgram udp wait root /usr/sbin/tcpd /opt/kde/bin/ktalkd #DEL_# #DEL_# Kerberos authenticated services #DEL_# #DEL_# klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k #DEL_# eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x #DEL_# kshell stream tcp nowait root /usr/sbin/tcpd rshd -k #DEL_# #DEL_# Services run ONLY on the Kerberos server #DEL_# #DEL_# krbupdate stream tcp nowait root /usr/sbin/tcpd registerd #DEL_# kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd # # POP and IMAP mail servers # # Post Office Protocol version 3 (POP3) server: pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popa3d #DEL_# Internet Message Access Protocol (IMAP) server: #DEL_#imap2 stream tcp nowait root /usr/sbin/tcpd imapd #DEL_# #DEL_# The Internet Unix to Unix copy (UUCP) service: #DEL_# uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l #DEL_# #DEL_# Tftp service is provided primarily for booting. Most sites #DEL_# run this only on machines acting as "boot servers." #DEL_# tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize #DEL_# #DEL_# Internet Bootstrap Protocol (BOOTP) server: #DEL_# bootps dgram udp wait root /usr/sbin/bootpd bootpd #DEL_# #DEL_# Finger, systat and netstat give out user information which may be #DEL_# valuable to potential "system crackers." Many sites choose to disable #DEL_# some or all of these services to improve security. #DEL_# Try "telnet localhost systat" and "telnet localhost netstat" to see that #DEL_# information yourself! #DEL_#finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u #DEL_# systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx #DEL_# netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a #DEL_# #DEL_# Ident service is used for net authentication #DEL_auth stream tcp wait root /usr/sbin/in.identd in.identd #DEL_# #DEL_# These are to start Samba, an smb server that can export filesystems to #DEL_# Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager #DEL_# for Windows, Lanmanager for OS/2, Windows NT, etc. #DEL_# If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you #DEL_# shouldn't uncomment these lines. #DEL_#netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd #DEL_#netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd #DEL_# #DEL_#Samba Web Administration Tool: #DEL_#swat stream tcp nowait.400 root /usr/sbin/swat swat #DEL_# #DEL_# Sun-RPC based services. #DEL_# #DEL_# rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd #DEL_# rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd #DEL_# walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld #DEL_# #DEL_# End of inetd.conf.