Fwbuilder loads without trouble but when I request a compile the generated script is empty but for the shebang header line (#!/bin/sh). Performing a strace directly on fwb_ipt (with the relative arguements of course) produces a SIGABRT: ......... ......... open("MYFRW.fw", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 kill(6416, SIGABRT) = 0 --- SIGABRT (Aborted) --- +++ killed by SIGABRT +++ fwbuilder was compiled and used on the following system: Gentoo 1.4rc1 2.4.19 with XFS, devfs gcc 3.2 (CFLAGS = CXXFLAGS = -march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4) gnome 2.0 I also tried with "conservative" flags and still had no luck. In contrast, building the tarball in slackware 8.0 with gcc 2.95 results to a fully-working fwb_ipt.
Is your kernel compiled with full support for iptables and it's laundry list of features? Also, what were your "conservative" settings? What version fo fwbuilder are you installing?
> Is your kernel compiled with full support for iptables and it's laundry > list of features? Yes, as modules. Same as the slackware (though slack runs a 2.4.18). However, I think that fwb_ipt does not check for the kernel modules (after all, it's supposed to built a shell script that could be run on another machine). In any case, the SIGABRT appears in the strace while fwb_ipt is parsing the xml rules file. > Also, what were your "conservative" settings? i686 O2 > What version fo fwbuilder are you installing? 1.0.6 with libfwbuilder 0.10.10 (the exact same tarballs that emerge fetched, I used sucessfuly in slack). Thanks for the feedback.
fwbuilder-1.0.7 is currently in portage marked unstable. Have you tested this version?
still no luck... :-( it seems like fwbuilder does not like gcc 3. argh!
fwbuilder-1.0.8 is currently in portage. I have tested the ebuild and it appears to work like a charm. Let me know how your experience faires.
> fwbuilder-1.0.8 is currently in portage. I have tested the ebuild and it > appears to work like a charm. Let me know how your experience faires. Doh! I get this: PolicyCompiler_pf.cc:491: parse error before `(' token PolicyCompiler_pf.cc:492: parse error before `(' token PolicyCompiler_pf.cc:493: parse error before `(' token make[2]: *** [PolicyCompiler_pf.o] Error 1 Okay, fwbuilder simply hates me....
Maybe you have some bad ram or something? Problems running a program and problems compiling a program... www.memtest86.com Let me know if that comes up with anything...
One last thought here... what kernel are you using? and what version of ipchains?
db fix