summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.8
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-06-27 18:05:34 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-06-27 18:05:34 +0000
commit31aade9ad12eccc1744d769c7477e81f3a9fcf8c (patch)
tree89721a778510d42e88eca9f91ed04128285c4f23 /usr.sbin/inetd/inetd.8
parent32a079dfa9ef6333b7da250e2ccc897157881ed7 (diff)
downloadFreeBSD-src-31aade9ad12eccc1744d769c7477e81f3a9fcf8c.zip
FreeBSD-src-31aade9ad12eccc1744d769c7477e81f3a9fcf8c.tar.gz
Add command-line option (-w), specified once to enable wrapping and
twice to enable wrapping for internal wrapping as well. If the option is not specified wrapping is turned off so that inetd will behave exactly as it used to before TCP Wrappers was imported. Change etc/defaults/rc.conf so as to encourage wrapping on new systems. Clarify the use of TCP Wrappers in the IMPLEMENTATION NOTES of the manual page. Approved by: jkh
Diffstat (limited to 'usr.sbin/inetd/inetd.8')
-rw-r--r--usr.sbin/inetd/inetd.832
1 files changed, 24 insertions, 8 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index 3bcd3db..10d30e5 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)inetd.8 8.3 (Berkeley) 4/13/94
-.\" $Id: inetd.8,v 1.26 1999/06/17 09:16:07 sheldonh Exp $
+.\" $Id: inetd.8,v 1.27 1999/06/21 11:43:13 sheldonh Exp $
.\"
.Dd February 7, 1996
.Dt INETD 8
@@ -43,6 +43,7 @@
.Nm inetd
.Op Fl d
.Op Fl l
+.Op Fl w
.Op Fl c Ar maximum
.Op Fl C Ar rate
.Op Fl a Ar address
@@ -78,6 +79,11 @@ The following options are available:
Turn on debugging.
.It Fl l
Turn on logging.
+.It Fl w
+Turn on TCP Wrapping. If this option is specified twice, internal
+services will also be wrapped. See the
+.Sx "IMPLEMENTATION NOTES"
+section for more information on TCP Wrappers support.
.It Fl c Ar maximum
Specify the default maximum number of services that can be invoked.
May be overridden on a per-service basis with the "max-child"
@@ -401,16 +407,26 @@ records its process ID in the file
.Pa /var/run/inetd.pid
to assist in reconfiguration.
.Sh IMPLEMENTATION NOTES
+When given the
+.Fl w
+option,
+.Nm
+will wrap all services specified as
+.Dq stream tcp nowait
+except for
+.Dq internal
+services. If the
+.Fl w
+option is given twice, such
+.Dq internal
+services will be wrapped as well.
.Pp
-Support is provided for TCP Wrappers; see the relevant documentation (
-.Xr hosts_access 5
-).
-The
+When wrapping is enabled, the
.Pa tcpd
daemon is not required, as that functionality is builtin.
-Only stream-based services, including
-.Dq internal
-services, may be wrapped.
+For more information on TCP Wrappers; see the relevant documentation (
+.Xr hosts_access 5
+).
.Sh TCPMUX
.Pp
.Tn RFC 1078
OpenPOWER on IntegriCloud