diff options
author | Catalin\(ux\) M. BOIE <catab@embedromix.ro> | 2013-09-23 23:04:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-28 15:56:15 -0400 |
commit | 7df37ff33dc122f7bd0614d707939fe84322d264 (patch) | |
tree | caacc6c977eeb20bd408094c92a12c4bd8adfbed /net/ceph/mon_client.c | |
parent | 60e453a940ac678565b6641d65f8c18541bb9f28 (diff) | |
download | linux-7df37ff33dc122f7bd0614d707939fe84322d264.tar.gz linux-7df37ff33dc122f7bd0614d707939fe84322d264.tar.bz2 linux-7df37ff33dc122f7bd0614d707939fe84322d264.zip |
IPv6 NAT: Do not drop DNATed 6to4/6rd packets
When a router is doing DNAT for 6to4/6rd packets the latest
anti-spoofing commit 218774dc ("ipv6: add anti-spoofing checks for
6to4 and 6rd") will drop them because the IPv6 address embedded does
not match the IPv4 destination. This patch will allow them to pass by
testing if we have an address that matches on 6to4/6rd interface. I
have been hit by this problem using Fedora and IPV6TO4_IPV4ADDR.
Also, log the dropped packets (with rate limit).
Signed-off-by: Catalin(ux) M. BOIE <catab@embedromix.ro>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions