diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-09-15 10:49:03 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-09-15 10:49:03 +0000 |
commit | ed7cc860374c899ac82fe41832afd84295494cc8 (patch) | |
tree | cbe84db3ab3ab9964a2736ffbce22906901c9e50 /lib | |
parent | 79200df6729d1afbc24596e05c0bee54a2544616 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 8 |
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. |