]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4]: Sysctl configurable icmp error source address.
authorJ. Simonetti <jeroen@simonetti.nl>
Mon, 13 Jun 2005 22:19:03 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2005 22:19:03 +0000 (15:19 -0700)
commitd125149c725d570d81c85de323e23283901cacd1
tree0cb992ad463ee13af28d80d6730dcf1c4532b707
parentbcea7914c741763500d93dd4e42bea49add01774
[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>
include/linux/sysctl.h
net/ipv4/icmp.c
net/ipv4/sysctl_net_ipv4.c