Re: [Idr] [BULK] Benjamin Kaduk's Discuss on draft-ietf-idr-flow-spec-v6-19: (with DISCUSS and COMMENT)

Christoph Loibl <c@tix.at> Fri, 13 November 2020 07:25 UTC

Return-Path: <c@tix.at>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D2A43A15EE; Thu, 12 Nov 2020 23:25:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=tix.at
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWV8UR0g81o9; Thu, 12 Nov 2020 23:25:45 -0800 (PST)
Received: from mail.fbsd.host (mail.fbsd.host [IPv6:2001:858:58::22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F7373A148E; Thu, 12 Nov 2020 23:25:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tix.at; s=rev1; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type :Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ICXU8qEbGsAYeSE+rFcDTdnVtDqyb0RI9od3WwRia3Y=; b=jhEakg2mNGpsL2QMRwQYYSYIVV bRA2wVl5RJZjUL77dYo9MUHIb61LDelFnHiIXz2Lp9jA0qKZowlEtjw/mKKxnfcGkSB8UEnFY2BhS QDiz0zxsiGGjTWQmoe5X/FE3p9tgJYKjL0wcsR/LccMB/YxrYYckzgaWI2kU83fCT1UVzYQiJy38R CCW5D4a/BBdXhgqv4ZVRr8XOq2Uedk9m4IluIMyxCUfydvkPMS4RTa578Kk0NNxMKqSjwpc7P1V5+ I5J5avNRqpvr/Ztl+Lh63kOiVbMZrg7n1d4FtoWZuokObtXKDp7qumameSxh1O7Mqt2pjhbDhTs1H zhtScBvQ==;
Received: from 089144211007.atnat0020.highway.a1.net ([89.144.211.7] helo=[192.168.43.10]) by mail.fbsd.host with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from <c@tix.at>) id 1kdTSj-000ET5-HH; Fri, 13 Nov 2020 08:25:38 +0100
From: Christoph Loibl <c@tix.at>
Message-Id: <E70A15BB-5C6C-447A-832C-571D413139E3@tix.at>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1CB68BC7-BAA6-4B94-A69D-84056D17A206"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Fri, 13 Nov 2020 08:25:35 +0100
In-Reply-To: <20201109205805.GY39170@kduck.mit.edu>
Cc: Erik Kline <ek.ietf@gmail.com>, Robert Raszuk <robert@raszuk.net>, "idr@ietf. org" <idr@ietf.org>, The IESG <iesg@ietf.org>, draft-ietf-idr-flow-spec-v6@ietf.org, idr-chairs@ietf.org
To: Benjamin Kaduk <kaduk@mit.edu>
References: <160442801878.21168.17412260809706411361@ietfa.amsl.com> <3C5BB93B-5E8C-42AD-B1C1-F96C359EC110@tix.at> <20201104163619.GR39170@kduck.mit.edu> <CAOj+MMENNbMSs6hDJ9SvEinKd5nVnUWB5EPWGbCvKysyBms9Ug@mail.gmail.com> <CAMGpriW2vQYijU_KLVqYG=dnqoH_0yvuRAOODAWib726dHNYtQ@mail.gmail.com> <CAOj+MMG4UmSrdkAamgUAcTx4kVCqoFmPfvfMXzbWOEEJZwRh6w@mail.gmail.com> <CAMGpriUQU5JbsZ+8CUcPCJQM+U0R0EcMa-Riy-Sf7YEVuo7wnw@mail.gmail.com> <5D2A4698-A69C-4CD3-B44C-BA82A2664DC5@tix.at> <20201109205805.GY39170@kduck.mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
X-Scanned-By: primary on mail.fbsd.host (78.142.178.22); Fri, 13 Nov 2020 08:25:37 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/qghrAs8-x0xePHSwbRvZXN9ddAg>
Subject: Re: [Idr] [BULK] Benjamin Kaduk's Discuss on draft-ietf-idr-flow-spec-v6-19: (with DISCUSS and COMMENT)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Nov 2020 07:25:49 -0000

Hi Benjamin,

Since I did not see any objections on the list I edited this as suggested into the document:

   This component uses the Numeric Operator (numeric_op) described in
   [I-D.ietf-idr-rfc5575bis] Section 4.2.1.1.  Type 13 component values
   SHOULD be encoded as 4-octet quantities (numeric_op len=10).

Cheers

Christoph

-- 
Christoph Loibl
c@tix.at | CL8-RIPE | PGP-Key-ID: 0x4B2C0055 | http://www.nextlayer.at



> On 09.11.2020, at 21:58, Benjamin Kaduk <kaduk@mit.edu> wrote:
> 
> On Mon, Nov 09, 2020 at 12:05:09PM +0100, Christoph Loibl wrote:
>> Hi,
>> 
>> I am reading thru the discussion and trying to summarize + my comments:
>> 
>>> On 09.11.2020, at 05:35, Erik Kline <ek.ietf@gmail.com> wrote:
>>> Whether randomized or not, I would imagine the use of flow label matching would be more the exception than the rule.
>> 
>> 
>> ack.
>> 
>>> On 09.11.2020, at 05:32, Benjamin Kaduk <kaduk@mit.edu> wrote:
>>> 
>>>> On Sat, Nov 07, 2020 at 12:45:09PM +0100, Robert Raszuk wrote:
>>>> Ok 3 octets to keep byte boundary sounds reasonable indeed.
>>> 
>>> Well, the
>>> https://tools.ietf.org/html/draft-ietf-idr-rfc5575bis-27#section-4.2.1.1
>>> 'len' encoding options don't give a 3-byte option for the value field.
>>> Which is why I was assuming 4-bytes.
>>> 
>>> -Ben
>> 
>> Correct, if we want a 3 octets (or 20-bits) length we need to “re-invent the wheel” = we need to add a new “operator” that supports 3-byte length etc. Not only the document needs to extended, but also implementations need to take care of yet another operator encoding format. 
> 
> Exactly, and that is (IMO clearly) something for flowspec v2 if at all, not
> this document.
> 
>> We can however easily require the length of the flow-label field to be 4-octets:
>> 
>> 	Type 13 component values MUST be encoded as 4-octet quantity 
>>        (numeric_op len=10).
>> 
>> But this is an exception because we usually use SHOULD there in rfc5575bis (only because of historical incompatibilities that could not be changed in the -bis though), and I am not sure if adding this special case really makes it better (since it does not reduce complexity).
> 
> There do seem to be a couple "MUST"s as well (but maybe just for fields
> that are smaller than 1 octet or flags, so the reasoning is a little
> different than for the case we're looking at).  I don't think this issue is
> significant enough that we need to diverge from 5575bis (and 5575 itself),
> though, and I do see what you mean about "SHOULD" being most common.
> 
>> How can we continue?
> 
> I think it would be okay to just drop the specific mention of 1- and 2-byte
> encoding for the flow label match, so we have "[t]ype 13 component values
> SHOULD be encoded as 4-byte quantities (len=10)".
> 
> I'm of course happy to hear other suggestions as well!
> 
> Thanks,
> 
> Ben