Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-09-03 Thread Steven Barth
I removed the lines with "lt 3.8.0" as they broke older Kernels, I deem IPv6 NAT in those kernels to be not worth the trouble anyway. IIRC it was introduced in 3.6 or 3.7 so it doesn't matter that much. I think iptables 1.4.17 introduced IPv6 NAT but it got some fixes in subsequent versions. O

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-09-02 Thread Sedat Dilek
On Sun, Sep 1, 2013 at 8:24 PM, Steven Barth 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 stu

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-09-01 Thread Steven Barth
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 peo

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-30 Thread Sedat Dilek
On Fri, Aug 30, 2013 at 8:18 AM, Adam Novak wrote: > Hello, > > With the latest patch you posted, and by doing "make > kernel_menuconfig" and searching for CONFIG_NF_NAT_IPV6 and enabling > all its dependencies (so it showed up in the menus under its > human-readable name) and then enabling it, I

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Adam Novak
Hello, With the latest patch you posted, and by doing "make kernel_menuconfig" and searching for CONFIG_NF_NAT_IPV6 and enabling all its dependencies (so it showed up in the menus under its human-readable name) and then enabling it, I was indeed able to get it to build the right modules. The users

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 7:31 PM, Adam Novak wrote: > Hello, > > Thank you so much for your help! I will try your patch when I get home > this evening. > With [1] I was able to build a kernel, see also attached check-nf-nat-kmod.txt. ( But this is only kernel-space stuff. ) - Sedat - [1] https:

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Adam Novak
Hello, Thank you so much for your help! I will try your patch when I get home this evening. -Adam On Thu, Aug 29, 2013 at 5:05 AM, Sedat Dilek wrote: > On Thu, Aug 29, 2013 at 1:50 PM, Sedat Dilek wrote: >>> On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: >> >> [ ... ] >> >> That diff [0]

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 1:50 PM, Sedat Dilek wrote: >> On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: > > [ ... ] > > That diff [0] you pointed to is IMHO wrong... > > With Linux v3.7 it is now CONFIG_NF_NAT_IPV4 [1] and > CONFIG_NF_NAT_IPV6 [2] was 1st introduced. > > I checked the netfilte

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 1:50 PM, Sedat Dilek wrote: >> On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: > > [ ... ] > > That diff [0] you pointed to is IMHO wrong... > > With Linux v3.7 it is now CONFIG_NF_NAT_IPV4 [1] and > CONFIG_NF_NAT_IPV6 [2] was 1st introduced. > > I checked the netfilte

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
> On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: [ ... ] That diff [0] you pointed to is IMHO wrong... With Linux v3.7 it is now CONFIG_NF_NAT_IPV4 [1] and CONFIG_NF_NAT_IPV6 [2] was 1st introduced. I checked the netfilter kernel-modules here on Ubuntu/precise with raring-lts v3.8 kernel.

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 10:59 AM, Sedat Dilek wrote: > On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: >> Hello, >> >> I've attached that file. It doesn't seem to have anything about >> nat_ipv4 or nat_ipv6. >> > > $ egrep -i 'ip6t|kmod-ip|nat' /tmp/dot-config_adam.txt | grep ^CONFIG | sort >

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 10:36 AM, Adam Novak wrote: > Hello, > > I've attached that file. It doesn't seem to have anything about > nat_ipv4 or nat_ipv6. > $ egrep -i 'ip6t|kmod-ip|nat' /tmp/dot-config_adam.txt | grep ^CONFIG | sort CONFIG_DEFAULT_ip6tables=y CONFIG_DEFAULT_kmod-ipt-nathelper=y CO

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 10:23 AM, Adam Novak wrote: > Hello, > > I've attached > ./build_dir/target-i386_uClibc-0.9.33.2/linux-x86_generic/linux-3.8.13/.config. > It has a line: > > CONFIG_NF_NAT_IPV6=m > > This matches: > > CONFIG_NF_NAT_IPV4=m > Sorry, for kernel-modules it has to be (=m). >

Re: [OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 10:07 AM, Adam Novak wrote: > Hello, > > I am trying to convince the OpenWRT build process to build > nf_nat_ipv6.ko (which, by analogy with the nf_nat_ipv4.ko, I would > expect to contain the new Kernel 3.7+ IPv6 nat chain and MASQUERADE > target). I'm starting with r37855

[OpenWrt-Devel] Building nf_nat_ipv6.ko

2013-08-29 Thread Adam Novak
Hello, I am trying to convince the OpenWRT build process to build nf_nat_ipv6.ko (which, by analogy with the nf_nat_ipv4.ko, I would expect to contain the new Kernel 3.7+ IPv6 nat chain and MASQUERADE target). I'm starting with r37855, and trying to use this patch: https://dev.openwrt.org/attachm