summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.8
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-08-07 17:03:14 +0000
committerume <ume@FreeBSD.org>2002-08-07 17:03:14 +0000
commitc9b1c6c3c7785ed179bd750d6e398ddbb1bff1c9 (patch)
tree88891ceb8e2b942dccd7389e9b876a7080525b53 /usr.sbin/inetd/inetd.8
parent919d00b11333feaf446ac8dbde0e32d08b6f19fb (diff)
downloadFreeBSD-src-c9b1c6c3c7785ed179bd750d6e398ddbb1bff1c9.zip
FreeBSD-src-c9b1c6c3c7785ed179bd750d6e398ddbb1bff1c9.tar.gz
Add capability for limiting the maximum number of simultaneous
invocations of each service from a single IP address. Requested by: matusita Reviewed by: dwmalone Tested by: matusita on snapshots.jp.FreeBSD.org MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/inetd/inetd.8')
-rw-r--r--usr.sbin/inetd/inetd.815
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index 939a534..1ad7d3a 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -50,6 +50,7 @@
.Op Fl a Ar address | hostname
.Op Fl p Ar filename
.Op Fl R Ar rate
+.Op Fl s Ar maximum
.Op Ar configuration file
.Sh DESCRIPTION
The
@@ -102,6 +103,12 @@ May be overridden on a per-service basis with the
Specify the maximum number of times a service can be invoked
in one minute; the default is 256.
A rate of 0 allows an unlimited number of invocations.
+.It Fl s Ar maximum
+Specify the default maximum number of
+simultaneous invocations of each service from a single IP address;
+the default is unlimited.
+May be overridden on a per-service basis with the "max-child-per-ip"
+parameter.
.It Fl a
Specify one specific IP address to bind to.
Alternatively, a hostname can be specified,
@@ -155,7 +162,7 @@ fields of the configuration file are as follows:
service name
socket type
protocol
-{wait|nowait}[/max-child[/max-connections-per-ip-per-minute]]
+{wait|nowait}[/max-child[/max-connections-per-ip-per-minute[/max-child-per-ip]]]
user[:group][/login-class]
server program
server program arguments
@@ -396,6 +403,12 @@ outstanding child processes.
Once the maximum is reached, further
connections from this IP address will be dropped until the end of the
minute.
+In addition, you can specify the maximum number of simultaneous
+invocations of each service from a single IP address by appending a
+.Dq /
+followed by the number to the maximum number of outstanding child
+processes. Once the maximum is reached, further connections from this
+IP address will be dropped.
.Pp
The
.Em user
OpenPOWER on IntegriCloud