Re: [Idr] Suresh Krishnan's No Objection on draft-ietf-idr-shutdown-08: (with COMMENT)

Job Snijders <job@ntt.net> Thu, 25 May 2017 09:14 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 7CB0F12E04A for <idr@ietfa.amsl.com>; Thu, 25 May 2017 02:14:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.419
X-Spam-Level:
X-Spam-Status: No, score=-1.419 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] 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 HzBH6WFwKyQ9 for <idr@ietfa.amsl.com>; Thu, 25 May 2017 02:14:09 -0700 (PDT)
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 44843129400 for <idr@ietf.org>; Thu, 25 May 2017 02:14:08 -0700 (PDT)
Received: by mail-wm0-f44.google.com with SMTP id 7so84066528wmo.1 for <idr@ietf.org>; Thu, 25 May 2017 02:14:08 -0700 (PDT)
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=1FnJpd3O3m9hSHRj0P6ajZAUfTKnSF/EWVGQM2H1pZI=; b=dcY53ldtL5+s+g3Z8YCAI49jxIjo7bImOF+q1azDYmTiAOxqf7A7gkGnoqV0xB2/Rk 3iWlLQQlMVc2ciBwNh6AANmv4byWdUPzMFVLxJKpjpgAiYVUmmxdO3VH9zc0AR7UwU5b Yn516iXvME1eJJQ59M7G7jH0Dyh0kS77k2ve6rU6jphzIvLMGh3mAK4xiWLNyONO+jGv BMLLSq+7vkKEpZz8j/s5Tdjj/ReJcLIfN5ANOzG+RFKtD6SRqqrbkZvMN00afgEqYvS8 SW/h9xZhdOvdXFAgLvj+M563rAF+59hEO7rjZxUN4wrKjDPQNIZ4r6783oYPKhgdN6GT 1czw==
X-Gm-Message-State: AODbwcBgUTfOIkrmtFHyhrwEhJcUjJi7Y+hK2Y6fpibml38Yj/t1NDv2 cArfhT3Cr5JRO42P
X-Received: by 10.28.107.7 with SMTP id g7mr8844942wmc.74.1495703646633; Thu, 25 May 2017 02:14:06 -0700 (PDT)
Received: from localhost (union-hotels-13.gh-union.si. [91.208.88.13]) by smtp.gmail.com with ESMTPSA id l81sm8638236wmi.22.2017.05.25.02.14.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 May 2017 02:14:05 -0700 (PDT)
Date: Thu, 25 May 2017 11:14:02 +0200
From: Job Snijders <job@ntt.net>
To: Suresh Krishnan <suresh.krishnan@gmail.com>
Cc: The IESG <iesg@ietf.org>, idr@ietf.org, draft-ietf-idr-shutdown@ietf.org, idr-chairs@ietf.org
Message-ID: <20170525091402.m4bnnt3ujrrfpiy6@Vurt.local>
References: <149560393986.28455.14877358573594421068.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <149560393986.28455.14877358573594421068.idtracker@ietfa.amsl.com>
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: NeoMutt/20170306 (1.8.0)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/p9FSl_gqvqm4f4qDGGHoWHsTFy0>
Subject: Re: [Idr] Suresh Krishnan's No Objection on draft-ietf-idr-shutdown-08: (with COMMENT)
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, 25 May 2017 09:14:10 -0000

On Tue, May 23, 2017 at 10:32:19PM -0700, Suresh Krishnan wrote:
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Since this notification message is only defined for two of the
> subcodes, shouldn't the error handling in Section 4 also check for
> invalid subcodes?

The shutdown communication specification only applies for two of the
subcodes, if another (invalid or valid) subcode is used, the shutdown
communication specification simply does not apply at all, and today's
procedures are used. Some implementations will syslog of a hexdump of
the data received, others silently ignore it, or log an error that an
unknown subcode was used.

> Why is the length limited to 128 (instead of the possible 255)? Could be
> useful to clarify.

The shutdown communication proposal started as a maximum of 128 octet
construct, without a length field:
https://tools.ietf.org/html/draft-snijders-idr-shutdown-00#section-2 the
length field was added later on as suggested by Bruno Decraene to allow
for a form of extendability should we want to define a 'shutdown
communication version 2'. While the length field was added, the shutdown
communication size itself was not increased, hence the length field is
not fully used. 128 is an arbitrary small value.

Kind regards,

Job