netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft 1/2] parser_bison: dismiss anonymous meters
Date: Fri, 24 Nov 2017 14:56:49 +0100	[thread overview]
Message-ID: <20171124135649.GA17459@breakpoint.cc> (raw)
In-Reply-To: <20171124132900.28301-1-pablo@netfilter.org>

Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> The former 'flow table' syntax allows flow tables with no name:
> 
>  # nft add rule x y flow { ip saddr counter }
> 
> However, when listing, it leaks the name that it is autoallocating.
> 
>  # nft list ruleset
>  table ip x {
>         chain y {
>                 flow table __mt0 { ip saddr counter}
>         }
>  }
> 
> Which is odd since then restoring will use such a name.

Right.

> Remove anonymous flow table/meters, so everyone needs to specify a name.

Acked-by: Florian Westphal <fw@strlen.de>

      parent reply	other threads:[~2017-11-24 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-24 13:28 [PATCH nft 1/2] parser_bison: dismiss anonymous meters Pablo Neira Ayuso
2017-11-24 13:29 ` [PATCH nft 2/2] parser_bison: no need for 'name' token for meters Pablo Neira Ayuso
2017-11-24 14:56   ` Pablo Neira Ayuso
2017-11-24 13:56 ` Florian Westphal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171124135649.GA17459@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).