Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9577
b: refs/heads/master
c: 7ce3124
h: refs/heads/master
i:
  9575: 61c72fe
v: v3
  • Loading branch information
David S. Miller committed Oct 3, 2005
1 parent 140df27 commit b242897
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e56a40bb36f1f73b4eac2ffe267c5357811e321
refs/heads/master: 7ce312467edc270fcbd8a699efabb37ce1802b98
10 changes: 7 additions & 3 deletions trunk/Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,14 @@ ip_dynaddr - BOOLEAN
Default: 0

icmp_echo_ignore_all - BOOLEAN
If set non-zero, then the kernel will ignore all ICMP ECHO
requests sent to it.
Default: 0

icmp_echo_ignore_broadcasts - BOOLEAN
If either is set to true, then the kernel will ignore either all
ICMP ECHO requests sent to it or just those to broadcast/multicast
addresses, respectively.
If set non-zero, then the kernel will ignore all ICMP ECHO and
TIMESTAMP requests sent to it via broadcast/multicast.
Default: 1

icmp_ratelimit - INTEGER
Limit the maximal rates for sending ICMP packets whose type matches
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct icmp_err icmp_err_convert[] = {

/* Control parameters for ECHO replies. */
int sysctl_icmp_echo_ignore_all;
int sysctl_icmp_echo_ignore_broadcasts;
int sysctl_icmp_echo_ignore_broadcasts = 1;

/* Control parameter - ignore bogus broadcast responses? */
int sysctl_icmp_ignore_bogus_error_responses;
Expand Down

0 comments on commit b242897

Please sign in to comment.