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

Robert Raszuk <robert@raszuk.net> Sat, 19 November 2016 11:24 UTC

Return-Path: <rraszuk@gmail.com>
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 E3965129529 for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 03:24:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 78UiNI9Y4kVe for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 03:24:53 -0800 (PST)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (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 1192B127058 for <idr@ietf.org>; Sat, 19 Nov 2016 03:24:53 -0800 (PST)
Received: by mail-qk0-x22f.google.com with SMTP id x190so296794103qkb.0 for <idr@ietf.org>; Sat, 19 Nov 2016 03:24:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=6Xvtrt/oS1+NynLSp7qXhwTbMENTDEVQfA3vzOzCFAM=; b=OGcdfOP9Op9M55ObgMR4bztmjFidFFr8BYfheI+ho8kBR0mTM20yAU6jabP5/ci4M3 bwrw8eGKmzR6BOJRfQZvruunyGEJCinVTkw/iK/csG4gcV0BQwAT9psksCfRegVvvM8Y zkrY6TjkE3SHnL7tYW8HSCejsakab7Gj5NoZXM5NlXUb1I8Oja77IdVup53kf2bWjsXw rLq66i22XMqasDPWKaQ4J3sPsmHtZsH1gn2aNTNt1ZU1UCzs2G5EXB0Fbpm0kuao4n65 BiTRVQCRZd2pj/cttzjnh2CYyZQepis0W8Zq3pFf4Yu7ZjWgefwURHpYsCzCU6XrMmLQ XaCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=6Xvtrt/oS1+NynLSp7qXhwTbMENTDEVQfA3vzOzCFAM=; b=HLhP3T0rZaPMvZm2546k2ix/H06jbX3dgkUdsc1XjgrLTWqavNzXql7t1H48vbIo6i fEkRgiZ4WwjIunCksREykmhr3uROIezWwSkcWBJ8Bx7q5PlIhIJ3APzyJ2ZqPbKXSj3s MkVuNU4YcJwQnPPec68JBsxGgkoTJ7ttLZlppjKLFBndWK22GnORodNkxqIsZiojsmgF EbpLZzlXRZFUTjl5URZXEyXebxYjCd1CqDh1+hNIMslpTPaD+/OAocJUOB/kQcnhLjvv z8mYBKwJHF6F4THWY+8HnKgDSmFLPdThEwVJ+mZbCv8hkZYohj2s7azxCg8y9bnJPH4O xLOw==
X-Gm-Message-State: AKaTC00qxq4swWhE+P+hoMy3cNKueb7YtV+Y3F2/LjcW4CNV8aDldvAu5opO7uJfbu3rjHyOfJ/LvpB/hvVbEg==
X-Received: by 10.55.9.77 with SMTP id 74mr4739916qkj.225.1479554692136; Sat, 19 Nov 2016 03:24:52 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.140.16.50 with HTTP; Sat, 19 Nov 2016 03:24:51 -0800 (PST)
In-Reply-To: <20161119103226.GN1072@dhcp-9341.meeting.ietf.org>
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>
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 19 Nov 2016 12:24:51 +0100
X-Google-Sender-Auth: Ph0RWqBuGuiqOwVGLuXMJYYKpVQ
Message-ID: <CA+b+ERkAowcpeCL=_XEX1piNP__TVDdX3Lhvp8qYJSPvivoG1w@mail.gmail.com>
To: Job Snijders <job@instituut.net>
Content-Type: multipart/alternative; boundary="001a114c877ed9c41a0541a5ab39"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/pw_XBtwSmD45eS0uPt42gIyiNPw>
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 11:24:55 -0000

​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 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
>