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

Stefan.Weigel at mondial.de Stefan.Weigel at mondial.de
Wed Oct 5 12:05:13 CEST 2005


Hi!
I found the problem. Some compiler flags were set in environment:

CPPFLAGS / CFLAGS = -s -O3 -fomit-frame-pointer -Wall -malign-functions=4 
-malign-double -march=pentiumpro -fexpensive-optimizations

With unsetting these variables I have a working iptables version.


Best regards

Stefan Weigel
IT

Mondial Assistance Deutschland GmbH
Riedenburger Strasse 2
D-81677 München
Telefon +49 (89) 20 80 1 - 1085
Telefax +49 (89) 20 80 1 - 1907
mailto: stefan.weigel at mondial.de
http://www.mondial.de





Henrik Nordstrom <hno at marasystems.com>
30.09.2005 23:19

 
        An:     Stefan.Weigel at mondial.de
        Kopie:  netfilter at lists.netfilter.org
        Thema:  Re: can't initialize iptables table `filter': Bad file descriptor


On Fri, 30 Sep 2005 Stefan.Weigel at mondial.de wrote:

> I compiled kernel 2.6.13.2 and iptables 1.3.3 with some extra modules 
from
> patch-o-matic-ng. Compiling went good.
> But when doing a
>
> # iptables -L
>
> I get the following error message:
>
> iptables v1.3.3: can't initialize iptables table `filter': Bad file
> descriptor
> Perhaps iptables or your kernel needs to be upgraded.


Is your iptables compiled to the correct kernel headers? (KERNEL_DIR 
argument when compiling iptables)

Regards
Henrik







More information about the netfilter mailing list