All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "İbrahim Ercan" <ibrahim.metu@gmail.com>
Cc: Ibrahim Ercan <ibrahim.ercan@labristeknoloji.com>,
	Florian Westphal <fw@strlen.de>,
	netfilter-devel@vger.kernel.org, ffmancera@riseup.net
Subject: Re: [PATCH v2] netfilter: synproxy: erroneous TCP mss option fixed.
Date: Mon, 22 Jul 2019 10:45:35 +0200	[thread overview]
Message-ID: <20190722084535.gnk25y2weo4h44xl@salvia> (raw)
In-Reply-To: <CAK6Qs9mp7E3Wr4Zo8mLgsbLMwZRCaQoy=3nRx3XDJP4mcgNSEA@mail.gmail.com>

On Mon, Jul 22, 2019 at 11:31:45AM +0300, İbrahim Ercan wrote:
> On Mon, Jul 1, 2019 at 9:58 PM Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> >
> > Hi Ibrahim,
> >
> > On Thu, Jun 27, 2019 at 09:27:05PM +0200, Pablo Neira Ayuso wrote:
> > > On Thu, Jun 27, 2019 at 09:21:09PM +0200, Florian Westphal wrote:
> > > > Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > > > > On Thu, Jun 27, 2019 at 09:00:19PM +0200, Florian Westphal wrote:
> > > > > > Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > [...]
> > > > > I see, probably place client_mss field into the synproxy_options
> > > > > structure?
> > > >
> > > > I worked on a fix for this too (Ibrahim was faster), I
> > > > tried to rename opts.mss so we have
> > > >
> > > > u16 mss_peer;
> > > > u16 mss_configured;
> > > >
> > > > but I got confused myself as to where which mss is to be used.
> > > >
> > > > perhaps
> > > > u16 mss_option;
> > > > u16 mss_encode;
> > > >
> > > > ... would have been better.
> > >
> > > I would leave the opts.mss as is by now. Given there will be a
> > > conflict between nf-next and nf, I was trying to minimize the number
> > > of chunks for this fix, but that's just my preference (I'll have to
> > > sort out this it seems).
> > >
> > > Then, adding follow up patches to rename fields would be great indeed
> > > as you suggest.
> >
> > @Ibrahim: Would you follow up with patch v3?
> >
> > I'd name this 'mss_backend' to opts, instead of adding client_mss as
> > parameter. Since this is the MSS that the server backend behind the
> > proxy.
> >
> > I don't mind names, if you prefer Florian's, that's also fine. I'd
> > just like not to add a new parameter to synproxy_send_client_synack().
> >
> > Thanks.
> 
> Sorry for late reply. I was offline for 3 weeks. I will send new patch asap.

Please, do, based it on kernel 5.2

Fernando already made a patch for 5.3-rc, we'll take your patch for
-stable, as a backport.

  reply	other threads:[~2019-07-22  8:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 12:28 [PATCH] netfilter: synproxy: erroneous TCP mss option fixed İbrahim Ercan
2019-06-24 12:29 ` Florian Westphal
2019-06-25  0:19 ` Pablo Neira Ayuso
2019-06-25  5:42 ` [PATCH v2] " Ibrahim Ercan
2019-06-27 18:57   ` Pablo Neira Ayuso
2019-06-27 19:00     ` Florian Westphal
2019-06-27 19:08       ` Pablo Neira Ayuso
2019-06-27 19:21         ` Florian Westphal
2019-06-27 19:27           ` Pablo Neira Ayuso
2019-07-01 18:58             ` Pablo Neira Ayuso
2019-07-22  8:31               ` İbrahim Ercan
2019-07-22  8:45                 ` Pablo Neira Ayuso [this message]
2019-07-22 12:06                 ` [PATCH v3] " Ibrahim Ercan

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=20190722084535.gnk25y2weo4h44xl@salvia \
    --to=pablo@netfilter.org \
    --cc=ffmancera@riseup.net \
    --cc=fw@strlen.de \
    --cc=ibrahim.ercan@labristeknoloji.com \
    --cc=ibrahim.metu@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 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.