netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bjørnar Ness" <bjornar.ness@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: nftables and sets
Date: Wed, 22 Jan 2014 15:09:30 +0100	[thread overview]
Message-ID: <CAJO99T=OERsyTy91n=DJSceSdfxUeQVSO5JJtpMwuPyKh6MicQ@mail.gmail.com> (raw)

Is it planned (or already implemented) support for multiple value vmaps?
for example {type uid, type ipv4 : verdict}

Also, using iptables I am doing something like this

-A INPUT -j BLOCK
-A BLOCK -m set --match-set ignorelist src -j RETURN
-A BLOCK -m set --match-set blocklist src -j DROP

..to make sure ips listed in ignorelist does not get blocked..

How would I do the same using nft?

-- 
Bj(/)rnar

             reply	other threads:[~2014-01-22 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 14:09 Bjørnar Ness [this message]
2014-01-22 14:44 ` nftables and sets Patrick McHardy
     [not found]   ` <CAJO99T=HBk7_PJG8+SmkqA7NUDuWBvujGckBJ=R_wn0i-7MOsA@mail.gmail.com>
2014-01-22 15:26     ` Patrick McHardy

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='CAJO99T=OERsyTy91n=DJSceSdfxUeQVSO5JJtpMwuPyKh6MicQ@mail.gmail.com' \
    --to=bjornar.ness@gmail.com \
    --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).