Re: iptables -> can't initialize iptables table `filter': Bad file descriptor

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

 



On 12/4/07, Patrick McHardy <kaber@xxxxxxxxx> wrote:
> [netfilter-devel re-added. Please don't drop CCs]
>
> Salatiel Filho wrote:
> > On 12/4/07, Patrick McHardy <kaber@xxxxxxxxx> wrote:
> >
> >>> I tried the patch but it didn`t work.
> >>>
> >>> ~# iptables --version [patched now]
> >>> iptables v1.3.8
> >>>
> >>> ~# iptables -L
> >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> >>> Perhaps iptables or your kernel needs to be upgraded.
> >>
> >> Could you send another strace please?
> >>
>
> > getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
> > "filter\0\0\0\0\0\0\340?\3@\310[\1@\1\0\0\0\244\213\0\0"..., [84]) = 0
> > brk(0)                                  = 0x1c000
> > brk(0x3d000)                            = 0x3d000
> > getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1c0c0, 0xbea55c24) = -1
>
>
> Thanks. The invalid fd usage is gone, this seems to be a problem
> in the interaction between kernel and userspace. Please enable
> debugging as I wrote a couple of mails ago and post the output.
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

OK. Debug enabled.

~# iptables -L
iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
Perhaps iptables or your kernel needs to be upgraded.

# dmesg
ip_tables: (C) 2000-2002 Netfilter core team
translate_table: size 632
Finished chain 1
Finished chain 2
Finished chain 3
table->private->number = 4
get_entries: 668 != 672


~# lsmod
Module                  Size  Used by
iptable_filter          2304  0
ip_tables              24672  1 iptable_filter
snd_mixer_oss          14848  0
snd                    41976  1 snd_mixer_oss
soundcore               7524  1 snd



-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux