diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-21 19:27:47 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-21 20:11:21 +0100 |
commit | 7a30df394cda98f35a2274bfad27598f1064f685 (patch) | |
tree | 9e43fc53a107f392c625d206a9bac7e243b4027d /src/hashtables.c | |
parent | eb133aa1045bebbe27fd5cffc37f7c84b31fe08a (diff) |
device: disable ICMP redirects
The xfrm layer does this by checking for secpath, but we don't use
secpath, so instead we have to jigger the config value ourselves.
This is nearly always desired, since this is often how a wheel-spoke VPN
works. There's very little use case for redirects with wireguard.
This should be reverted if we ever move the test directly into
ip_forward in net/ipv4/ip_forward.c near the call to
ip_rt_send_redirect.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/hashtables.c')
0 files changed, 0 insertions, 0 deletions