[Bug 61] New: iptables-restore segfault

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Wed, 05 Mar 2003 00:39:31 +0100


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=61

           Summary: iptables-restore segfault
           Product: iptables userspace
           Version: 1.2.7a
          Platform: other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: iptables-restore
        AssignedTo: laforge@netfilter.org
        ReportedBy: thierry.blind@caramail.com
                CC: netfilter-buglog@lists.netfilter.org


Hi,  
I created some rules that I list with iptables-save: 
  
# Generated by iptables-save v1.2.7a on Sat Mar  1 15:10:14 2003  
*nat  
:PREROUTING ACCEPT [28:1407]  
:POSTROUTING ACCEPT [0:0]  
:OUTPUT ACCEPT [9:706]  
-A POSTROUTING -o ppp0 -j MASQUERADE   
COMMIT  
  
2. I save these rules (for example) in the file iprules.txt  (using: iptables-save >  
iprules.txt)  
3. I edit the file and remove the "*nat" line.  
4. I do:  iptables-restore < iprules.txt  
   and then it segfault. Same thing when I use stdin and omit the "*nat" line.  
  
Thanx.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.