Is that because the linux kernel was not compiled with
CONFIG_NETFILTER_XT_MATCH_OWNER option so that the netfilter cannot do
anything with OWNER option ?


Wilson


2010/11/6 billmeteor chen <billmet...@gmail.com>

> Can you tell me how to solve this problem?
>
> FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:384
>
> I have the same problem like this.
>
>
>
>
> On 11月6日, 上午3時00分, Earlence <earlencefe...@gmail.com> wrote:
> > I got it!
> >
> > a crucial netfilter config was missing
> >
> > CONFIG_NETFILTER_XT_MATCH_OWNER=m
> >
> > Once that was in, everything worked like a charm!
> >
> > Cheers,
> > Earlence
> >
> > On Nov 4, 8:03 pm, Earlence <earlencefe...@gmail.com> wrote:
> >
> >
> >
> > > Hi,
> >
> > > I modified the goldfish defconfig to allow netfilter support.
> > > I also built the full AOSP.
> > > The emulator boots with the new kernel and system image.
> >
> > > when I run "iptables -L", I get a 2 entires (input, output, forward)
> > > with no rules configured.
> >
> > > So, the compilation was okay.
> > > when I run this:
> >
> > > iptables -A OUTPUT -m owner --uid-owner 10001
> >
> > > I get the message "No chain/target/match by that name"
> > > Why is this so?
> >
> > > also, when I run something like:
> > > iptables -A INPUT -p tcp --dport 80 -j ACCEPT
> >
> > > the output is:
> > > FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:384
> >
> > > but the rule gets added and iptables -L returns:
> >
> > > Chain INPUT (policy ACCEPT)
> > > target     prot opt source               destination
> > > FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:384
> > > ACCEPT     tcp  --  anywhere             anywhere            tcp
> > > dpt:www
> >
> > > Chain FORWARD (policy ACCEPT)
> > > target     prot opt source               destination
> >
> > > Chain OUTPUT (policy ACCEPT)
> > > target     prot opt source               destination
> >
> > > Help me out with this!
> >
> > > Cheers,
> > > Earlence- 隱藏被引用文字 -
> >
> > - 顯示被引用文字 -
>
> --
> unsubscribe: 
> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-kernel
>

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to