netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH nft 0/2] gre and ipip tunnel support
Date: Thu,  6 Oct 2022 00:48:31 +0200	[thread overview]
Message-ID: <20221005224833.24056-1-pablo@netfilter.org> (raw)

Hi,

This patchset adds support for gre and ipip tunnels, including support
for matching inner header fields.

First patch is larger because it adds the NFT_META_L4PROTO dependency
logic to restrict matches to IPPROTO_GRE. The second patch is
significantly smaller, because previous patches adding VxLAN and GRE
already provided the necessary infrastructure to add IPIP with minimal
updates.

No tests and documentation updates in this v1.

Pablo Neira Ayuso (2):
  src: add gre support
  src: add ipip support

 include/linux/netfilter/nf_tables.h |  1 +
 include/payload.h                   |  2 ++
 include/proto.h                     | 15 ++++++++
 src/evaluate.c                      | 40 ++++++++++++++++------
 src/netlink_delinearize.c           | 45 ++++++++++++++++++++++++
 src/parser_bison.y                  | 53 +++++++++++++++++++++++++++--
 src/payload.c                       | 47 +++++++++++++++++++++++++
 src/proto.c                         | 45 ++++++++++++++++++++++++
 src/scanner.l                       |  3 ++
 9 files changed, 237 insertions(+), 14 deletions(-)

--
2.30.2


             reply	other threads:[~2022-10-05 22:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05 22:48 Pablo Neira Ayuso [this message]
2022-10-05 22:48 ` [PATCH nft 1/2] src: add gre support Pablo Neira Ayuso
2022-10-05 22:48 ` [PATCH nft 2/2] src: add ipip support Pablo Neira Ayuso
2022-10-05 22:53   ` Pablo Neira Ayuso

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=20221005224833.24056-1-pablo@netfilter.org \
    --to=pablo@netfilter.org \
    --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).