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

Marco Marzetti <marco@lamehost.it> Sat, 19 November 2016 14:27 UTC

Return-Path: <marco@lamehost.it>
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 97BE7129952 for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 06:27:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lamehost-it.20150623.gappssmtp.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 xB_XOkSJ6SBB for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 06:27:55 -0800 (PST)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 EECCD129968 for <idr@ietf.org>; Sat, 19 Nov 2016 06:27:53 -0800 (PST)
Received: by mail-wm0-x234.google.com with SMTP id f82so78121854wmf.1 for <idr@ietf.org>; Sat, 19 Nov 2016 06:27:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lamehost-it.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MTCdeCFY+c19KJL4COrbbFyvq1eUPFqMcSPxFgQV03k=; b=xGcYl6Zs9QdxJ+W6JnaPukUthf0o0aAIY1AZFpNGzN9CaFA/hPA4ELNDr0SFFHsdO6 ynQ+Xk7jtrPh8txeCZ2aCRVG739Tyo456E/PYA/QL168jeLrQok0uCIhRlx9Ku3HN30I RwUknFZG/bIyTofYN2F0T3s1rSbFXhnoiWw54H9/XbNFvVzXn1SmuMHs71vMPiIMTrAM /cwZnt90KNgMxIHL3aZZj6XBNulOldx3fVSqze6UtC1V5nGnC+bJ4BV2zShJa7PCMMv0 70o7ktyQ260upZ7zreyZOCgyWSx2CSzMinE4lTzORnQFbo4Bf++A9+lmI92MO/h5w4At cqcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MTCdeCFY+c19KJL4COrbbFyvq1eUPFqMcSPxFgQV03k=; b=j5PfDklgpOdbbo5IOtEGjy80a/tx6RDxL3ueomWmyl4sZtLPJvzHybh3VzdMrRvpXy GQLHG4eLGUDqovvbe+QugP9npmY4fmpiKGI0N2rbMloYaJa4HoYIyHaf0op/52/8waDa xrB3O5gCuooEa5iSj3e92xlOdD8QlTqwa07LxfMgbUQ3ONox9Y9e/hjVZhfsQbF5MJtU NIHgjsmE/wiP80wLd7wHVVUiUu7MA6z9X4GkpEEfqS/wnseo4uQvhBMkcnZfRUap0po0 5IFmoId3UZdc9SPdXcv5GoeazNkyoBgBPYq56Ca3TUz0CMdX6/KlaoP4VM1iuOAX0cdg aEjA==
X-Gm-Message-State: AKaTC01bOe9nVxLEo7YvMSwnLRjJAh1t3ytEya1nHq2OQkoCzHfJNhisOT12xKLH0ApzNSX6n7ecPslaQCo8tw==
X-Received: by 10.46.76.1 with SMTP id z1mr2666439lja.41.1479565672349; Sat, 19 Nov 2016 06:27:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.202.14 with HTTP; Sat, 19 Nov 2016 06:27:51 -0800 (PST)
X-Originating-IP: [79.24.77.5]
In-Reply-To: <CA+b+ER=EFuQ8L_A4VtdzWna4ZNM-rhPo8gXURaN2s3WAykrL+w@mail.gmail.com>
References: <20161116061556.GG1073@dhcp-9341.meeting.ietf.org> <20161116105535.GW79185@Space.Net> <1479295774707.77855@dacor.de> <20161116113849.udbrfvdhaj3be7nx@bongo.bofh.it> <20161116130110.GK1073@dhcp-9341.meeting.ietf.org> <20161116134707.GP24817@gir.theapt.org> <FBD63625-3E82-44AC-9318-D6B6DFE86082@domino.org> <CAO367rVSyeBcJnt8yogV27POyS3VwWGCqgmD3ex79dUPN-Misg@mail.gmail.com> <CA+b+ER=EFuQ8L_A4VtdzWna4ZNM-rhPo8gXURaN2s3WAykrL+w@mail.gmail.com>
From: Marco Marzetti <marco@lamehost.it>
Date: Sat, 19 Nov 2016 15:27:51 +0100
Message-ID: <CAO367rX9gBfNHgqmy0NqiNMGkjzLRATj6PdiDYk_M1fAQx5s8g@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/tpUBaTxVmxOJnOMjn-3TDatEl7M>
Cc: "idr@ietf.org" <idr@ietf.org>, "grow@ietf.org" <grow@ietf.org>, Peter Hessler <phessler@theapt.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 14:27:57 -0000

