Messages in this thread | | | From | Greaves Tristan TM <> | Subject | RE: [PATCH] Option to suppress annoying "x.x.x.x sent an invalid ICMP..." kernel messages, 2.1.127 | Date | Fri, 13 Nov 1998 09:50:27 -0000 |
| |
Hi David,
> -----Original Message----- > From: David [mailto:david@kalifornia.com] > Sent: Thursday, November 12, 1998 10:21 PM > To: Greaves Tristan TM > Cc: linux-kernel@vger.rutgers.edu > Subject: Re: [PATCH] Option to suppress annoying "x.x.x.x sent an > invalid ICMP..." kernel messages, 2.1.127
> This is a nice idea, here's another twist on it. How about an addition in > /proc to turn reporting on/off for various things.
[snippity snip]
> a /proc/someplace/for/a/bunch/of/tunable/toggles (or sysctl) would be > excellent, not just for the above example, but for many > others, let your mind wander. dynamic adjustment is one of our greatest > achievements. trying to turn off a 1500 rule firewall isn't easy. > toggling a single entry is.
I agree completely. By now you've hopefully seen my updated patch which gives just this functionality.
It is no longer a kernel option. Now you can just do a:
echo 1 >/proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
... to stop the messages from appearing. Naturally, it defaults to "off" which is the current default kernel behaviour.
If you have any other ideas I would much appreciate hearing them.
Tris.
--- Tristan Greaves (Systems Integrator) Enterprise Solutions ICL Tel: +44 (0)1344 472512 Lovelace Road Mobile: +44 (0)7970 194624 Bracknell RG12 8SN Mail: Tristan.Greaves@icl.com [unhandled content-type:application/ms-tnef] | |