Re: Cannot use iptables with kernel 2.6.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2010-04-22 12:58, Elison Niven wrote:
>
>I am trying to install iptables on ARM platform running linux kernel
>2.6.30. I have enabled all the netfilter modules as enabled in the
>kernel.
>
>When statically building iptables-1.4.7, I get the following error:
># iptables
>getsockopt failed strangely

iptables without a command should display "no command specified",
not getsockopt failed.

What commands did you use for static compilation?

>When I build it dynamically, I am able to run iptables:
># iptables -h
>(displays help)

>However, When I try to apply any rules, It says:
># iptables -F
>Can't initialize table filter.
>Perhaps iptables or your kernel needs to be updated.
>
>This is strange because I have enabled all the netfilter options in my kernel.

I have a vague idea it could be ARM's alignments..

>I also tried using iptables-1.4.4 and iptables-1.3.8 but am not able
>to run iptables.
>
>Searching a little more, It seems to be the bug reported here :
>
>https://lists.linux-foundation.org/pipermail/bugme-new/2009-April/021618.html

This report mentions that versions before 2.6.30-rc1 (e.g. 2.6.29) were fine.
Is that also the case for you?

>However this patch that claims to solve this is already applied in my
>kernel and I still get the same error:
>
>http://marc.info/?l=linux-crypto-vger&m=123924457316022&w=2

Does it happen when iptable_filter.ko is loaded already before
iptables is executed?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux