Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Julien Moutinho <julm+netfilter@sourcephile.fr>
Cc: netfilter@vger.kernel.org,
	Dominique Martinet <asmadeus@codewreck.org>,
	netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: Re: Raw payload matching beyond 2040 bits
Date: Fri, 19 Aug 2022 12:37:23 +0200	[thread overview]
Message-ID: <20220819103723.GA14293@breakpoint.cc> (raw)
In-Reply-To: <20220819100738.63yvp7iggoilt2uc@sourcephile.fr>

Julien Moutinho <julm+netfilter@sourcephile.fr> wrote:

[ moving to nf-devel ]

> Hi netfilter@,
> 
> Apparently matching beyond 2040 bits (255 bytes) starts again at 0 or something like that.
> Not sure whether this is intended or not,
> but in this case a warning would be appreciated.

This is a kernel bug, the offset is truncated to u8 (modulo 256).

  reply	other threads:[~2022-08-19 10:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 10:07 Raw payload matching beyond 2040 bits Julien Moutinho
2022-08-19 10:37 ` Florian Westphal [this message]
2022-09-07 14:55 ` 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=20220819103723.GA14293@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=asmadeus@codewreck.org \
    --cc=julm+netfilter@sourcephile.fr \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@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