Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55C8548AF for ; Fri, 18 Feb 2022 09:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645174942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q4Nob+yDvo7qecsTRFcf5qfGTvcUk1sdxVk2xek00UA=; b=TA+3V50zXaT59FLPDORpTvTo4reFDnUXZTH0ZQJVxN37VxK5YfTilyx9AEBmW5lXqP5bqq KngynZDzP4l6vg8Bc3AcyPJ3IT+5BuAK2C1zq8N/RWr9f1W+WHPGy/Oih5zjmtadq0Hr8K BqxSQpZMIDRRjBMmP94yE6ggvLwfpdQ= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-176-SxdlffBgP3q9OSqgA0nJtA-1; Fri, 18 Feb 2022 04:02:21 -0500 X-MC-Unique: SxdlffBgP3q9OSqgA0nJtA-1 Received: by mail-wr1-f71.google.com with SMTP id h24-20020adfaa98000000b001e33eb81e71so3291527wrc.9 for ; Fri, 18 Feb 2022 01:02:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=q4Nob+yDvo7qecsTRFcf5qfGTvcUk1sdxVk2xek00UA=; b=EFJ/JvpirImMbEKVLKWaZ/GFsQE69hS0cAjZvt2vePiYeTMzsYUFUvQPX7Sh9df1Ls AaEVxq4bBumcG2+L3FSPHP/P61HFYpsYVvg43bxjdnvPnIIf0s1jRFCXRPhG2TpvJFAV VTwZ/OZuO7AsF4X5FFP35kp/FceQqgslBvDLPfRNrwLr9KAoadytCGbaloZ27hoNMOIN 2fg2FKttJtv0jSqBplcWdUYhZIwupvTU36IwAnfVh7KVmN2D+pJJDkfty5Ou/0adky0/ 6gjbqx3ezuJ3UzaejBt69Eo3l9u1R4GDMGzLhQZMM55hZx4wGEW0kZ1E8yZMrDrP65qQ xA3g== X-Gm-Message-State: AOAM532QefYSvjZFvBImwobcU5Yiag5Y2RK9VBT1pyDMCOns+NUPyHJe 0oigd3xJ12TR4bN5q51fWAEUMHTZNNEMreEP3ZUS7iYHrEFGwJ/PoAxpf4h5ff3qrY6171CefR/ I6XnADV4DMFJXgHE= X-Received: by 2002:a05:600c:4f02:b0:37c:2d42:f789 with SMTP id l2-20020a05600c4f0200b0037c2d42f789mr6265163wmq.113.1645174939801; Fri, 18 Feb 2022 01:02:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5tlosv+gV7+bSbivMszqg/jh+XolwtMIIyokr5ES8bdH1zEmSuGKI2kvPzd8xNwPqwgl3lA== X-Received: by 2002:a05:600c:4f02:b0:37c:2d42:f789 with SMTP id l2-20020a05600c4f0200b0037c2d42f789mr6265142wmq.113.1645174939524; Fri, 18 Feb 2022 01:02:19 -0800 (PST) Received: from gerbillo.redhat.com (146-241-112-206.dyn.eolo.it. [146.241.112.206]) by smtp.gmail.com with ESMTPSA id a8sm582391wra.0.2022.02.18.01.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 01:02:19 -0800 (PST) Message-ID: <5098f08134c9cb059b32bcce363f466bd1f2df2f.camel@redhat.com> Subject: Re: [PATCH v5 mptcp-next 0/4] mptcp: more self-tests improvements From: Paolo Abeni To: Mat Martineau Cc: mptcp@lists.linux.dev Date: Fri, 18 Feb 2022 10:02:18 +0100 In-Reply-To: <7a175aba-a3d9-f2d0-fee8-5f616c999013@linux.intel.com> References: <7a175aba-a3d9-f2d0-fee8-5f616c999013@linux.intel.com> User-Agent: Evolution 3.42.3 (3.42.3-1.fc35) Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pabeni@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2022-02-17 at 17:35 -0800, Mat Martineau wrote: > On Thu, 17 Feb 2022, Paolo Abeni wrote: > > > This iteration tries to address the feedback from Mat on v4. > > > > patch 1/4 is new and tries to address the problem behind issues/225 with > > stricted RFC compliance > > patch 2 and 3 clean-up endpoint management as per past discussion > > patch 4 introduce new self-tests, as deserved the previous patch > > > > Hi Paolo - > > These changes and tests are working well on my system and fits with what > we discussed on the previous revisions - thanks! > > I was taking another look at the RFC and saw this paragraph: > > The MP_JOIN option includes an "Address ID". This is an identifier > generated by the sender of the option, used to identify the source > address of this packet, even if the IP header has been changed in > transit by a middlebox. The numeric value of this field is generated > by the sender and must map uniquely to a source IP address for the > sending host. The Address ID allows address removal (Section 3.4.2) > without needing to know what the source address at the receiver is, > thus allowing address removal through NATs. The Address ID also > allows correlation between new subflow setup attempts and address > signaling (Section 3.4.1), to prevent setting up duplicate subflows > on the same path, if an MP_JOIN and ADD_ADDR are sent at the same > time. > > That made me wonder if we are supposed to treat this address ID as a type > of advertisement which would require us to not reuse id 0? I think the > answer is "no" because nothing in the REMOVE_ADDR section (3.4.2) seems to > apply to joins, and it's also pretty permissive about not sending > REMOVE_ADDR. We also won't be sending REMOVE_ADDR for id 0, so the new > code seems safe in that regard. Double checking if I parsed the above correctly. The main point/question is: which ID should use additional MPJ subflows with the same source address of the initial MPC subflow? My answer/what the current code is doing prior and after this patch is 'id 0'. I read the above as this is also your answer. Please correct me if I misinterpret something! > > Hopefully you agree with the above and I'm just catching up to what you > understood about the RFC already :) > > That's a long way to say, I think this patch set looks ok for the export > branch: > > Reviewed-by: Mat Martineau Thanks! /P