Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/inetd/inetd.conf
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
#cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here pserver | #cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here pserver | ||||
#cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here kserver | #cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here kserver | ||||
# | # | ||||
# RPC based services (you MUST have rpcbind running to use these) | # RPC based services (you MUST have rpcbind running to use these) | ||||
# | # | ||||
#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd | #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 | #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 | #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld | ||||
#pcnfsd/1-2 dgram rpc/udp wait root /usr/local/libexec/rpc.pcnfsd rpc.pcnfsd | |||||
#rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad | #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad | ||||
#rquotad/1 dgram rpc/udp6 wait root /usr/libexec/rpc.rquotad rpc.rquotad | #rquotad/1 dgram rpc/udp6 wait root /usr/libexec/rpc.rquotad rpc.rquotad | ||||
#sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd | #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd | ||||
# | # | ||||
# example entry for the optional pop3 server | |||||
# | |||||
#pop3 stream tcp nowait root /usr/local/libexec/popper popper | |||||
# | |||||
# example entry for the optional imap4 server | # example entry for the optional imap4 server | ||||
# | # | ||||
#imap4 stream tcp nowait root /usr/local/libexec/imapd imapd | #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd | ||||
# | # | ||||
# example entry for the optional nntp server | # example entry for the optional nntp server | ||||
# | # | ||||
#nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd | #nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd | ||||
# | # | ||||
Show All 19 Lines | |||||
# | # | ||||
# Example entry for the optional qmail MTA | # Example entry for the optional qmail MTA | ||||
# NOTE: This is no longer the correct way to handle incoming SMTP | # NOTE: This is no longer the correct way to handle incoming SMTP | ||||
# connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) | # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) | ||||
# instead. | # instead. | ||||
# | # | ||||
#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd | #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd | ||||
# | # | ||||
# Enable the following two entries to enable samba startup from inetd | # Example entry for Samba sharing for the SMB protocol | ||||
# (from the Samba documentation). Enable the third entry to enable the swat | |||||
# samba configuration tool. | |||||
# | # | ||||
# Enable the first two entries to enable samba startup from inetd (according to | |||||
yuripv: Samba services? | |||||
# the Samba documentation). Enable the third entry only if you have no other | |||||
# NetBIOS daemons listening on your network. Enable the fourth entry to enable | |||||
# the swat samba configuration tool. | |||||
yuripvUnsubmitted Done Inline ActionsSamba? yuripv: Samba? | |||||
#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd | #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd | ||||
#microsoft-ds stream tcp nowait root /usr/local/sbin/smbd smbd | |||||
#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd | #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd | ||||
#swat stream tcp nowait/400 root /usr/local/sbin/swat swat | #swat stream tcp nowait/400 root /usr/local/sbin/swat swat | ||||
# | # | ||||
# Example entry for the Prometheus sysctl metrics exporter | # Example entry for the Prometheus sysctl metrics exporter | ||||
# | # | ||||
#prom-sysctl stream tcp nowait nobody /usr/sbin/prometheus_sysctl_exporter prometheus_sysctl_exporter -dgh | #prom-sysctl stream tcp nowait nobody /usr/sbin/prometheus_sysctl_exporter prometheus_sysctl_exporter -dgh | ||||
# | |||||
# Example entry for insecure rsync server | |||||
# This is best combined with a VTI like if_ipsec(4) or wg(4) | |||||
Done Inline ActionsI'm not sure if this is needed to add this, but we don't have if_wg(4) manpage. lwhsu: I'm not sure if this is needed to add this, but we don't have if_wg(4) manpage. | |||||
#rsync stream tcp nowait root /usr/local/bin/rsyncd rsyncd --daemon | |||||
# | |||||
# Let the system respond to date requests via tcpmux | |||||
#tcpmux/+date stream tcp nowait guest /bin/date date | |||||
# | |||||
# Let people access the system phonebook via tcpmux | |||||
#tcpmux/phonebook stream tcp nowait guest /usr/local/bin/phonebook phonebook | |||||
# | |||||
# Make kernel statistics accessible | |||||
#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd | |||||
# | |||||
# Use netcat as a one-shot HTTP proxy with nc (from freebsd-tips fortune) | |||||
#http stream tcp nowait nobody /usr/bin/nc nc -N dest-ip 80 | |||||
# | |||||
# Set up a unix socket at /var/run/echo that echo's back whatever is written to it. | |||||
#/var/run/echo stream unix nowait root internal | |||||
# | |||||
# Run chargen for IPsec Authentication Headers | |||||
#@ ipsec ah/require | |||||
#chargen stream tcp nowait root internal | |||||
#@ |
Samba services?