diff options
Diffstat (limited to 'usr.sbin/inetd/inetd.conf')
-rw-r--r-- | usr.sbin/inetd/inetd.conf | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/usr.sbin/inetd/inetd.conf b/usr.sbin/inetd/inetd.conf index 65a3507a6dc2..7f5f6783a038 100644 --- a/usr.sbin/inetd/inetd.conf +++ b/usr.sbin/inetd/inetd.conf @@ -66,15 +66,10 @@ #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 #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/udp6 wait root /usr/libexec/rpc.rquotad rpc.rquotad #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 # #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd @@ -110,14 +105,41 @@ # #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 -# (from the Samba documentation). Enable the third entry to enable the swat -# samba configuration tool. +# Example entry for Samba sharing for the SMB protocol # -#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd -#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd +# Enable the first two entries to enable Samba startup from inetd (according to +# the Samba documentation). Enable the third entry only if you have other +# NetBIOS daemons listening on your network. Enable the fourth entry to use +# the swat Samba configuration tool. +#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 #swat stream tcp nowait/400 root /usr/local/sbin/swat swat # # Example entry for the Prometheus sysctl metrics exporter # #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) +#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 +#@ |