Skip to contentSkip to conversation

iptables: Unknown error 4294967295

DISCUSSION KARIM SATTAR 2 participants 2 messages Aug 30, 2007

lore
Share & tools
lore
#0 lore raw

How can I recompile the kernel and not iptables.

KARIM SATTAR escreveu:

Quoted 4 lines

Hi

I am getting the error as mentioned below; the problem arose when I have changed the data structure of the ipt_entry which stores the

rules

Quoted 9 lines

and other information. I have changed in the also other appropriate
initialization of the structure in ip_nat_rule and other files. I have just added one variable of type unsigned int. Can any one have

idea regarding this problem.

Before adding this variable, iptables was working fine. Can any one help me in this problem.

Quoted 10 lines

[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
iptables: Unknown error 4294967295
[FAILED]
Setting chains to policy ACCEPT: raw iptables: Unknown error

4294967295

Quoted 27 lines

nat iptables: Unknown error 4294967295
mangle iptables: Unknown error 4294967295
filter iptables: Unknown error 4294967295
[FAILED]
Unloading iptables modules: [ OK ]

All the modules have been loaded as permanent modules rather than as loadable modules.

I really dont know if that will be your case, but i have
experienced
several 'Unknown error xxxxxxxxxx' after recompiled kernel and >NOT recompiled iptables.

Signature · 8 lines
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	[email protected]
	My SPAMTRAP, do not email it
#1 lore raw
Quoted 1 line

How can I recompile the kernel and not iptables.

Simple. They are separate packages (iptables is not the same as netfilter; it's part of the project). So it's possible to just compile the kernel but not iptables, which is only the userspace utility to create rules.

If you haven't compiled iptables you can download it from ftp.netfilter.org.
If you patched the kernel before compiling using patch-o-matic-ng, it's possible that iptables also had to be patched before compiling it so it may not be enough to just compile and install iptables. Also, keep in mind that you probably have an older version of iptables installed that comes with your distro and you should uninstall that version.

Grts,
Rob