Robert,

Just to be clear: i am supporting free text as i don't think that we
should enforce any kind of formatting for any reason.

Regards

On Sat, Nov 19, 2016 at 3:07 PM, Robert Raszuk <robert@raszuk.net> wrote:
> Marco,
>
> Yes indeed. As said it would be completely optional.
>
> Job,
>
> Free form is so old fashioned that it really does not even sound reasonable.
> Why do you want everything to be "figured out" outside of IDR ? Why for
> everything we recently propose there must be 5 documents to read all in
> different forums/groups to use it ? Do you prefer to hard encode TLVs to
> make the proposal parsable ?
>
> Please remember you are extending BGP as the protocol used by many who do
> not even know what IDR or GROW is. Not everyone who uses BGP has time for
> IETF or NANOG or RIPE.
>
> Cheers,
> R.
>
>
>
> On Sat, Nov 19, 2016 at 2:56 PM, Marco Marzetti <marco@lamehost.it> wrote:
>>
>> Robert,
>>
>> So you're suggesting to include recommendation for the formatting?
>> That could help (as long as it's not mandatory).
>>
>> Regards
>>
>>
>> On Sat, Nov 19, 2016 at 2:51 PM, Neil J. McRae <neil@domino.org> wrote:
>> > I personally think this is a really bad idea but understand why some
>> > might want this - and we've had similar drafts in the past- in my view  we
>> > shouldn't be moving more towards more human related randomness in system
>> > level messages - have a set of status numbers or something that can be
>> > predictable but randomly "we took the peer down whilst we went to
>> > McDonald's" as opposed to CEASE reason 666 - we depeered or reason 999 we
>> > have a problem call us would be a much better approach. We can't keep
>> > running networks like we did 20 years ago!
>> >
>> > Thanks
>> > Neil
>> > Sent from my iPhone
>> >
>> >> On 16 Nov 2016, at 13:47, Peter Hessler <phessler@theapt.org> wrote:
>> >>
>> >> On 2016 Nov 16 (Wed) at 22:01:10 +0900 (+0900), Job Snijders wrote:
>> >> :I hope to capture in the draft that an implementation can choose which
>> >> :characters of the Shutdown Communication they represent in the syslog
>> >> or
>> >> :'show bgp neighbor xxx' output. For instance, I'd recommend to squash
>> >> :all newline/newpage/newfeed/newparagraph style chars and make sure
>> >> that
>> >> :the Communication is represented on a single line. I don't have the
>> >> :proper words for the draft to express that (yet).
>> >>
>> >> I've been thinking about wording for protecting the receiving system
>> >> from possible bad input.  I'm not worried about (valid) UTF-8 display
>> >> chars, nor about whitespace things.  I am worried about Little Bobby
>> >> Tables, though.
>> >>
>> >> We also have to consider that this will be displayed possibly in a Unix
>> >> Shell, Windows Shell, Syslog, SQL server, Web Server; and different
>> >> chars have different meanings there.
>> >>
>> >> I'm not quite happy with the wording, but I would like something along
>> >> these lines added.  Possibly in the Security section, or at the end of
>> >> Section #2.
>> >>
>> >> ====
>> >> Receiving systems SHOULD filter the message for the intended output
>> >> environment and MAY change octets or sequences of octets for their
>> >> local environment.
>> >> As the message may be displayed on a command line, stored
>> >> in a syslog server, in an SQL database, or even a Web Server different
>> >> outputs MAY happen.
>> >> Sending systems MUST NOT depend on changes to their
>> >> sequences not happening.
>> >> ====
>> >>
>> >> (Consider, Little Bobby Tables https://www.xkcd.com/327/, printf
>> >> escapes, Javascript/HTML, etc)
>> >>
>> >>
>> >> --
>> >> Taxes, n.:
>> >>    Of life's two certainties, the only one for which you can get
>> >>    an extension.
>> >>
>> >> _______________________________________________
>> >> Idr mailing list
>> >> Idr@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/idr
>> >
>> > _______________________________________________
>> > GROW mailing list
>> > GROW@ietf.org
>> > https://www.ietf.org/mailman/listinfo/grow
>>
>>
>>
>> --
>> Marco
>>
>> _______________________________________________
>> GROW mailing list
>> GROW@ietf.org
>> https://www.ietf.org/mailman/listinfo/grow
>
>



-- 
Marco