[Bug 1696] "nft -s list ruleset" should include "flush ruleset" as first line
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Mon Jul 31 14:03:21 CEST 2023
https://bugzilla.netfilter.org/show_bug.cgi?id=1696
--- Comment #5 from Phil Sutter <phil at nwl.cc> ---
(In reply to Apachez from comment #2)
> Because when taking a backup I would expect it to be able to restore without
> having to reboot the full box, and also be able to restore without throwing
> out all sort of hard to troubleshoot errors such as:
>
> # BUG: invalid input descriptor type 1634164560
> # nft: erec.c:161: erec_print: Assertion `0' failed.
That's a bug, but you will see "funny" things like duplicate rules. Basically,
doing 'nft list ruleset | nft -f -' is doing a non-flushing restore. Ignoring
this detail while implementing or simulating a system service is a problem
software shouldn't solve IMHO.
--
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/20230731/5a658fbb/attachment.html>
More information about the netfilter-buglog
mailing list