<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "nft -s list ruleset" should include "flush ruleset" as first line"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1696#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "nft -s list ruleset" should include "flush ruleset" as first line"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1696">bug 1696</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>(In reply to Phil Sutter from <a href="show_bug.cgi?id=1696#c1">comment #1</a>)
<span class="quote">> 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.</span >
Another possibility is to add a new command:
nft save ruleset
which prepends 'flush ruleset' in the ruleset listing.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>