All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v2 nf-next] netfilter: exthdr: add support for tcp option removal
Date: Fri, 4 Feb 2022 06:19:30 +0100	[thread overview]
Message-ID: <Yfy3Ygk75CD80r2N@salvia> (raw)
In-Reply-To: <20220128120036.13449-1-fw@strlen.de>

On Fri, Jan 28, 2022 at 01:00:36PM +0100, Florian Westphal wrote:
> This allows to replace a tcp option with nop padding to selectively disable
> a particular tcp option.
> 
> Optstrip mode is chosen when userspace passes the exthdr expression with
> neither a source nor a destination register attribute.
> 
> This is identical to xtables TCPOPTSTRIP extension.
> The only difference is that TCPOPTSTRIP allows to pass in a bitmap
> of options to remove rather than a single number.
> 
> Unlike TCPOPTSTRIP this expression can be used multiple times
> in the same rule to get the same effect.
> 
> We could add a new nested attribute later on in case there is a
> use case for single-expression-multi-remove.

Also applied, thanks

      reply	other threads:[~2022-02-04  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 12:00 [PATCH v2 nf-next] netfilter: exthdr: add support for tcp option removal Florian Westphal
2022-02-04  5:19 ` 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=Yfy3Ygk75CD80r2N@salvia \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.