Index: usr.sbin/inetd/inetd.conf =================================================================== --- usr.sbin/inetd/inetd.conf +++ usr.sbin/inetd/inetd.conf @@ -110,14 +110,21 @@ # #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. -# -#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd -#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd +# Example entry for Samba sharing for the SMB protocol +# +# Enable the first two entries to enable samba startup from inetd (according to +# 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. +#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 if_wg(4) +#rsync stream tcp nowait root /usr/local/bin/rsync rsyncd --daemon