diff options
author | J. Simonetti <jeroen@simonetti.nl> | 2005-06-13 15:19:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-13 15:19:03 -0700 |
commit | 1c2fb7f93cb20621772bf304f3dba0849942e5db (patch) | |
tree | 0cb992ad463ee13af28d80d6730dcf1c4532b707 /include | |
parent | 6a6ddb2a9c11fcc3e8d7517841d28c9ea206ddef (diff) | |
download | linux-1c2fb7f93cb20621772bf304f3dba0849942e5db.tar.bz2 |
[IPV4]: Sysctl configurable icmp error source address.
This patch alows you to change the source address of icmp error
messages. It applies cleanly to 2.6.11.11 and retains the default
behaviour.
In the old (default) behaviour icmp error messages are sent with the ip
of the exiting interface.
The new behaviour (when the sysctl variable is toggled on), it will send
the message with the ip of the interface that received the packet that
caused the icmp error. This is the behaviour network administrators will
expect from a router. It makes debugging complicated network layouts
much easier. Also, all 'vendor routers' I know of have the later
behaviour.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 23032d9d6071..a17745c80a91 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -346,6 +346,7 @@ enum NET_TCP_MODERATE_RCVBUF=106, NET_TCP_TSO_WIN_DIVISOR=107, NET_TCP_BIC_BETA=108, + NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, }; enum { |