netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Balazs Scheidler <bazsi77@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH nftables 0/4] socket: add support for "wildcard" key
Date: Sat, 22 Aug 2020 08:21:59 +0200	[thread overview]
Message-ID: <20200822062203.3617-1-bazsi77@gmail.com> (raw)

NOTE: this depends on a kernel patch, so please merge that before this can
be merged.  Also, apart from build testing and running the binaries on an
unpatched kernel (and confirming the netlink payload is formatted as it
should be) this is untested.

This series adds the nftables side of "socket wildcard" a new expression
that extracts whether the associated socket is bound to the ANY address or
not.

iptables originally had this behavior by default when using "-m socket
--transparent", but this was missing from nftables.


Also, the last patch in the series allows one to override the "nft"
executable used by the tests.



             reply	other threads:[~2020-08-22  6:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-22  6:21 Balazs Scheidler [this message]
2020-08-22  6:22 ` [PATCH nftables 1/4] socket: add support for "wildcard" key Balazs Scheidler
2020-08-22  9:23   ` Stefano Brivio
2020-08-28 16:20   ` Pablo Neira Ayuso
2020-08-22  6:22 ` [PATCH nftables 2/4] doc: added documentation on "socket wildcard" Balazs Scheidler
2020-08-22  9:17   ` Stefano Brivio
2020-08-22  6:22 ` [PATCH nftables 3/4] tests: added "socked wildcard" testcases Balazs Scheidler
2020-08-22  9:16   ` Stefano Brivio
2020-08-22  6:22 ` [PATCH nftables 4/4] tests: allow tests to use a custom nft executable Balazs Scheidler
2020-08-22  9:15   ` Stefano Brivio

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=20200822062203.3617-1-bazsi77@gmail.com \
    --to=bazsi77@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).