diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-02-03 05:40:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-02-03 05:40:09 +0100 |
commit | 0dec456d1fe73e0539625f0973ee8ef8fb805943 (patch) | |
tree | 56d37da8d8e37154030d3f45224ae852195977e6 /net/Kconfig | |
parent | [TG3]: Update driver version and release date. (diff) | |
download | linux-0dec456d1fe73e0539625f0973ee8ef8fb805943.tar.xz linux-0dec456d1fe73e0539625f0973ee8ef8fb805943.zip |
[NET]: Add CONFIG_NETDEBUG to suppress bad packet messages.
If you are on a hostile network, or are running protocol tests, you can
easily get the logged swamped by messages about bad UDP and ICMP packets.
This turns those messages off unless a config option is enabled.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index bc603d9aea56..5126f58d9c44 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -27,6 +27,13 @@ if NET menu "Networking options" +config NETDEBUG + bool "Network packet debugging" + help + You can say Y here if you want to get additional messages useful in + debugging bad packets, but can overwhelm logs under denial of service + attacks. + source "net/packet/Kconfig" source "net/unix/Kconfig" source "net/xfrm/Kconfig" |