On Sun, Sep 1, 2013 at 8:24 PM, Steven Barth <[email protected]> wrote:
> Hi,
>
> thanks to you all for your contributions.
>
> I've commited something based upon this in
> https://dev.openwrt.org/changeset/37866
>
> This also adds proper packaging for kernel-modules and iptables-modules.
>
> I moved the IPv6-NAT stuff out of regular NAT-stuff as it doesn't really fit
> in (many people use IPv4 NAT, only few will use IPv6-NAT).
>
> I hope this is more complete now but I would still consider this
> experimental, however this is something people can play with.
>
> Feedback and comments or improvements are appreciated.
>

Cool and thanks for a more complete approach!

I really looked at the Linux-kernel sources when new Kconfigs were introduced.
Did you check when CONFIG_IP_NF_TARGET_REDIRECT and
CONFIG_IP_NF_TARGET_NETMAP hit 1st?

...
$(eval $(call nf_add,IPT_NAT6,CONFIG_IP_NF_TARGET_REDIRECT,
$(P_V4)ip6t_REDIRECT, lt 3.8.0))
...
$(eval $(call nf_add,IPT_NAT6,CONFIG_IP_NF_TARGET_NETMAP,
$(P_V6)ip6t_NETMAP, lt 3.8.0))
...

All other Kconfig stuff was "ge 3.7.0" (guess this is greater-or-equal).
( Maybe, Adam can check this. )

Do you happen to know which iptables-version had 1st support for NAT-IPv6?

What is the suffix for your IPv6 related kmod-* and IPT_*

These lines in special:
...
DEPENDS:=ip6tables +kmod-ipt-nat6 <--- kmod-ip6t-nat
...
IPT_BUILTIN += $(IPT_NAT6-y) <--- IP6T_NAT-y

It is not NATv6 but IPv6 :-).

But I dunno anything about your naming or coding convenstions.
( I did not grep OpenWrt sources. )

- Sedat -
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to