Hi, ipv4 has a feature rp_filter, where packets are rejected if their sender address wouldn't be routed to the interface the packet came in on. ipv6 still lacks this feature. It is possible to mimic that feature through iptables, but due to the fact that ipv6 has a significantly more complicated address structure, it is not trivial to write the iptable rules. regards Hadmut
Hadmut, Is this still a problem? Thanks.
It is still a problem. Ip6tables can only serve as a replacement if it gets a current copy of the routing table(s) and it's extra work to manage both places.
This has been implemented with the rpfilter match in Linux 3.3 (needs iptables 1.4.14 in userspace).