iptables-restore error on COMMIT
I'm a firewall newbie.
I have what was originally a RH 7.0 box; but I rolled my own kernel which is now 2.4.21; I've also installed netfiler v.1.2.8 and have disabled ipchains.
Everything appears to be working, I'm able to hand enter rules and test them and it all works fine; except for iptables-restore.
When I generate a rule-set from iptables-save and then pass it to iptables-restore it always fails on the line that the 'COMMIT' directive appears on. If I comment out the COMMIT directive; iptables-restore happily accepts what I feed it.
Anybody have any thoughts, ideas, suggestions, etc; anything that would solve this problem. It would be most appreciated.
Thanks in advance!