bugzilla-daemon at netfilter.org
2019-Sep-05 23:09 UTC
[Bug 1364] New: nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
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>
bugzilla-daemon at netfilter.org
2019-Sep-09 11:17 UTC
[Bug 1364] nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
https://bugzilla.netfilter.org/show_bug.cgi?id=1364
Fernando F. Mancera <ffmancera at riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|pablo at netfilter.org |ffmancera at riseup.net
CC| |ffmancera at riseup.net
--
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/20190909/518dc1b6/attachment.html>
bugzilla-daemon at netfilter.org
2019-Sep-09 11:18 UTC
[Bug 1364] nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
https://bugzilla.netfilter.org/show_bug.cgi?id=1364
Fernando F. Mancera <ffmancera at riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--
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/20190909/f5c5e89c/attachment.html>
bugzilla-daemon at netfilter.org
2019-Sep-09 20:02 UTC
[Bug 1364] nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
https://bugzilla.netfilter.org/show_bug.cgi?id=1364 --- Comment #1 from Fernando F. Mancera <ffmancera at riseup.net> --- This patch should solve that problem. I'll close the ticket once it is merged. Thanks for reporting! http://patchwork.ozlabs.org/patch/1159920/ -- 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/20190909/7498c479/attachment.html>
bugzilla-daemon at netfilter.org
2019-Sep-13 10:14 UTC
[Bug 1364] nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
https://bugzilla.netfilter.org/show_bug.cgi?id=1364
Fernando F. Mancera <ffmancera at riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #2 from Fernando F. Mancera <ffmancera at riseup.net> ---
Patch merged. I am closing this ticket. Thanks!
https://git.netfilter.org/nftables/commit/?id=805969ec63f22303d89a25dd8aa23d54dc65bf73
--
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/20190913/fab34d7c/attachment.html>