Red Hat Bugzilla – Bug 29132
iptables-restore crashes or doesn't restore rule
Last modified: 2007-04-18 12:31:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.0-0.99.11 i586)
1. iptables-restore dies if your /stc/sysconfig/iptables file isn't saved
with counters (lines starting with [).
2. iptables-restore can't restore some lines containing the keyword SYN (or
maybe iptables-save generates bad entry)
Steps to Reproduce:
:INPUT DROP [34:10047]
-i lo -j ACCEPT
Actual Results: Bad argument `EPT'
The bug sometimes causes segfault because strtok is called with NULL arg,
if the rule has no saved counters.
*** This bug has been marked as a duplicate of 29104 ***