Re: [Idr] draft-snijders-idr-rfc8203bis

Job Snijders <job@ntt.net> Thu, 14 December 2017 18:17 UTC

Return-Path: <job@instituut.net>
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 936041270FC for <idr@ietfa.amsl.com>; Thu, 14 Dec 2017 10:17:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.417
X-Spam-Level:
X-Spam-Status: No, score=-1.417 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 zeijIIi1jvRj for <idr@ietfa.amsl.com>; Thu, 14 Dec 2017 10:17:25 -0800 (PST)
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (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 47CEB12704A for <idr@ietf.org>; Thu, 14 Dec 2017 10:17:25 -0800 (PST)
Received: by mail-wm0-f44.google.com with SMTP id f140so13142357wmd.2 for <idr@ietf.org>; Thu, 14 Dec 2017 10:17:25 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7BR/G3kTPNTMBxO5Q+7FJuw6yQ3caASTgZUA51q60wU=; b=ZWRr64dr7jz5YjKGu+qhBPu6NcIcLD4IQunDb+m/GSA/cnaOFQ5h/hGZG8rOal6/mu Ht0yjsEs7J9ek/Z7PmDm9ew5nJK/bTegDTWa4qeHLO1bja0f2EFXnmA4CsaKqf6H7kww zvYhUvvMqXK4yCYFBKBmPNrtZlzJrxbuLixO75B/gLXqKJs17XcL6tDlVFs6iDM2nXo8 /ZgNY9BpqE/eXo3KJckn3LzdAQfJWKIwkLxwZxmWD+22CPGeUkJFN9z6DDtgU9RMhPeL j8BXNARAqlj1OoORXIrRLYxIZyTgVt3tNgzwREgJ6AgsAAzhUqt7CnPka71g/B+VWUJ1 9x4Q==
X-Gm-Message-State: AKGB3mKadd2EK8Z8SdPlX/eYgVPXooOR950s1YgZJq/7R+mGBlRii+i3 2+R5VTXH2rt7RnKwnoIzHkDYsw==
X-Google-Smtp-Source: ACJfBou6uNHhJE6HziJrKdY0iSiN+TB8wPsHpweUVYa7N107+obKFJZ9DNCRtINJIqtrylFiWWTSng==
X-Received: by 10.80.209.193 with SMTP id i1mr13440431edg.107.1513275443559; Thu, 14 Dec 2017 10:17:23 -0800 (PST)
Received: from vurt.meerval.net (vurt.meerval.net. [192.147.168.22]) by smtp.gmail.com with ESMTPSA id y3sm4182498edb.37.2017.12.14.10.17.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 10:17:22 -0800 (PST)
Received: from localhost (vurt.meerval.net [local]) by vurt.meerval.net (OpenSMTPD) with ESMTPA id fe9b9051; Thu, 14 Dec 2017 18:17:21 +0000 (UTC)
Date: Thu, 14 Dec 2017 18:17:21 +0000
From: Job Snijders <job@ntt.net>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: bruno.decraene@orange.com, Peter Hessler <phessler@theapt.org>, "idr@ietf.org" <idr@ietf.org>
Message-ID: <20171214181721.GP95845@vurt.meerval.net>
References: <20171208154735.GH61799@vurt.meerval.net> <3238CB61-EDB3-4C5D-813D-AC19362AB2CF@puck.nether.net> <CAEm8Q109fbvUuCMOOvnDBianMnTsYR9zdBzp-Jc84uVYt03TUA@mail.gmail.com> <20171214160102.GS37665@gir.theapt.org> <13067_1513271281_5A32AFF1_13067_469_1_53C29892C857584299CBF5D05346208A479212FF@OPEXCLILM21.corporate.adroot.infra.ftgroup> <20171214171446.GN95845@vurt.meerval.net> <4D213F3F-DAC8-4F18-ABA6-517A8213BFA7@pfrc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4D213F3F-DAC8-4F18-ABA6-517A8213BFA7@pfrc.org>
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: Mutt/1.9.1 (2017-09-22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/gT25YQVUYGpg6NEmhxP-8UUFtB0>
Subject: Re: [Idr] draft-snijders-idr-rfc8203bis
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 14 Dec 2017 18:17:26 -0000

On Thu, Dec 14, 2017 at 12:43:29PM -0500, Jeffrey Haas wrote:
> > On Thu, Dec 14, 2017 at 05:08:00PM +0000, bruno.decraene@orange.com wrote:
> >>> From: Idr idr-bounces@ietf.org On Behalf Of Peter Hessler
> >>> The len field is 8 bits, which allows for a max of 255.
> >>> 
> >>> If longer is desired, then we'll need a new error code point.
> >> 
> >> Alternatively, another field may be added after the existing
> >> "Shutdown Communication" field.  Either as a replacement (setting
> >> the length of the first field to zero) or as a concatenation. 
> > 
> > Bruno is right (of course, since the length field was his idea to
> > begin with :-), there are options available to extend beyond 255 if
> > needed.
> 
> If the limit was 127 rather than 128, the top bit could have been
> used. 
> 
> The closest thing that can be done will depend partly on what deployed
> implementations do when 128 is exceed.  The spec says nothing right
> now... and thus you might not do anything beyond saying "up to 255 is
> fine".  

Most of the open source implementations I'm aware of will log a message
"invalid shutdown communication", and perhaps print a hexdump of that
data. Since we're relatively early in the deployment cycle, I think it
is feasible to upgrade the field and patch the existing implementations.

> To get beyond 255, the simplest but gross one is to say "there may be
> a second message after the shutdown communication field".

If (and only if) we pick the route of going beyond 255, I'd consider
deprecating RFC 8203 and have the new thing require the first byte to be
a zero. I don't think there should be two 'shutdown communications'.

> -- Jeff (and people wonder why I'm pushy about using large "length"
> fields.)

Not anymore! :)

Kind regards,

Job