freebsd-skq/usr.sbin/inetd
Daniel Ebdrup Jensen bc3bba70d8 inetd: Add examples from manual page and other sources
The manual page lists a bunch of examples, some of which already exist
in this file. Since it's both easier to remember when all examples are
listed in the same location, move examples so they get installed into
/etc/inetd.conf

This also means users won't have to copy-paste, but can simply
uncomment one or more services to use them.

As such, it also becomes necessary to remove the examples from the
manual page, so instead add a note explaining where the previous
examples as well as others may be found.
Cross-references, including to ports, have also been added where
applicable.

The rsync example has lived in the bug tracker for too long,
considering how useful it can situationally be, for example when
backup jobs on client devices are run through periodic(8) weekly.

The microsoft-ds entry is necessary for Windows 10 compatibility
(this can be confirmed with packet capturing, as it is not readily
documented at time of writing).

While here, remove two examples for which compatible daemons could not
be found in ports.

Submitted by:	David Yeske <dyeske at gmail.com> (in part, prev ver)
PR:		122037
Reviewed by:	kevans, brueffer, lwhsu, yuripv
Differential Revision:	https://reviews.freebsd.org/D28882
2021-02-26 20:07:03 +01:00
..
builtins.c inetd: prefer strtonum(3) to strspn(3)+atoi(3), NFC 2019-12-31 04:36:14 +00:00
inetd.8 inetd: Add examples from manual page and other sources 2021-02-26 20:07:03 +01:00
inetd.c inetd: fix unix sockaddr's length assignment 2021-02-12 13:36:38 -06:00
inetd.conf inetd: Add examples from manual page and other sources 2021-02-26 20:07:03 +01:00
inetd.h inetd: track all child pids, regardless of maxchild spec 2020-01-01 04:22:04 +00:00
Makefile inetd: convert remaining bzero(3) to memset(3), NFC 2020-01-01 04:29:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
pathnames.h