diff options
author | Florian Westphal <fw@strlen.de> | 2013-04-18 00:45:24 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-19 00:11:59 +0200 |
commit | f83a7ea2075ca896f2dbf07672bac9cf3682ff74 (patch) | |
tree | ce21e50675072ee54018788ddea8b234daad4af4 /net/mac80211 | |
parent | netfilter: ipset: bitmap:ip,mac: fix listing with timeout (diff) | |
download | linux-f83a7ea2075ca896f2dbf07672bac9cf3682ff74.tar.xz linux-f83a7ea2075ca896f2dbf07672bac9cf3682ff74.zip |
netfilter: xt_rpfilter: skip locally generated broadcast/multicast, too
Alex Efros reported rpfilter module doesn't match following packets:
IN=br.qemu SRC=192.168.2.1 DST=192.168.2.255 [ .. ]
(netfilter bugzilla #814).
Problem is that network stack arranges for the locally generated broadcasts
to appear on the interface they were sent out, so the IFF_LOOPBACK check
doesn't trigger.
As -m rpfilter is restricted to PREROUTING, we can check for existing
rtable instead, it catches locally-generated broad/multicast case, too.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions