[Bug 740] New: iptables-save format error in libxt_strings

bugzilla-daemon at bugzilla.netfilter.org
Mon, 22 Aug 2011 01:35:31 -0000

Summary: iptables-save format error in libxt_strings
           Product: iptables
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P5
         Component: iptables
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: sivad_thgiwd at yahoo.ca
   Estimated Hours: 0.0


Created an attachment (id=363)
 --> (http://bugzilla.netfilter.org/attachment.cgi?id=363)
patch

iptables-save of this

-m string --hex-string "action=|5C22|http|3A|"

results in

-string "action=\\"http:"

instead of backslash - escaped quote, it reads escaped backslash -- quote. This
results in an error on restore