lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] Option to suppress annoying "x.x.x.x sent an invalid ICMP..." kernel messages, 2.1.127
Date
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]
\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.045 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site