Use the standard Linux "make menuconfig" to set kernel compile-time options. As long as you have the git kernel tree you will have all the standard Linux kernel sources and "make" tools.
On Oct 19, 2:15 am, billmeteor chen <billmet...@gmail.com> wrote: > How to opened the netfilter & iptables config in kernel? > > Does it need download anything or not? > > On 10月19日, 上午11時25分, Alpha Jin <alphali...@gmail.com> wrote: > > > I don't think so, Once you opened the netfilter & iptables config in kernel. > > The iptables would be complied. > > > 2010/10/19 cox85 <cox1...@gmail.com> > > > > Thanks Brad. I am doing the thesis on Android kernel. > > > I have already created a Netfilter module for Linux Kernel, but in > > > Android is a little more complex. > > > I have downloaded iptables source from android kernel source, but how > > > can i compile it? > > > I have to create only a Makefile?And I have to compile with static > > > mode? > > > Where I have to put my userspace program iptables? > > > > On Oct 16, 5:02 am, Brad Davis <bda...@cove-mtn.com> wrote: > > > > In the kernel you need to enable Netfilter and all the IP Tables stuff > > > > under that (you should look at the configuration of a kernel that > > > > supports iptables). Then you need to port the userspace program > > > > iptables (including the libraries that aren't part of Android). > > > > > If you don't know what you are doing, you should practice first on a > > > > standard Linux distribution where you have the full support of the OS > > > > to debug your hacks. Android isn't made to learn kernel hacking on. > > > > > On Oct 15, 4:59 am, cox85 <cox1...@gmail.com> wrote: > > > > > > Thanks for the answer. But my kernel still not support iptables. I > > > > > have recompiled the kernel, with, command make menuconfig, adding > > > > > > general setup->"kernel-> user space relay support (formerly relayfs) " > > > > > > What I have to modify to enable iptables? > > > > > > On 13 Ott, 18:49, Brad Davis <bda...@cove-mtn.com> wrote: > > > > > > > Android is (simply) a Linux kernel, some (not all) modified BSD > > > > > > userspace, and the Android Java system. If you want Linux userspace > > > > > > you will need to add Linux userspace programs to your build. > > > > > > > On Oct 12, 11:17 am, cox85 <cox1...@gmail.com> wrote: > > > > > > > > I want to create a netfilter kernel module and I am new in android > > > > > > > world. > > > > > > > I have downloaded android kernel and I have make my own kernel, > > > > > > > but > > > I > > > > > > > can't found in ADB shell iptables command. > > > > > > > I use android goldfish because i have only the emulator > > > > > > > What I have to do to enabling iptables command? > > > > > > > Antonio Conforti- Hide quoted text - > > > > > - Show quoted text - > > > > -- > > > unsubscribe: > > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@go-oglegroups.com> > > > website:http://groups.google.com/group/android-kernel > > > -- > > Best regards, > > Alpha- 隱藏被引用文字 - > > > - 顯示被引用文字 - -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel