ipv4 05/05: add sysctl to accept packets with local source addresses
commit 8ec1e0ebe26087bfc5c0394ada5feb5758014fc8 Author: Patrick McHardy <kaber@trash.net> Date: Thu Dec 3 12:16:35 2009 +0100 ipv4: add sysctl to accept packets with local source addresses Change fib_validate_source() to accept packets with a local source address when the "accept_local" sysctl is set for the incoming inet device. Combined with the previous patches, this allows to communicate between multiple local interfaces over the wire. Signed-off-by:Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/networking/ip-sysctl.txt 6 additions, 0 deletionsDocumentation/networking/ip-sysctl.txt
- include/linux/inetdevice.h 1 addition, 0 deletionsinclude/linux/inetdevice.h
- include/linux/sysctl.h 1 addition, 0 deletionsinclude/linux/sysctl.h
- kernel/sysctl_check.c 1 addition, 0 deletionskernel/sysctl_check.c
- net/ipv4/devinet.c 1 addition, 0 deletionsnet/ipv4/devinet.c
- net/ipv4/fib_frontend.c 7 additions, 4 deletionsnet/ipv4/fib_frontend.c
Loading
Please register or sign in to comment