Re: [tsvwg] residential broadband BCP PHB and CP treatment Re: CC/bleaching thoughts for draft-ietf-tsvwg-le-phb-04

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 21 April 2018 20:48 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8AD2126C26 for <tsvwg@ietfa.amsl.com>; Sat, 21 Apr 2018 13:48:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 HtnDzIQvsZU9 for <tsvwg@ietfa.amsl.com>; Sat, 21 Apr 2018 13:48:07 -0700 (PDT)
Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F3561242F5 for <tsvwg@ietf.org>; Sat, 21 Apr 2018 13:48:07 -0700 (PDT)
Received: by mail-pf0-x230.google.com with SMTP id p6so6104362pfn.4 for <tsvwg@ietf.org>; Sat, 21 Apr 2018 13:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5c8HRxTdrNYX6PwXhxYPCdwi5g5aL7VckkgxU7qBChc=; b=IWT94FStKVs0pC0/M+qx5LzuMCh5Rxu0WLEQGv6JnfJOI/Ctj6lcWbO6QKyrpA5vy9 eNac8MOVG1zin8A67zia0Go05pvHRZ2fYpGVW2lG0dgXPuArTmisdN0vEFwAX+AN0eW0 apbXHtv44lp9uvQEa9AKZ4M9rxvjnuE7Lc/2BGFiGRDZD2m8tHIOSdNlQzgLjT8gF2Jt hNjSI5/9mT+4OjZ0WCYEuORt6Y7VBNpaWaspgzV9GvQ7hcQVegCSRhPy1ejkouohOPSO gWqrtXWHXld6+CVkXPeUEckPEQJVQn6AWdZ/SJ/sW84J4wumOs9nFgmd83QWOIkR6swo phxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5c8HRxTdrNYX6PwXhxYPCdwi5g5aL7VckkgxU7qBChc=; b=nqfNk/98J3nXbpfUioAG+zSzAKvhJ9B+NXRc8nyymoTadRFN38S9Lo3EVPvab+bqXu ywr91WJIk/6vnnH0C0Y6g7IlhXMgOBJFYEyyHX/B9l3b8ycLybNjgYt0eR+cXhMpqxYf nYh2AMOY0S27ocpUKP5jyaaj3HYTq7KjqsA8VTQsQGqVY/rgGIDQ9gFYxxbIN3b4RvTZ Z/WLo6WPUtpNGAldH7Rr74zUAu8MCjE2nUN+QDpdhcb9xSbHVTOWr+DCNPxGoAIHtkTS JHJBQmuQRiqkYhHqcgvQWkJyxUZP9my5tgqmof2LDV/fe2EmCsB+Pl5YkOxrsIAOMQEO l0bg==
X-Gm-Message-State: ALQs6tBQq6ayqOSgT0fqM5J6gJQ/uVPtyj3WKzDUR4ATWd33T99enSWB dxyRhh0ICXBSLBVdaRjFqWqOdg==
X-Google-Smtp-Source: AIpwx49bAA2UNpodNQPqNyVjuYpReO86tUKTW/fq2KtDz4eIhE+vY4YvoDHNOd4js1gq9StRrUs1nQ==
X-Received: by 10.101.82.194 with SMTP id z2mr12359504pgp.69.1524343686017; Sat, 21 Apr 2018 13:48:06 -0700 (PDT)
Received: from [192.168.178.26] ([118.149.104.73]) by smtp.gmail.com with ESMTPSA id 83sm17569582pfv.131.2018.04.21.13.48.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Apr 2018 13:48:05 -0700 (PDT)
Sender: Brian Carpenter <becarpenter46@gmail.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: tsvwg@ietf.org
References: <20180406160344.xwfqgzhzfto56jhq@faui48f.informatik.uni-erlangen.de> <LEJPR01MB1033F43509F08701B2B5EA1D9CBF0@LEJPR01MB1033.DEUPRD01.PROD.OUTLOOK.DE> <82d646b7-d475-64d6-9f0b-f75e3daeeaca@gmail.com> <20180410090033.xkwsyfbfardg4pwx@faui48f.informatik.uni-erlangen.de> <ddac784e-3a88-c82d-0ed5-3816bffa2d72@gmail.com> <20180412023305.6nwyoway2m2exy2c@faui48f.informatik.uni-erlangen.de> <LEJPR01MB10334C794BDA7E125917576E9CBC0@LEJPR01MB1033.DEUPRD01.PROD.OUTLOOK.DE> <alpine.DEB.2.20.1804190826550.18650@uplift.swm.pp.se> <adf6493b-45fd-9d0c-70f5-5d343cad22dd@gmail.com> <alpine.DEB.2.20.1804200635060.18650@uplift.swm.pp.se> <fbc0e011-6e37-c0ee-c90e-191349f75cac@gmail.com> <alpine.DEB.2.20.1804200823330.18650@uplift.swm.pp.se> <943a0db3-5aa6-0f09-c13b-e69a3f62ef5f@gmail.com> <alpine.DEB.2.20.1804210725390.18650@uplift.swm.pp.se>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <9b1234f4-5d65-5149-feee-2ea03c9f14af@gmail.com>
Date: Sun, 22 Apr 2018 08:48:00 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1804210725390.18650@uplift.swm.pp.se>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/HrquBgr0pMOcKF3ALxElOs9z8rY>
Subject: Re: [tsvwg] residential broadband BCP PHB and CP treatment Re: CC/bleaching thoughts for draft-ietf-tsvwg-le-phb-04
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Apr 2018 20:48:09 -0000

