netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Bjørnar Ness" <bjornar.ness@gmail.com>
Cc: netfilter-devel@vger.kernel.org,
	Patrick McHardy <kaber@trash.net>,
	Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH nft,v2] src: add interface wildcard matching
Date: Tue, 10 Nov 2015 23:43:55 +0100	[thread overview]
Message-ID: <20151110224355.GA2438@salvia> (raw)
In-Reply-To: <CAJO99TnYBByUPE4_2ACL-tcPVv5z2VROxCaQyWp6AVkZXt92hA@mail.gmail.com>

On Tue, Nov 10, 2015 at 06:18:24PM +0100, Bjørnar Ness wrote:
> 2015-11-02 12:48 GMT+01:00 Pablo Neira Ayuso <pablo@netfilter.org>:
> > Contrary to iptables, we use the asterisk character '*' as wildcard.
> >
> >  # nft --debug=netlink add rule test test iifname eth\*
> 
> Any reason this is not iifprefix instead of iifname..

We can use this approach from any key using a string datatype,
eg. ct helper.

If we do this at key level, we'll have to add whateverprefix for every
key where we want to support string prefixes.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2015-11-10 22:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 11:48 [PATCH nft,v2] src: add interface wildcard matching Pablo Neira Ayuso
2015-11-10 17:18 ` Bjørnar Ness
2015-11-10 22:43   ` Pablo Neira Ayuso [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=20151110224355.GA2438@salvia \
    --to=pablo@netfilter.org \
    --cc=bjornar.ness@gmail.com \
    --cc=fw@strlen.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.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).