[Bug 1364] New: nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Fri Sep 6 01:09:08 CEST 2019
https://bugzilla.netfilter.org/show_bug.cgi?id=1364
Bug ID: 1364
Summary: nft list outputs mark rules with boolean or in a form
that can be parsed by nft -f
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: niconorsk at gmail.com
Steps to reproduce:
- add a rule with mark or logic: nft add rule inet filter input ct mark set ct
mark or 0x1
- export your ruleset: nft list ruleset > ruleset
- try to import your ruleset: nft -f ruleset
Result:
ruleset.json:143:22-22: Error: syntax error, unexpected comma, expecting
newline or semicolon
ct mark set ct mark,0x00000002
Not sure if the fix should be in the output of nft list ruleset or in the
parser
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20190905/f4981dd3/attachment.html>
More information about the netfilter-buglog
mailing list