On 21/04/2018 17:29, Mikael Abrahamsson wrote:
> On Sat, 21 Apr 2018, Brian E Carpenter wrote:
> 
>> Because RFC2474 clearly states that CS1 gets precedence over DF (=CS0).
>> (Which in fact goes back to RFC791 and RFC1349.)
>>
>> "PHBs selected by a Class Selector Codepoint
>> SHOULD give packets a probability of timely forwarding that is not
>> lower than that given to packets marked with a Class Selector
>> codepoint of lower relative order..." (RFC2474 section 4.2.2.2)
>>
>> None of the other RFCs that use the CS1 codepoint for LE have formally
>> updated RFC2474; in other words they all violate the SHOULD above.
>> Specifically, RFC4594 did not formally update RFC2474.
>>
>> A user who sets CS1 because they want better treatment than default
>> is doing exactly what an IETF standard says. So if you see CS1 on
>> incoming traffic, you have no idea whether the user wanted Precedence 1
>> or LE, unless you have a specific understanding with that user.
>>
>> To me that means that the correct default behaviour is to map CS1 to
>> DF, as a compromise. Of course, if you *know* whether the user is
>> relying on RFC2474 or on RFC4594, you can configure the correct
>> mapping. But that's always true of diffserv.
> 
> Thanks for the explanation. Would it influence your opinion if there were 
> data that showed that more applications use CS1 in the LE sense compared 
> to using CS1 as higher preference over DF?

It doesn't change the basic problem that we have actually published
inconsistent standards, sadly. I really feel bad that I didn't make a fuss
about this earlier, but it was a boiling frog situation, starting with
RFC3662 being only Informational and only "suggesting" a codepoint.

> Basically my question is that if setting formal references/updates etc 
> aside, what have people actually been doing in the past 20 years, should 
> that affect our decision?

It should certainly affect operational recommendations. So I think you're
correct that a BCP or nearly-BCP is needed, explaining the issues and
defining (a) default configuration and (b) the necessary configuration
options. I also think we need to be sure that we don't create yet more
ambiguity about the CS1 codepoint. The le-phb-04 text removes the treatment
of CS1 from RFC4594, but gives no guidance about CS1 as defined by RFC2474.
At least we could say that it's operationally ambiguous and should not
be used as a default setting in any host.

> Discovering that for instance ssh uses IPTOS by default was a revelation 
> to me.

Yes. Of course, it was partly for compatibility with legacy code that
RFC2474 specified that all DSCPs were mutable at domain boundaries.

    Brian