diff options
author | Florian Westphal <fw@strlen.de> | 2017-04-14 20:22:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 15:09:23 -0400 |
commit | 0aa8c13eb512823bc4d60397d666a6b6260bb965 (patch) | |
tree | cb0a1a2dd8d48965f34613646c4d5b3a52c59e03 /net/can/gw.c | |
parent | 71947f0f91ad9c995e11c671d24bd4da5d11c0cb (diff) |
ipv6: drop non loopback packets claiming to originate from ::1
We lack a saddr check for ::1. This causes security issues e.g. with acls
permitting connections from ::1 because of assumption that these originate
from local machine.
Assuming a source address of ::1 is local seems reasonable.
RFC4291 doesn't allow such a source address either, so drop such packets.
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/gw.c')
0 files changed, 0 insertions, 0 deletions