Re: [Idr] [GROW] draft-snijders-idr-shutdown-00: Drop a line in the peer's syslog at shutdown

Job Snijders <job@ntt.net> Sun, 20 November 2016 09:54 UTC

Return-Path: <job@ntt.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 4C1821295BC for <idr@ietfa.amsl.com>; Sun, 20 Nov 2016 01:54:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.432
X-Spam-Level:
X-Spam-Status: No, score=-3.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.497, SPF_SOFTFAIL=0.665] autolearn=ham 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 ajhK_Zv9Nw3r for <idr@ietfa.amsl.com>; Sun, 20 Nov 2016 01:54:23 -0800 (PST)
Received: from mail3.dllstx09.us.to.gin.ntt.net (mail3.dllstx09.us.to.gin.ntt.net [IPv6:2001:418:3ff:5::26]) (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 4A85C1295A4 for <idr@ietf.org>; Sun, 20 Nov 2016 01:54:23 -0800 (PST)
Received: by mail3.dllstx09.us.to.gin.ntt.net with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from <job@ntt.net>) id 1c8OpJ-0007oo-Sj (job@us.ntt.net); Sun, 20 Nov 2016 09:54:22 +0000
Date: Sun, 20 Nov 2016 10:54:18 +0100
From: Job Snijders <job@ntt.net>
To: Robert Raszuk <robert@raszuk.net>
Message-ID: <20161120095418.GA1121@Vurt.local>
References: <20161116061556.GG1073@dhcp-9341.meeting.ietf.org> <20161117013640.GB6217@pfrc.org> <16426_1479400131_582DDAC3_16426_1669_1_53C29892C857584299CBF5D05346208A1EC87201@OPEXCNORM2F.corporate.adroot.infra.ftgroup> <20161118004548.GK1072@dhcp-9341.meeting.ietf.org> <16418_1479457940_582EBC93_16418_290_1_53C29892C857584299CBF5D05346208A1EC8DEA5@OPEXCLILM21.corporate.adroot.infra.ftgroup> <CACWOCC8ENYuX2LeJKWP0tmMoCPJ4J-qxJjOXiHHLaP8Fqe4USg@mail.gmail.com> <13357_1479459134_582EC13E_13357_5786_1_53C29892C857584299CBF5D05346208A1EC8FF18@OPEXCLILM21.corporate.adroot.infra.ftgroup> <37224750-4065-40E3-B6F4-571DED698563@cisco.com> <20161119103226.GN1072@dhcp-9341.meeting.ietf.org> <CA+b+ERk3_F0QbGquUmW2P59DCmnMYGQsg2aqwPOLFs2ZE5xYCA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CA+b+ERk3_F0QbGquUmW2P59DCmnMYGQsg2aqwPOLFs2ZE5xYCA@mail.gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ATMhspU0L3eGmcpRupH1aOQ5DSw>
Cc: idr@ietf.org
Subject: Re: [Idr] [GROW] draft-snijders-idr-shutdown-00: Drop a line in the peer's syslog at shutdown
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 09:54:24 -0000

Hi Robert,

On Sat, Nov 19, 2016 at 03:27:09PM +0100, Robert Raszuk wrote:
> RFC4271 says:
> 
>   0                   1                   2                   3
>   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>  | Error code    | Error subcode |   Data (variable)             |
>  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> ...
> 
> Note that the length of the Data field can be determined from
> the message Length field by the formula:
> 
>   Message Length = 21 + Data Length
> 
> RFC4486 says:
> 
>    If a BGP speaker decides to administratively shut down its peering
>    with a neighbor, then the speaker SHOULD send a NOTIFICATION message
>    with the Error Code Cease and the Error Subcode "Administrative
>    Shutdown".
> 
> That all means there is no guarantee that if you insert length some
> CPEs will not crush even if the length value will be all 0.

By 'length' you mean filling in the "Data (variable)" field?

> That means that in my network where there is 15000 CEs if at least one
> crashes I can not upgrade any longer any PE OS which may be needed for
> other reasons.

If your CE crashes because there is trailing data after a Cease subcode
2, I consider your implementation to be non-compliant with how the rest
of the world understands BGP. Already today one can send you trailing
data after a Subcode 2 Cease NOTIFICATION, I've found no examples of
software which is not capable of handling that.

By using the "A device might crash somewhere"-argument you block any
innovation. Will you withdraw all your active internet-drafts?

> If we are to continue to use subcode 2 let's stay with current 4271
> format and not update 4271 RFC with this proposal.
> 
> Or let's define new cease subcode say "INFO" which will be injected
> only when operator types in a string. That way existing deployments
> are safe and you can enjoy new communication channel (hopefully with
> some well defined keywords :).

The notification message, of all the BGP messages, is uniquely (albeit
crudely) extensible without permission since there is no question of
being "punished" by having the session torn down if you send a
nonconforming message. Might as well admit that and be robust to
noncomforming extensions.

Kind regards,

Job