Laszlo Attila Toth wrote:
Hi Patrick, This extension of addrtype match lets the address type checking be limited to the incoming or outgoing interface of the packets depending on the current hook. In the FORWARD chain only one check is allowed but the user can choose which one would like to specifiy.
Thanks for changing this.
Because of this extension the match has a new revision. Rev 0 can be used by older tools and rev 1 is for the modified iptables match. The iptables patch is for revision 1 only. Both the kernel module and the iptables module moved to xtables, but the kernel module uses ipt_addrtype_info in revision 0.
I just read up on your and Jan's discussion, but you were too fast for me :) I'm not sure whether this is really a good candidate for x_tables. IPv4 and IPv6 addrtype have different meanings, the IPv4 addrtype is based on routing, IPv6 solely on the address. Especially things like "--addrtype local" won't work, which is IMO the most useful feature. And since you don't actually add IPv6 support, I don't see any advantage in moving to x_tables. So I think for now I'd prefer a change to the ipt_addrtype match. - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html