[Bug 774] New: iptables-restore can't parses the quoted parameter correctly.
bugzilla-daemon at bugzilla.netfilter.org
bugzilla-daemon at bugzilla.netfilter.org
Thu Mar 1 03:33:50 CET 2012
http://bugzilla.netfilter.org/show_bug.cgi?id=774
Summary: iptables-restore can't parses the quoted parameter
correctly.
Product: iptables
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: iptables-restore
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: fryasu at yahoo.co.jp
Estimated Hours: 0.0
Created attachment 378
--> http://bugzilla.netfilter.org/attachment.cgi?id=378
The simple patch to correct the parsing of quoted parameter.
iptables-restore can't parse the parameter which is
bundled with double-quotation character("").
for instance, the following text data was registered
by "iptables-restore -n" command.
*filter
-A OUTPUT -m string --string "FOOO" --algo bm -j ACCEPT
COMMIT
Then, the contents of registration are checked by
"iptables-save" command,
$ iptables-save |grep string
-A OUTPUT -m string --string "--st" --algo bm --to 65535 -j ACCEPT
the parameter "FOO" is corrupted obviously to the one
parameter before,
This seems the simple bug. I tried to make the simple
patch. If this patch become to help to you even a little,
I'm happy.
regards,
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
More information about the netfilter-buglog
mailing list