<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>iptables, netfilter module is missing :(</title>
		<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing</link>
		<description>Posts in the discussion thread &quot;iptables, netfilter module is missing :(&quot; - How to create crosscompiling platform for building kernel modules ?</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-526044</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-526044</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 20:40:02 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The bad news, by default:<br /> - the kernel is 2.6.22.10 but the actual kernel is 2.6.24.4<br /> - the gcc is 4.1.2 but we need 4.2.4</p> <p>So I have modified the right Config.in so when I start make menuconfig, the kernel 2.6.24 is available but gcc max version is only 4.2.1.</p> <p>I think that the tool chain provided by WD is not the right version.</p> <p>Pffff as I say this toolchain is a nightmare :(</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525991</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525991</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 18:37:03 +0000</pubDate>
				<wikidot:authorName>alllexx</wikidot:authorName>				<wikidot:authorUserId>233384</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You can't use Fedora's native gcc to cross-compile the kernel modules, you obviously need a cross-compiler, thus, we use buildroot to get this arm-linux-uclibcgnueabi-gcc 4.2.4 toolchain.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525989</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525989</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 18:32:47 +0000</pubDate>
				<wikidot:authorName>alllexx</wikidot:authorName>				<wikidot:authorUserId>233384</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's evident that there's something wrong with `getline` function definition in <tt>scripts/unifdef.c</tt>, so, I guess, you should change it to match the declaration in <tt>/usr/include/stdio.h</tt></p> <p>P.S. By following these instructions, you get the full whitelight rootfs built, so you may want to edit <tt>buildroot/.defconfig</tt> to disable building anything but the minimal toolchain.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525810</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525810</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 13:08:10 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Here a step by step how to but the make doesn't work:</p> <div class="code"> <pre> <code>tar xvfz WD-MyBookWorld-v*-GPL.tar.gz cd WD-MyBookWorld* cd kernel tar xvfz kernel-source.tar.gz cd kernel-source tar xvfj buildroot*.tar.bz2 cp buildroot-patches/* buildroot/ -rf cd buildroot ./snapshot.patch . . make defconfig make</code> </pre></div> <p>I got this error:</p> <div class="code"> <pre> <code>make[1]: Entering directory `/home/david/WD-MyBookWorld-v1.00.16-GPL/kernel/kernel-source/buildroot/toolchain_build_arm/linux-2.6.24' CHK include/linux/version.h HOSTCC scripts/unifdef scripts/unifdef.c:209: error: conflicting types for ‘getline’ /usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here make[2]: *** [scripts/unifdef] Error 1 make[1]: *** [headers_install] Error 2 make[1]: Leaving directory `/home/david/WD-MyBookWorld-v1.00.16-GPL/kernel/kernel-source/buildroot/toolchain_build_arm/linux-2.6.24' make: *** [/home/david/WD-MyBookWorld-v1.00.16-GPL/kernel/kernel-source/buildroot/toolchain_build_arm/linux/.configured] Error 2</code> </pre></div> <br /> Any idea ?
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525689</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525689</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 07:33:25 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks alllexx,<br /> It is a good start but my major problem is gcc. My version of gcc is not the same off the compiled kernel inside the HDD…<br /> My version in fedora is 4.4.0 and the MBWE is 4.2.4</p> <p>Do you know how to solve such problem ?<br /> Do I need to recompil gcc :( ?<br /> There is gcc options so he tag module as compiled with 4.2.4 ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525627</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525627</link>
				<description></description>
				<pubDate>Sat, 04 Jul 2009 04:11:57 +0000</pubDate>
				<wikidot:authorName>alllexx</wikidot:authorName>				<wikidot:authorUserId>233384</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Don't expect any detailed instructions from me, until I get a whitelight, but as far as I can tell the general idea is:<br /> 1. Get the GPL source code archive and extract<br /> All you need is in kernel/kernel-source<br /> 2. Extract buildroot-20080225.tar.bz2 - you'll get kernel/kernel-source/buildroot<br /> 3. Copy buildroot patches: cp kernel/kernel-source/buildroot-patches/* kernel/kernel-source/buildroot/ -rf<br /> and apply: cd kernel/kernel-source/buildroot; ./snapshot.patch<br /> 4. Build the toolchain:<br /> cd kernel/kernel-source/buildroot; make defconfig; make<br /> 5. cd kernel/kernel-source; ./setup-paths.sh<br /> this will add your new toolchain dir to PATH<br /> 6. cd kernel/kernel-0.4.6 ; make oxnas_810_eabi_dse_defconfig ; make menuconfig ; make modules</p> <p>P.S. You may need leon headers. I already shared them once, search the wiki</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-525484</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-525484</link>
				<description></description>
				<pubDate>Fri, 03 Jul 2009 22:43:01 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>:(<br /> iptables, I am lovin it.. (McDonald's advertising ;) )<br /> Yes I know that I am paranoid but I think it is very important. I don't want to expose my personal photos.</p> <p>My router beetween Internet and my LAN is provided by my service provider and there is no way to filter the source IP.<br /> You can just forward an outside port to a inside port.</p> <p>But behind this question there is a more general one.<br /> How to compil a new kernel module for the white ring disk?</p> <p>Please no answer like "did you try the toolchain ?"<br /> I tried it and it is a nightmare.<br /> I think, without a clear procedure about how to do it, I cannot do it.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-524065</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-524065</link>
				<description></description>
				<pubDate>Thu, 02 Jul 2009 05:46:54 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>I am the only one that want to secure the disk ?</p> </blockquote> <p>Yes, I guess so….<br /> If you're unsure about your firewall between the Internet and your LAN you could add some security there.<br /> Not at all necessary….<br /> Just a very very very small percentage of the security-breaches have something to do with 'real hacking'.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-523879</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-523879</link>
				<description></description>
				<pubDate>Thu, 02 Jul 2009 01:01:02 +0000</pubDate>
				<wikidot:authorName>boondoklife</wikidot:authorName>				<wikidot:authorUserId>338185</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I did think about this module, but for another reason, too and no i dont seem to find it anywhere. You could possibly roll your own kernel and what not but when you think about it, It is really not necessary as it will be behind your router anyways in most cases. On top of this you know what will be run on it and know that no malicious code will be run on it with out your ok. Port wise the only things open will be what you set to open. I think samba is all by default but after the hack there is ssh atleast.</p> <p>check out netstat -an and you can take a look if you are extra paranoid.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-523842</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-523842</link>
				<description></description>
				<pubDate>Wed, 01 Jul 2009 23:39:11 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>No idea ?<br /> I am the only one that want to secure the disk ?<br /> :(</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-516712</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-516712</link>
				<description></description>
				<pubDate>Tue, 23 Jun 2009 21:30:25 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yes I did.<br /> If you try to start iptables (iptables -L for example) you got:<br /> "iptables v1.2.11: can't initialize iptables table ‘filter’: iptables who? (do you need to insmod?)<br /> Perhaps iptables or your kernel needs to be upgraded."</p> <p>And if I check inside /lib/modules/2.6.24.4/kernel/net there is no netfilter modules</p> <p>I think also it is good to know how to compil new kernel modules or packages ;)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-516466</guid>
				<title>Re: iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-516466</link>
				<description></description>
				<pubDate>Tue, 23 Jun 2009 16:46:00 +0000</pubDate>
				<wikidot:authorName>tomas123</wikidot:authorName>				<wikidot:authorUserId>319652</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Do you have tried this package?<br /> <a href="http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/iptables_1.2.11-2_arm.ipk">http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/iptables_1.2.11-2_arm.ipk</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-164485#post-515761</guid>
				<title>iptables, netfilter module is missing :(</title>
				<link>http://mybookworld.wikidot.com/forum/t-164485/iptables-netfilter-module-is-missing#post-515761</link>
				<description></description>
				<pubDate>Mon, 22 Jun 2009 22:30:09 +0000</pubDate>
				<wikidot:authorName>david_tre07</wikidot:authorName>				<wikidot:authorUserId>342779</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>sorry for my English, I'm French.<br /> I have read in this forum that some persons are able to compil kernel module. As I want to use iptables I need to compile the filter module.<br /> Can someone give me (us) a step by step tutorial so I can compil kernel modules.</p> <p>My MBWE is the white light with firmware : 01.00.16 (MioNet 2.3.9.13)<br /> cat /proc/version<br /> Linux version 2.6.24.4 (brian@dualla) (gcc version 4.2.4) #1 Tue Feb 10&nbsp;11:00:22 GMT 2009</p> <p>ls -l /lib/libc-*<br /> -rwxr-xr-x 1 root root 1067488 Mar 17&nbsp;07:15 /lib/libc-2.3.4.so</p> <p>Thanks for your help<br /> Regards.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>