All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ludovic Sénécaux" <linuxludo@free.fr>
To: "'Florian Westphal'" <fw@strlen.de>
Cc: "'Pablo Neira Ayuso'" <pablo@netfilter.org>,
	<kadlec@netfilter.org>, <netfilter-devel@vger.kernel.org>,
	<coreteam@netfilter.org>
Subject: RE: [PATCH] netfilter: Fix GRE over IPv6 with conntrack module
Date: Wed, 3 Mar 2021 19:00:34 +0100	[thread overview]
Message-ID: <00a901d71057$2171bc20$64553460$@free.fr> (raw)
In-Reply-To: <20210303171206.GE17911@breakpoint.cc>

Thanks for your feedback.

So, in this case, can you consider this request ?
Or do I have to make a new one ?

Regards,


-----Message d'origine-----
De : Florian Westphal <fw@strlen.de> 
Envoyé : mercredi 3 mars 2021 18:12
À : linuxludo@free.fr
Cc : Pablo Neira Ayuso <pablo@netfilter.org>; kadlec@netfilter.org;
fw@strlen.de; netfilter-devel@vger.kernel.org; coreteam@netfilter.org
Objet : Re: [PATCH] netfilter: Fix GRE over IPv6 with conntrack module

linuxludo@free.fr <linuxludo@free.fr> wrote:
> When I enabled the GRE tunnel interface, I got a reject of GRE packets:
> 
> Mar  1 09:09:56 router1 kernel: [  303.025798] [FW6-IN-2-D] IN=eth0 
> OUT= MAC=0c:d8:6a:66:03:00:0c:d8:6a:b7:90:00:86:dd 
> SRC=2001:0db8:1000:0000:0000:0000:0000:0002 
> DST=2001:0db8:1000:0000:0000:0000:0000:0001 LEN=136 TC=0 HOPLIMIT=64 
> FLOWLBL=825134 PROTO=47
> 
> This unconditionally matched the invalid packets rule.

Yes, the return value is wrong, it should be NF_ACCEPT, not -NF_ACCEPT.

In older kernels, the gre tracker only registers for ipv4 and ipv6 gre falls
back to generic ipv6 tracker.

I think given there is nothing l3 protocol specific in the GRE tracker
removal of the conditional is preferable.


  reply	other threads:[~2021-03-04  0:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1524997693.135804496.1614764827412.JavaMail.root@zimbra63-e11.priv.proxad.net>
2021-03-03 10:21 ` [PATCH] netfilter: Fix GRE over IPv6 with conntrack module linuxludo
2021-03-03 16:27   ` Florian Westphal
2021-03-03 16:33   ` Pablo Neira Ayuso
2021-03-03 16:56     ` linuxludo
2021-03-03 17:12       ` Florian Westphal
2021-03-03 18:00         ` Ludovic Sénécaux [this message]
2021-03-04  1:11           ` Florian Westphal

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='00a901d71057$2171bc20$64553460$@free.fr' \
    --to=linuxludo@free.fr \
    --cc=coreteam@netfilter.org \
    --cc=fw@strlen.de \
    --cc=kadlec@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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.