[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 13:49:35 CEST 2023
https://bugzilla.netfilter.org/show_bug.cgi?id=1696
--- Comment #3 from Pablo Neira Ayuso <pablo at netfilter.org> ---
(In reply to Phil Sutter from comment #1)
> Then, creating a flushing dump is trivial using '(echo 'flush ruleset' &&
> nft list ruleset) > /path/to/dump'. Another alternative for a service is to
> run 'nft "flush ruleset; include /path/to/dump;"'. Fedora's nftables service
> does that, for instance.
Another possibility is to add a new command:
nft save ruleset
which prepends 'flush ruleset' in the ruleset listing.
--
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/20c52a46/attachment.html>
More information about the netfilter-buglog
mailing list