summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysctl.3
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-09-15 10:49:03 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-09-15 10:49:03 +0000
commited7cc860374c899ac82fe41832afd84295494cc8 (patch)
treecbe84db3ab3ab9964a2736ffbce22906901c9e50 /lib/libc/gen/sysctl.3
parent79200df6729d1afbc24596e05c0bee54a2544616 (diff)
downloadFreeBSD-src-ed7cc860374c899ac82fe41832afd84295494cc8.zip
FreeBSD-src-ed7cc860374c899ac82fe41832afd84295494cc8.tar.gz
Turn off replies to ICMP echo requests for broadcast and multicast
addresses by default. Add a knob "icmp_bmcastecho" to "rc.network" to allow this behaviour to be controlled from "rc.conf". Document the controlling sysctl variable "net.inet.icmp.bmcastecho" in sysctl(3). Reviewed by: dg, jkh Reminded on -hackers by: Steinar Haug <sthaug@nethelp.no>
Diffstat (limited to 'lib/libc/gen/sysctl.3')
-rw-r--r--lib/libc/gen/sysctl.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index e882fac..6ece665 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -479,12 +479,13 @@ The third level name is the protocol.
The fourth level name is the variable name.
The currently defined protocols and names are:
.ne 1i
-.Bl -column "Protocol nameXXXXXX" "Variable nameXXX" "integerXXX" -offset indent
-.It Pa Protocol name Variable name Type Changeable
+.Bl -column ProtocolXX VariableXX TypeXX ChangeableXX
+.It Pa Protocol Variable Type Changeable
.It ip forwarding integer yes
.It ip redirect integer yes
.It ip ttl integer yes
.It icmp maskrepl integer yes
+.It icmp bmcastecho integer yes
.It udp checksum integer yes
.El
.Pp
@@ -503,6 +504,9 @@ the system.
This value applies to normal transport protocols, not to ICMP.
.It Li icmp.maskrepl
Returns 1 if ICMP network mask requests are to be answered.
+.It Li icmp.bmcastecho
+Returns 1 if an ICMP echo request to a broadcast or multicast address is
+to be answered.
.It Li udp.checksum
Returns 1 when UDP checksums are being computed and checked.
Disabling UDP checksums is strongly discouraged.
OpenPOWER on IntegriCloud