summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/sysctl.314
-rw-r--r--sbin/sysctl/sysctl.84
2 files changed, 11 insertions, 7 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 23455faaac6..eb173e84ff1 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.52 2000/09/25 10:01:33 provos Exp $
+.\" $OpenBSD: sysctl.3,v 1.53 2000/10/10 16:00:20 itojun Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -554,6 +554,7 @@ The currently defined protocols and names are:
.It ip mtudisctimeout integer yes
.It icmp maskrepl integer yes
.It icmp bmcastecho integer yes
+.It icmp errppslimit integer yes
.It ipip allow integer yes
.It tcp rfc1323 integer yes
.It tcp ident structure no
@@ -755,6 +756,12 @@ If set to any other value, processing will occur.
Returns 1 if
.Tn ICMP
network mask requests are to be answered.
+.It Li icmp.errppslimit
+The variable specifies the maximum number of outgoing ICMP error messages,
+per second.
+ICMP error messages that exceeded the value are subject to rate limitation
+and will not go out from the node.
+Negative value disables rate limitation.
.It Li tcp.rfc1323
Returns 1 if RFC1323 extensions to
.Tn TCP
@@ -848,7 +855,6 @@ The currently defined protocols and names are:
.It ip6 rr_prune integer yes
.It icmp6 rediraccept integer yes
.It icmp6 redirtimeout integer yes
-.It icmp6 errratelimit integer yes
.It icmp6 nd6_prune integer yes
.It icmp6 nd6_delay integer yes
.It icmp6 nd6_umaxtries integer yes
@@ -939,9 +945,6 @@ only.
.It Li icmp6.redirtimeout
The variable specifies lifetime of routing entries generated by incoming
ICMPv6 redirect.
-.It Li icmp6.errratelimit
-The variable specifies minimum interval between ICMPv6 error messages,
-in microseconds.
.It Li icmp6.nd6_prune
The variable specifies interval between IPv6 neighbor cache babysitting,
in seconds.
@@ -972,6 +975,7 @@ The variable specifies the maximum number of outgoing ICMPv6 error messages,
per second.
ICMPv6 error messages that exceeded the value is subject to rate limitation
and will not go out from the node.
+Negative value disables rate limitation.
.It Li icmp6.nd6_maxnudhint
IPv6 neighbor discovery permits upper layer protocols to supply reachability
hints, to avoid unnecessary neighbor discovery exchanges.
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 97b2b02f2ff..6eb70b19e94 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.54 2000/09/25 10:00:28 provos Exp $
+.\" $OpenBSD: sysctl.8,v 1.55 2000/10/10 16:00:21 itojun Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -177,6 +177,7 @@ privilege can change the value.
.It net.inet.ip.mtudisctimeout integer yes
.It net.inet.icmp.maskrepl integer yes
.It net.inet.icmp.bmcastecho integer yes
+.It net.inet.icmp.errppslimit integer yes
.It net.inet.ipip.allow integer yes
.It net.inet.etherip.allow integer yes
.It net.inet.tcp.rfc1323 integer yes
@@ -213,7 +214,6 @@ privilege can change the value.
.It net.inet6.ip6.rr_prune integer yes
.It net.inet6.icmp6.rediraccept integer yes
.It net.inet6.icmp6.redirtimeout integer yes
-.It net.inet6.icmp6.errratelimit integer yes
.It net.inet6.icmp6.nd6_prune integer yes
.It net.inet6.icmp6.nd6_delay integer yes
.It net.inet6.icmp6.nd6_umaxtries integer yes