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

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

 



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@xxxxxxxxxx
http://www.mondial.de





Henrik Nordstrom <hno@xxxxxxxxxxxxxxx>
30.09.2005 23:19

 
        An:     Stefan.Weigel@xxxxxxxxxx
        Kopie:  netfilter@xxxxxxxxxxxxxxxxxxx
        Thema:  Re: can't initialize iptables table `filter': Bad file descriptor


On Fri, 30 Sep 2005 Stefan.Weigel@xxxxxxxxxx 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







[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