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

Jesper Skriver <jesper@skriver.dk> Sat, 19 November 2016 12:32 UTC

Return-Path: <jesper@skriver.dk>
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 C86FF129867 for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 04:32:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001] 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 2gMpGhWv5mGi for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 04:32:31 -0800 (PST)
Received: from freesbee.wheel.dk (freesbee.wheel.dk [IPv6:2001:6c8:130::97]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F10D8129591 for <idr@ietf.org>; Sat, 19 Nov 2016 04:32:30 -0800 (PST)
Received: by freesbee.wheel.dk (Postfix, from userid 1001) id 1D29B32371A; Sat, 19 Nov 2016 13:32:29 +0100 (CET)
Date: Sat, 19 Nov 2016 13:32:29 +0100
From: Jesper Skriver <jesper@skriver.dk>
To: Robert Raszuk <robert@raszuk.net>
Message-ID: <20161119123229.GD4992@skriver.dk>
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+ERkAowcpeCL=_XEX1piNP__TVDdX3Lhvp8qYJSPvivoG1w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CA+b+ERkAowcpeCL=_XEX1piNP__TVDdX3Lhvp8qYJSPvivoG1w@mail.gmail.com>
X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31
X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/LM8p6MGe-lSMtPidLCP5P4jGzNk>
Cc: idr wg <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: Sat, 19 Nov 2016 12:32:34 -0000

On Sat, Nov 19, 2016 at 12:24:51PM +0100, Robert Raszuk wrote:
> ​Hi,
> 
> The alternative to the below which could be attractive both to senders and
> receivers is indirection ... meaning that we would only extend current
> cease sub 2 with say 21 octets which would be basic UTF8 string of URL
> shortcut: *https://goo.gl/V5as9h <https://goo.gl/V5as9h>*

That seems to raise the bar for using it significantly, it require
more work if I first have to setup a page somewhere, generate a
short URL for it, and then type the URL into my router when doing

neighbor FOO shutdown http://some.url

versus

neighbor FOO shutdown "having issues, ETA 05:00"

/Jesper

> ​That way anyone receiving the link in the cease admin down or any other
> sub type can click on it and read any arbitrary info or even get guide how
> to configure his peer to say support new peering types being currently
> prepared for cooking.
> 
> Cheers,
> R.
> 
> On Sat, Nov 19, 2016 at 11:32 AM, Job Snijders <job@instituut.net> wrote:
> 
> > Hi Jakob, Working group,
> >
> > It is for "defensive" purposes: what if utf8 turns out to be terrible,
> > then cease subcode 2 can still be used but we can put something else in
> > the datafield trailing the subcode.
> >
> > the advantage of using a length field is that we avoid discussing types
> > and semantics, but future protocol developers have an option to use the
> > trailing data in the NOTIFICATION message for some purpose.
> >
> > It would look like this:
> >
> > -----
> >
> >     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 6  |   Subcode 2   |    Length     |     ...       |
> >    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >    |                   ... Shutdown Communication ...              |
> >    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >    |                              ...                              |
> >    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >
> >    Length:
> >         The Length value can range from 0 to 128 and indicates how many
> >         bytes of UTF-8 for the Shutdown Communication follow. If the
> >         length field is set to 0, no UTF-8 bytes follow.
> >
> > -----
> >
> > This is an very lightweight approach to leave the door somewhat open ,
> > should the need to do something else with the trailing data arise, and
> > it only costs 1 byte.
> >
> > Kind regards,
> >
> > Job
> >
> >
> > On Fri, Nov 18, 2016 at 08:01:30PM +0000, Jakob Heitz (jheitz) wrote:
> > > Not necessary. You can already send whatever you want. In iOS-XR, it
> > > just hexdumps it all. The only thing that will change is that it will
> > > print it in UTF8 as well. It will still hexdump. If you want no
> > > hexdump, then we need a new subcode.
> > >
> > > Thanks,
> > > Jakob.
> > >
> > > On Nov 18, 2016, at 12:52 AM,
> > > <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>> wrote:
> > >
> > > Thanks.
> > > --Bruno
> > >
> > > From: Job Snijders [mailto:job@instituut.net]
> > > Sent: Friday, November 18, 2016 9:46 AM
> > > To: DECRAENE Bruno IMT/OLN
> > > Cc: Jeffrey Haas; Job Snijders; grow@ietf.org<mailto:grow@ietf.org>;
> > idr@ietf.org<mailto:idr@ietf.org>
> > > Subject: Re: [GROW] [Idr] draft-snijders-idr-shutdown-00: Drop a line
> > in the peer's syslog at shutdown
> > >
> > > Hi Bruno,
> > >
> > > John Scudder was kind enough to provide extensive argumentation
> > > offlist on why something along these lines should be done. We'll work
> > > on a proposal. The length indicator is a neat idea, thanks for
> > > sharing.
> > >
> > > Job
> > >
> > > On Fri, 18 Nov 2016 at 17:32, <bruno.decraene@orange.com<mailto:
> > bruno.decraene@orange.com>> wrote:
> > >
> > >
> > > > From: Job Snijders [mailto:job@instituut.net<mailto:job@instituut.net>]
> > > Sent: Friday, November 18, 2016 1:46 AM
> > > >
> > >  > On Thu, Nov 17, 2016 at 04:28:50PM +0000, bruno.decraene@orange.com<
> > mailto:bruno.decraene@orange.com> wrote:
> > >  > > I support the draft.
> > >  > > I also support Jeff's idea to re-use existing sub-code(s).
> > >  >
> > >  > Thanks for your support. Based on the feedback received so far the
> > next
> > >  > version of this draft will recycle Cease subcode 2.
> > >  >
> > >  > > 1 possible comment: the length of the "Shutdown Communication" field
> > >  > > seems implied from the length of the data field, rather than being
> > >  > > explicitly indicated.
> > >  >
> > >  > The text is explicit about the length:
> > >  >
> > >  >     "followed by a freeform UTF-8 encoded string with a REQUIRED
> > maximum
> > >  >     length of 128 octets. "
> > >  >
> > >  > and further:
> > >  >
> > >  >     "This document tries to minimize the effects of visual spoofing by
> > >  >     allowing UNICODE only where local script is expected and needed,
> > and
> > >  >     by limiting the length of the Shutdown Communication."
> > >  >
> > >  > > If so, it seems that we are closing the possibility to advertise
> > >  > > additional data/usage, in some future. What about adding a TLV
> > format?
> > >  >
> > >  > I object to using a TLV. Don't forget this is already at a TLV level:
> > >  > Cease NOTIFICATION. If one would want to define a TLV inside this
> > TLV, a
> > >  > new Cease subcode can be requested from IANA.
> > >
> > > What if someone needs to advertise additional info to an existing
> > > cease subcode? cf Jeff's email regarding the pain of changing
> > > subcodes.  So let's forget about the TLV. What about just adding the
> > > length of the string? This would still allow adding fields after the
> > > string, while having a negligible/null cost?
> > >
> > > Kind regards,
> > > -- Bruno
> >
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org
> > https://www.ietf.org/mailman/listinfo/idr
> >

> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr


/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.