[Bug 1188] nft fails to parse own output; unable to save-restore active state
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Fri Oct 6 18:58:59 CEST 2017
https://bugzilla.netfilter.org/show_bug.cgi?id=1188
--- Comment #1 from Jeff Kletsky <netfilter at allycomm.com> ---
Created attachment 508
--> https://bugzilla.netfilter.org/attachment.cgi?id=508&action=edit
tar containing files to reproduce
To Reproduce
============
* Create a working directory and cd into it
* Unpack attached tar file; to-reproduce.txz (flat files, no subdirectory)
$ sudo nft -f nftables.conf # ruleset loads
$ sudo sh -c 'nft list ruleset > ruleset.out' # Can confirm contents of
ruleset
$ sudo nft -f ruleset.out
ruleset.out:6:38-46: Error: syntax error, unexpected string, expecting comma or
'}'
::ffff:0.0.0.0/96,
^^^^^^^^^
ruleset.out:7:30-35: Error: syntax error, unexpected string
2001::/32,
^^^^^^
ruleset.out:8:30-38: Error: syntax error, unexpected string
2001:10::/28,
^^^^^^^^^
ruleset.out:9:30-39: Error: syntax error, unexpected string
2001:db8::/32,
^^^^^^^^^^
ruleset.out:10:30-35: Error: syntax error, unexpected string
2002::/16,
^^^^^^
ruleset.out:11:30-35: Error: syntax error, unexpected string
3ffe::/16,
^^^^^^
ruleset.out:12:30-35: Error: syntax error, unexpected string
5f00::/8,
^^^^^^
ruleset.out:13:30-35: Error: syntax error, unexpected string
fc00::/8 }
^^^^^^
--
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/20171006/cda351be/attachment.html>
More information about the netfilter-buglog
mailing list