Page 1 of 1

2.4.18 and iptables

PostPosted: Mon Apr 22, 2002 9:14 pm
by Turmoilz
I have just installed 2.4.18 from source with the latest 1.9.4 grsecurity patch. When I reboot the machine all is fine except the startup script for iptables fails. I am not sure what to do with it. I have 2.4.17 with the older gr patch and that ran fine for me with no problems. Please advise me on what to do.

Thanks

joel

hm

PostPosted: Tue Apr 23, 2002 8:18 am
by spender
what's the error iptables gives? try loading your firewall script manually so you can see the error it puts out. It's most likely due to an error in your kernel configuration. No one else has had problems like that.

PostPosted: Tue Apr 23, 2002 9:52 am
by Turmoilz
Flushing all current rules and user defined chains: [ OK ]
Clearing all current rules and user defined chains: [ OK ]
iptables: libiptc/libip4tc.c:384: do_check: Assertion `h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/rc.d/init.d/iptables: line -243: 1051 Aborted iptables -t $i -F
iptables: libiptc/libip4tc.c:384: do_check: Assertion `h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/rc.d/init.d/iptables: line -240: 1055 Aborted iptables -t $i -X
iptables: libiptc/libip4tc.c:384: do_check: Assertion `h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/rc.d/init.d/iptables: line -236: 1059 Aborted iptables -t $i -Z
Applying iptables firewall rules:
iptables-restore: libiptc/libip4tc.c:384: do_check: Assertion `h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/rc.d/init.d/iptables: line -233: 1061 Done grep -v "^[[:space:]]*#" $IPTABLES_CONFIG
1062 | grep -v '^[[:space:]]*$'
1063 Aborted | /sbin/iptables-restore -c
[FAILED]


That is what I get every time.