Hi
I have installed in the new version of iptables 1.3.8 from the website on the Kernel 2.6.20. I have introduced a integer variable in the ipt_entry structure and after recompilation of the kernel and the iptables with the new kernel (although tried with out recompiling iptables); I have got the following error when the iptables has been loaded. Also the output of dmesg has been shown. I have tried with other threads in the section such as making firewall etc as shown in the iptable-restore command. according to the iptable-restore; the module is not found. but in .config; all the netfilter and iptables modules are being loaded permanently rather than loadable modules (although tried with that also).

This should be noted that previously the iptables were working fine. When I introduced the variable and initialize it in the appropriate places. Kernel compiled without errors. But the iptables are making problem when the service start.


[root@localhost ~]# service iptables start
Flushing firewall rules: iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
[FAILED]
Setting chains to policy ACCEPT: raw iptables: Unknown error 4294967295
mangle iptables: Unknown error 4294967295
filter iptables: Unknown error 4294967295
[FAILED]
Unloading iptables modules: [ OK ]


[root@localhost ~]# iptables-restore < /root/firewall_reset
FATAL: Module ip_tables not found.
iptables-restore v1.3.8: iptables-restore: unable to initialize table 'nat'

Error occurred at line: 16
Try `iptables-restore -h' or 'iptables-restore --help' for more information.